[hafqa] [hafqa] [Bug 1186] GtkButton theming ignores GTK_RELIEF_NONE and HALF

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Thu Mar 29 10:09:49 EEST 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1186


tommi.komulainen at nokia.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|tommi.komulainen at nokia.com  |michael.kostrzewa at nokia.com
          Component|gtk                         |hildon-theme
            Summary|Bugs in GTK Button's        |GtkButton theming ignores
                   |handling of reliefs and     |GTK_RELIEF_NONE and HALF
                   |focus                       |




------- Additional Comments From tommi.komulainen at nokia.com  2007-03-29 10:09 -------
(In reply to comment #0)

Tested with current Sardine and the plankton theme.

> Expected behavior: a button should never show a relief in any color, even
while being clicked on.
> 
> Actual behavior:
> 
> 1. If you click on a button, its relief is shown in the theme's color
> (in my case, blue).

This is the button pressed state, which almost by definition has to have the
relief to give the 'pressed' visual impression. There's really no change in
behavior compared to stock gtk.


> 2. If you release a button, it obtains some kind of focus and displays
> a relief in gray until some other widget has been clicked on.

That's the 'prelight' state. When you release the stylus the mouse pointer is
left hovering on top of the widget. (If the widget had focus pressing Space or
Select key would click it.) No difference from stock gtk.


Logically the widget works normally.


On the theming side the theme is free to choose how to display different relief
styles, ours chooses (in a way) to ignore them. (Ubuntu Human theme makes no
difference between NORMAL and HALF, for example.) Our themes also ignore the
different GtkFrame shadow types.

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list