GNOME Bugzilla – Bug 482542
with edge_thickness = 1, checkboxes always appear unchecked
Last modified: 2007-10-13 20:52:03 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.
Oh, funky. The engine does things like "ceil(some_integer / 2)", which obviously is pretty pointless.
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.