https://bugs.winehq.org/show_bug.cgi?id=37584
Bug ID: 37584 Summary: Holding down mouse on themed button, unthemes it. Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: uxtheme Assignee: wine-bugs@winehq.org Reporter: stu.axon@gmail.com Distribution: ---
Created attachment 50009 --> https://bugs.winehq.org/attachment.cgi?id=50009 Video showing the bug
Using Luna, or another theme (also tested using the free Ambience theme).
Ambience theme that also displays the bug http://www.omgubuntu.co.uk/2010/08/ubuntu-ambiance-theme-for-windows-xp-wine
When holding the mouse button down, the button becomes unthemed, navigating with the keyboard will retheme it.
Video showing the bug (also attached) https://www.youtube.com/watch?v=XdiO1a-B8ic&feature=youtu.be
https://bugs.winehq.org/show_bug.cgi?id=37584
rayza8891@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rayza8891@yahoo.de
--- Comment #1 from rayza8891@yahoo.de --- Behaves the same for my installation.
https://bugs.winehq.org/show_bug.cgi?id=37584
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |STAGED CC| |michael@fds-team.de, | |sebastian@fds-team.de Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/comctl32-Butto | |n_Theming
https://bugs.winehq.org/show_bug.cgi?id=37584
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=37584
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|uxtheme |comctl32
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #2 from Stuart Axon stu.axon@gmail.com --- Fantastic :) this has been around for so long before I reported it, I didn't expect it to get ever get fixed.
I'll see if I can capture all the weird things in themes I can and report them.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- It's not fixed in vanilla wine yet, but I'm working on it. Hopefully we'll be able to resolve this before Wine 3.2 next week.
And yes, please report other issues as well.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #4 from Stuart Axon stu.axon@gmail.com --- I just noticed the same thing for Tick Boxes, do you want a separate report?
(When mouse is held down while toggling, and hovering the mouse after toggling).
Of course, I don't mind waiting for a year for the next wine release, just great to see theme bugs get squashed.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Checkboxes probably have exactly the same issue, no need for a separate report.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Please retest with current wine-git, specifically after f8eb74e10c450335eac706818df95d42514a7322 and 287c5a25b6ea35830bcb4b21b2a2adb8e2853232.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #7 from Stuart Axon stu.axon@gmail.com --- Created attachment 60465 --> https://bugs.winehq.org/attachment.cgi?id=60465 backtrace from crash in desktop integration tab
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #8 from Stuart Axon stu.axon@gmail.com --- OK, compiled wine for the first time in about 8 years :)
Great, I can't reproduce the original bug :)
However, now I'm getting some crashes if I:
Open Winecfg, and set a theme (I tried ubuntu_light, and the Vista Luna Basic theme from here http://www.gratos.be/wincustomize/msstyle.htm )
Quit winecfg and reload.
Click the "Desktop Integration" tab.
Of course... it could be a problem with my build ?
I've attached a backtrace of the crash.
https://bugs.winehq.org/show_bug.cgi?id=37584
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |f8eb74e10c450335eac706818df | |95d42514a7322 Resolution|--- |FIXED
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Ok, thanks, I'm marking this one fixed then, please open another report for the new crash you see. I'll see if I can reproduce.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #10 from Stuart Axon stu.axon@gmail.com --- Will do, there is also another small bug, which I will put in a new ticket -
In winecfg after you apply a theme, not everything gets drawn in the new theme.
Parts get redrawn when you interact with them (e.g. hold down a button, etc)
Here is a video
https://www.youtube.com/watch?v=HLUNoSly0fE&feature=youtu.be
A similar crash to the one I mentioned in the above comment happens after I try using a dropdown in the dialog.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #11 from Stuart Axon stu.axon@gmail.com --- Crash bug - https://bugs.winehq.org/show_bug.cgi?id=44510
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #12 from Stuart Axon stu.axon@gmail.com --- Theme bug
https://bugs.winehq.org/show_bug.cgi?id=44511
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #13 from Stuart Axon stu.axon@gmail.com --- Thanks for fixing this, I honestly thought it would never get fixed :)
I'm trying to reproduce some of the old weird bugs I was having around sizing + theming and can't at the moment, which is pretty good ;)
https://bugs.winehq.org/show_bug.cgi?id=37584
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.2.
https://bugs.winehq.org/show_bug.cgi?id=37584
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ryampolsky@yahoo.com
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 40390 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #16 from ryampolsky@yahoo.com --- This fix seems to have broken something else. Themed checkboxes and radiobuttons are indeed drawing correctly. But in my app, in order to change the color of checkbox and radiobutton text, I create them as two separate widgets. The button, with null text (but sized as if it contained the text so that clicking on the text still activates the button), followed by a static text item for the label, which I draw in black or white depending on the background color.
This works fine on Windows, and I think it used to work under WINE (but don't quote me - I may have never tested this feature under WINE), but in version 3.2, the radiobutton or checkbox seems to be overwriting my static text control - so that I don't see the text at all.
When I click the radiobutton, I can see my static text label flash on - but it is immediately overwritten by a blank text rectangle drawn by WINE. Yes, my code is a bit of a kludge, but it works on Windows (and I know of no other way to control the color of check/radiobutton text). It'd be nice if it worked on WINE too, no?
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #17 from Nikolay Sivov bunglehead@gmail.com --- Please open another bug report for this issue you see.
https://bugs.winehq.org/show_bug.cgi?id=37584
--- Comment #18 from ryampolsky@yahoo.com --- (In reply to Nikolay Sivov from comment #17)
Please open another bug report for this issue you see.
Done. Created report 44633 for this.