Closed Bug 406516 Opened 17 years ago Closed 17 years ago

[Linux] No radio/checkbox highlighting with the QtCurve theme

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: sikon, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9b2pre) Gecko/2007112915 Firefox/3.0b2pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9b2pre) Gecko/2007112915 Firefox/3.0b2pre

Radio buttons and checkboxes are not highlighted with the QtCurve GTK2 theme.

Reproducible: Always

Steps to Reproduce:
1. Switch the GTK2 theme to QtCurve.
2. Start any GTK2 application.
3. Hover the mouse over a radio button or checkbox. Note the highlighting.
4. Start Firefox.
5. Hover the mouse over a radio button or checkbox in the Preferences dialog.
Actual Results:  
The widget is not highlighted.

Expected Results:  
The widget is highlighted like in a native GTK2 application.

This bug does not occur with the gtk-qt and Human (Ubuntu) themes.
Blocks: 233462
This seems like a bug with the theme...
Even if this is a bug with the theme, this bug doesn't occur with native GTK applications - only Firefox.
This is an engine problem:

if(GTK_STATE_PRELIGHT==state && (GTK_APP_MOZILLA==qtSettings.app || GTK_APP_JAVA==qtSettings.app))
        state=GTK_STATE_NORMAL;


That code makes the engine/theme use the NORMAL state instead of PRELIGHT for mozilla and java. (Now don't ask me why one would do that ...)
Then it's not a bug in Mozilla. Marking as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.