http://bugs.winehq.org/show_bug.cgi?id=7120
Summary: Text selection highlight doesn't take text justification into account Product: Wine Version: unspecified Platform: All OS/Version: All Status: UNCONFIRMED Severity: trivial Priority: P1 Component: wine-richedit AssignedTo: wine-bugs@winehq.org ReportedBy: inckie@gmail.com
This probably affects other applications as well, but so far I have seen this only in Lotus Notes R5.
In order to reproduce this bug, fire up Lotus Notes R5 and create a new e-mail message or open an existing one, then select and justify (Text|Align Paragraph|Full or right-click|Text Properties|Alignment tab|Justify) a paragraph. If you toggle between left-alignment and fully justified alignment, you'll notice that the selection highlight remains the same (oddly, if you copy/paste the text, it'll be all there).
There's an MSDN article [1] that could provide some insight. Also, the results of a 'gid -r EM_EXSETSEL' seem to point 'dlls/riched20/editor.c' as the culprit.
Btw, I verified this before and after I applied my patch [2] to bug 50.
[1] http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/richedit/r... [2] http://bugs.winehq.org/attachment.cgi?id=4543&action=view