[Bug 30103] New: Static controls with bitmap do not display correct background.
http://bugs.winehq.org/show_bug.cgi?id=30103 Bug #: 30103 Summary: Static controls with bitmap do not display correct background. Product: Wine Version: 1.4-rc6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: carlo.bramix(a)libero.it Classification: Unclassified Created attachment 39234 --> http://bugs.winehq.org/attachment.cgi?id=39234 Screenshot with difference between Windows and WINE An image static control does not seem painting the background around the image with the right color. The default color used for filling the area around the image is not COLOR_BTNFACE (I guess you selected that one) but instead it seems to be filled with a solid brush created with the color in the origin of the image, at coordinates (0,0). I attached a screenshot that it shows the difference between the expected result and the current result obtained in WINE. This is a trick tipically used to reduce the size of the bitmap since the image control "expands" the color we want without any additional work. Sometimes you can see this artifact in some "about box" of some software, however I also attached a demo programme that you can use to reproduce the defect. Sincerely, Carlo Bramini -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30103 --- Comment #1 from Carlo Bramini <carlo.bramix(a)libero.it> 2012-03-07 14:45:48 CST --- Created attachment 39235 --> http://bugs.winehq.org/attachment.cgi?id=39235 Test programme -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30103 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30103 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #2 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2012-03-07 20:55:36 CST --- Confirming. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30103 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30103 --- Comment #3 from Carlo Bramini <carlo.bramix(a)libero.it> --- Created attachment 49079 --> http://bugs.winehq.org/attachment.cgi?id=49079 Screenshot with theme activated It is interesting to notice that this bug applies *ONLY* to static control implemented in USER32. The same application, when it uses themed controls from COMCTL32, does not expand the background color as it does with the classic theme. For an example, a screenshot is attached with the test application running on Windows XP with its default 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=30103 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #4 from super_man(a)post.com --- still no background in right color 1.7.49 -- 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=30103 --- Comment #5 from super_man(a)post.com --- (In reply to super_man from comment #4)
still no background in right color 1.7.49
The same wine 1.9.7 and staging 1.9.7 -- 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=30103 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #6 from winetest(a)luukku.com --- (In reply to super_man from comment #5)
(In reply to super_man from comment #4)
still no background in right color 1.7.49
The same wine 1.9.7 and staging 1.9.7
The same wine 1.9.20-git and staging 1.9.20 -- 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=30103 --- Comment #7 from winetest(a)luukku.com --- (In reply to winetest from comment #6)
(In reply to super_man from comment #5)
(In reply to super_man from comment #4)
still no background in right color 1.7.49
The same wine 1.9.7 and staging 1.9.7
The same wine 1.9.20-git and staging 1.9.20
Still lacking backgroud color wine 2.7-git and staging 2.7. -- 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=30103 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |927956db67544d84da6dc27922b | |b64ebd31f64aa --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> --- Marking fixed, https://source.winehq.org/git/wine.git/?a=commit;h=927956db67544d84da6dc2792.... -- 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=30103 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.6. -- 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=30103 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x -- 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=30103 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani(a)winehq.org Target Milestone|3.0.x |--- --- Comment #10 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing 3.0.x target milestone. According to Nikolay this one has to wait for 4.0. -- 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