After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 482542 - with edge_thickness = 1, checkboxes always appear unchecked
with edge_thickness = 1, checkboxes always appear unchecked
Status: RESOLVED FIXED
Product: gtk-engines
Classification: Deprecated
Component: highcontrast
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-engines maintainers
gtk-engines maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-02 11:43 UTC by Josselin Mouette
Modified: 2007-10-13 20:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Josselin Mouette 2007-10-02 11:43:40 UTC
[ Forwarded from http://bugs.debian.org/444878 from Trent W. Buck ]

After replacing my .gtkrc-2.0 with the following, checkboxes always
appear as unchecked white squares with rounded grey borders.

    style "twb" { engine "hcengine" { edge_thickness = 1 } }
    widget_class "*" style "twb"

If I instead use the following .gtkrc-2.0, checkboxes and rendered
correctly.

    style "twb" { engine "hcengine" { edge_thickness = 2 } }
    widget_class "*" style "twb"

I accidentally noted that this problem does NOT occur on different
system running CentOS 4.4, with GTK+ 2.4.13 and gtk-engines 2.2.0.
Comment 1 Benjamin Berg 2007-10-03 13:44:44 UTC
Oh, funky. The engine does things like "ceil(some_integer / 2)", which obviously is pretty pointless.
Comment 2 Benjamin Berg 2007-10-13 20:52:03 UTC
I have fixed this specific issue. However quite some cleanup should be done in the engine as most of the pixel snapping code is broken. I have opened bug #486418 about that.