GNOME Bugzilla – Bug 325431
clearlooks handle looks bad with vertical panel
Last modified: 2006-04-09 18:31:55 UTC
the clearlooks handle looks bad when drawn on a vertical panel.
Created attachment 56624 [details] screenshot of the effect with CVS HEAD clearlooks and gnome-panel
Created attachment 57134 [details] [review] Figure out orientation from handle dimensions So there are a few weirdnesses going on: - when painting the handle, gnome-panel passes ORIENTATION_HORIZONTAL for top panels and bottom panels, and ORENTATION_VERTICAL for left panels and right panels; that's backward. - clearlooks just hard codes horizontal = FALSE, regardless of what's passed in - other widgets that draw handlebox handles (for instance gtkhandlebox) just ignore the orientation argument anyway and always pass in VERTICAL. So I'd say the orientation argument is pretty useless when drawing handlebox handles. It's probably better to just figure out the orientation from the dimensions of the handle getting drawn.
If the panel gets it wrong, then it needs to be fixed. Regardless of any guesswork being added to theme engines...
It also affects other theme engines, I saw issues with at least Lush and Glider in a quick check. One more argument for fixing rather than working around.
I don't think the panel does it backwards: it works well with the Simple theme...
This is fixed now.