[Bug 45380] New: Text highlighting seems to clip differently than in windows
https://bugs.winehq.org/show_bug.cgi?id=45380 Bug ID: 45380 Summary: Text highlighting seems to clip differently than in windows Product: Wine Version: 3.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs(a)winehq.org Reporter: ryampolsky(a)yahoo.com Distribution: --- Created attachment 61693 --> https://bugs.winehq.org/attachment.cgi?id=61693 'setTimeshift' highlighted. 'set' is white-on-white In the EditPlus text editor, when you search for text, if the search string is embedded in a larger string, the part of the string that precedes the search string is drawn in 'white on white', and 'disappears'. This can be remedied by changing the foreground color for selected text in EditPlus to a dark color instead of white - but it doesn't happen in Windows. My guess is that EditPlus is drawing the text 'clipped' to the selected area and using Windows 'ETO_OPAQUE' option to get the selected background color drawn in a rectangle over the selected text, but it's also probably asking for the text to be clipped to that rectangle, so the part prior to the selection doesn't get drawn. At least that's what it looks like in Windows. But under WINE, the selected part is drawn fine (white on selection background), but the prior part is drawn using the white selection color on the normal white background. See attachments. In both cases, EditPlus is highlighting the searched string 'Timeshift' in the word 'setTimeshift'. But in the first (white-on-white) example, I'm using the default selection colors (white foreground). In the second (black-on_white), I've changed the selection colors so that the foreground color is black. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45380 --- Comment #1 from ryampolsky(a)yahoo.com --- Created attachment 61694 --> https://bugs.winehq.org/attachment.cgi?id=61694 'setTimeshift' highlighted. 'set' is black-on-white -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45380 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Is this the program? https://www.editplus.com/download.html ? Tried with wine-3.11 and can't reproduce the error. Do I need different settings or some special file? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45380 --- Comment #3 from ryampolsky(a)yahoo.com --- Maybe I should have mentioned that I have the Ubuntu 'Light' theme enabled. But I just tried it with no theme enabled, and it still happens there. But only if the color setting for selected text has a white foreground - which wasn't the default when I disabled the theme. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45380 --- Comment #4 from ryampolsky(a)yahoo.com --- (In reply to ryampolsky from comment #3)
Maybe I should have mentioned that I have the Ubuntu 'Light' theme enabled. But I just tried it with no theme enabled, and it still happens there. But only if the color setting for selected text has a white foreground - which wasn't the default when I disabled the theme.
Oh, and I'm running EditPlus version 3.80 (32 bit). It's the only version I have a paid license for. But I did just download it recently using this URL: https://www.editplus.com/latest.html -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org