[Bug 42566] New: Edit control uses WM_PAINT instead of WM_ERASEBKGND
https://bugs.winehq.org/show_bug.cgi?id=42566 Bug ID: 42566 Summary: Edit control uses WM_PAINT instead of WM_ERASEBKGND Product: Wine Version: 2.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs(a)winehq.org Reporter: james.tabor(a)reactos.org Distribution: --- Created attachment 57478 --> https://bugs.winehq.org/attachment.cgi?id=57478 Test Program In Windows, the edit control uses the WM_ERASEBKGND message to erase the background but the Wine edit control uses the WM_PAINT message. Test app included.. -- 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=42566 James Tabor <james.tabor(a)reactos.org> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://jira.reactos.org/br | |owse/CORE-12814 -- 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=42566 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Could you attach test case sources? Preferably for C/C++ application, instead of VB6 one. -- 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=42566 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Created attachment 65943 --> https://bugs.winehq.org/attachment.cgi?id=65943 patch Confirming. Attached patch makes it look better. Remaining issue that text area should be erased regardless, even with empty text. That's probably why erasing code was unusually merged with WM_PAINT originally. This needs more work. -- 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=42566 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42566 --- Comment #3 from Janne <janne.kekkonen(a)gmail.com> --- Created attachment 79077 --> http://bugs.winehq.org/attachment.cgi?id=79077 screenshot of test application Tested with Wine 10.9 on Ubuntu 22.04 running on VMware. Created fresh prefix and installed vb6run with winetricks. Started test application and typed some text. Switching between colors didn't do anything. attached screenshot of application. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42566 --- Comment #4 from Janne <janne.kekkonen(a)gmail.com> --- Created attachment 79078 --> http://bugs.winehq.org/attachment.cgi?id=79078 Test application on Windows11 Tested test application on Windows11. In Windows 11 background color changes in areas where there is no text. attached screenshot of test application on Windows 11. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42566 Maotong Zhang <zmtong1988(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zmtong1988(a)gmail.com --- Comment #5 from Maotong Zhang <zmtong1988(a)gmail.com> --- Does the test program have a clear execution flow? WM_ERASEBKGND appears to be called only once and is not triggered when switching colors. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42566 KRosUser <kyle.kcsoftwares(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle.kcsoftwares(a)gmail.com --- Comment #6 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- Shouldn't the "component" be here changed to comctl32 instead of user32 ? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42566 --- Comment #7 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- Is it related to https://bugs.winehq.org/show_bug.cgi?id=8802 ? -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla