https://bugs.winehq.org/show_bug.cgi?id=51553
Bug ID: 51553 Summary: Purple bitmap should be transparent in scrollbar theming Product: Wine Version: 6.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: teamworks1732@gmail.com Distribution: ---
Created attachment 70396 --> https://bugs.winehq.org/attachment.cgi?id=70396 Scrollbar in WINE using a theme
A weird purple colour appeared at the center of a seekbar as I applied a custom theme. From what I know, they're used for transparency as bitmaps doesn't support transparency like PNGs. It's transparent in Windows XP as well.
https://bugs.winehq.org/show_bug.cgi?id=51553
リェンーゆく teamworks1732@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdi32 |uxtheme Version|6.13 |6.14
https://bugs.winehq.org/show_bug.cgi?id=51553
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51553
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO CC| |zzhang@codeweavers.com Ever confirmed|0 |1
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- Please provide the theme file "Win8RTM". The purple color should be specified in the theme part definition with the TransparentColor property. I suspect it's missing from the theme file.
https://bugs.winehq.org/show_bug.cgi?id=51553
--- Comment #2 from リェンーゆく teamworks1732@gmail.com --- Created attachment 70399 --> https://bugs.winehq.org/attachment.cgi?id=70399 "Win8RTM" theme file
https://bugs.winehq.org/show_bug.cgi?id=51553
--- Comment #3 from リェンーゆく teamworks1732@gmail.com --- Created attachment 70400 --> https://bugs.winehq.org/attachment.cgi?id=70400 Scrollbar in Windows XP using the same theme
https://bugs.winehq.org/show_bug.cgi?id=51553
--- Comment #4 from リェンーゆく teamworks1732@gmail.com --- (In reply to Zhiyi Zhang from comment #1)
Please provide the theme file "Win8RTM". The purple color should be specified in the theme part definition with the TransparentColor property. I suspect it's missing from the theme file.
I've attached it along with the screenshot in Windows XP (Forgot to attach that :P)
https://bugs.winehq.org/show_bug.cgi?id=51553
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW
--- Comment #5 from Zhiyi Zhang zzhang@codeweavers.com --- Confirmed. The scrollbar gripper parts of the Win8RTM theme use a 32bit bitmap, which makes uxtheme think it has an alpha channel but doesn't, specifically, uxtheme/msstyles.c prepare_alpha() should return FALSE has_alpha value. Further investigation is needed because XP seems to handle such bitmaps well.
https://bugs.winehq.org/show_bug.cgi?id=51553
--- Comment #6 from Zhiyi Zhang zzhang@codeweavers.com --- Created attachment 70477 --> https://bugs.winehq.org/attachment.cgi?id=70477 patch
https://bugs.winehq.org/show_bug.cgi?id=51553
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |96b7a8a317a859dd6f9bf9a0e03 | |d303e7d3503b3 Resolution|--- |FIXED
--- Comment #7 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by 96b7a8a317a859dd6f9bf9a0e03d303e7d3503b3
https://bugs.winehq.org/show_bug.cgi?id=51553
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.16.
https://bugs.winehq.org/show_bug.cgi?id=51553
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51553
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #9 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.3.