https://bugs.winehq.org/show_bug.cgi?id=44101
Bug ID: 44101 Summary: dotnet programs: long lines in edit fields are messed up visually Product: Wine Version: 2.22 Hardware: x86 OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Created attachment 59822 --> https://bugs.winehq.org/attachment.cgi?id=59822 Test program to reproduce the issue
I attached a small testprogram made on my win7 VM with VS2010 in C#. The upper box is a richedit box, the bottom a multiline textbox.
All tests done in a fresh 32bit WINEPREFIX with wine-2.22. When I talk about dotnet, I mean native .NET installed with "winetricks -q dotnet40". Native riched means "winetricks -q riched20"
This bug has different cases:
wine-mono: The cursor can be set right of the line where no text is, then pressing delete deletes some char that is in the line, and the cursor jumps there. The same for richedit and edit field.
dotnet: In the textfield, the first line looks too long. with built-in richedit: looks ok with native richedit: The line is rendered longer than it is, when placing the cursor at the right of the line it's usually inside the last word somewhere, but pressing delete deletes the rightmost characters.
Can't make screenshots, because that forces the window to repaint, solving the issue.