https://bugs.winehq.org/show_bug.cgi?id=55868
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #9 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 76819 --> https://bugs.winehq.org/attachment.cgi?id=76819 0001-user32-comctl32-gdi32-Improve-rendering-of-tab-chara.patch
I tried replacing tab characters in Notepad++ with the replace dialog and found the tab character not being rendered unlinke in windows.
I rembembered there was a similar issue in multi line edit controls some time ago in bug #33834.
The easiest way to reproduce this issue is by these steps, I think: start `wine notepad` enter <tab>test<tab>test select all by ctrl+a and copy it to clipboard by ctrl+c open search dialog by ctrl+f paste text containing tabs by ctrl+v
Above steps tested with notepad in: - Windows XP: shows a "Replacement glyph" (a rectangle) instead of tabs - Windows 10: shows an "empty room", even with a wine notepad
It looks like there are similar edit controls in comctl32 (notepad, notepad++) and user32 (Bulk Renamer).
Attached patch modifies user32/comctl32/gdi32, so I am not sure which component would be right.
This patch shows at least one flaw, because after pasting text with a tab the cursor is rendered at the wrong position. (In the middle of the last word, not at the end.)
@vt: If you are familiar with building wine, you probably could test this patch and confirm if it changes rendering for your application.