[Bug 37584] Holding down mouse on themed button, unthemes it.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 28 09:07:09 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=37584

--- Comment #16 from ryampolsky at 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?

-- 
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.



More information about the wine-bugs mailing list