http://bugs.winehq.org/show_bug.cgi?id=30919
Bug #: 30919 Summary: [.net 2.0] ListBox items should not display any newline characters Product: Wine Version: 1.5.5 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: danieleds0@gmail.com Classification: Unclassified
Created attachment 40550 --> http://bugs.winehq.org/attachment.cgi?id=40550 Expected behavior vs actual behavior
In a .net application, if you add an item to a ListBox, newline characters are shown (in windows, they're hidden). Look at the attached image to see the differences.
This is the code used to reproduce the problem (VB.NET):
ListBox1.Items.Add("aaa" & "|" & vbNewLine & "bbb" & "|" & vbNewLine & "ccc")
I suspect this problem is not limited to .net, but maybe is at some lower level.
http://bugs.winehq.org/show_bug.cgi?id=30919
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-06-15 11:31:10 CDT --- Could you attach a test application for that? Also you're running with wine-mono or with .NET runtime?
http://bugs.winehq.org/show_bug.cgi?id=30919
--- Comment #2 from Daniele danieleds0@gmail.com 2012-06-15 11:42:59 CDT --- Created attachment 40552 --> http://bugs.winehq.org/attachment.cgi?id=40552 Test application
http://bugs.winehq.org/show_bug.cgi?id=30919
--- Comment #3 from Daniele danieleds0@gmail.com 2012-06-15 11:43:35 CDT --- I've uploaded a simple test application. I'm running the .NET runtime.
http://bugs.winehq.org/show_bug.cgi?id=30919
Daniele danieleds0@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[.net 2.0] ListBox items |[.net] ListBox items should |should not display any |not display any newline |newline characters |characters
http://bugs.winehq.org/show_bug.cgi?id=30919
--- Comment #4 from Daniele danieleds0@gmail.com 2012-06-15 11:55:46 CDT --- Actually, the same thing happens with TextBoxes. The only difference is that where ListBoxes show only one character for each "\r\n" combination, TextBoxes show two characters (one for "\r" and one for "\n").
http://bugs.winehq.org/show_bug.cgi?id=30919
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase
https://bugs.winehq.org/show_bug.cgi?id=30919
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=30919
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #6 from super_man@post.com --- It's not correct 1.8.rc4
https://bugs.winehq.org/show_bug.cgi?id=30919
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Abandoned? |
https://bugs.winehq.org/show_bug.cgi?id=30919
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #7 from winetest@luukku.com --- Now it displays
aaa| aaa| aaa|
So not working as expected. wine 2.8.
https://bugs.winehq.org/show_bug.cgi?id=30919
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Still valid as of wine-2.16
https://bugs.winehq.org/show_bug.cgi?id=30919
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Still doesn't work as of wine-9.19. Native .NET doesn't help, btw.