Bug 338538

Summary: checkboxes are no more rendered since gtk+ 3.13.7
Product: [Plasma] Oxygen Reporter: tv <thierry.vignaud>
Component: gtk3-engineAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: major CC: b7.10110111, hugo.pereira.da.costa, web
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tv 2014-08-25 07:02:47 UTC
We've issues since upgrading from gtk+ 3.13.6 to 3.13.7: checkboxes are no longer rendered. Downgrading gtk to 3.13.6 fixes it.
See https://bugs.mageia.org/show_bug.cgi?id=13954


This looks related to this:

https://git.gnome.org/browse/gtk+/commit/?id=2c65e259448a9ec261f0dcf420662300786204c2

"A new state, GTK_STATE_FLAG_CHECKED, has been added for checked states
of radio and check buttons and menuitems. Applications that are using
GTK+ styles without widgets will need adjustments."

See also 3.13.7 announce:
* To align better with css, button and menuitem subclasses now use a
  :checked state to indicate their checkedness, instead of :active or
  :selected.

Can you add support for this in oxygen-gtk3?
That would unbreak our installer.
Thanks
Comment 1 Hugo Pereira Da Costa 2014-08-25 08:20:20 UTC
Git commit 5f97a2d3f8880eb68ce2e0fd44285b6adc38293e by Hugo Pereira Da Costa.
Committed on 25/08/2014 at 05:34.
Pushed by hpereiradacosta into branch 'gtk3'.

properly handle GTK_STATE_FLAG_CHECKED when rendering check buttons or
radio buttons

M  +2    -2    src/oxygenstyleoptions.h
M  +2    -2    src/oxygenthemingengine.cpp

http://commits.kde.org/oxygen-gtk/5f97a2d3f8880eb68ce2e0fd44285b6adc38293e
Comment 2 Hugo Pereira Da Costa 2014-08-25 08:20:51 UTC
Git commit 63fbf144e0ed98a9c33b7605f0cee979e6840319 by Hugo Pereira Da Costa.
Committed on 25/08/2014 at 05:34.
Pushed by hpereiradacosta into branch 'gtk3-1.4'.

properly handle GTK_STATE_FLAG_CHECKED when rendering check buttons or
radio buttons

M  +2    -2    src/oxygenstyleoptions.h
M  +2    -2    src/oxygenthemingengine.cpp

http://commits.kde.org/oxygen-gtk/63fbf144e0ed98a9c33b7605f0cee979e6840319
Comment 3 Hugo Pereira Da Costa 2014-08-25 08:21:46 UTC
Fixed