Open Bug 622899 Opened 14 years ago Updated 2 years ago

gtk_widget_has_focus does not work for checkboxes or radiobuttons

Categories

(Core :: Widget: Gtk, defect, P3)

x86_64
Linux
defect

Tracking

()

People

(Reporter: seastland, Unassigned)

References

Details

(Whiteboard: tpi:+)

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8) Gecko/20101221 Firefox/4.0b8
Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8) Gecko/20100101 Firefox/4.0b8

I am using the new oxygen-gtk GTK style, and checkbox and radio buttons do not have a focus rectangle being drawn.  I filed a bug at https://bugs.kde.org/show_bug.cgi?id=261985 and apparently the GTK gtk_widget_has_focus function is working for other widgets (buttons, comboboxes, etc.)

As explained in https://bugs.kde.org/show_bug.cgi?id=261985#c10, this behavior is preventing proper drawing of focus around the widget itself.

Reproducible: Always

Actual Results:  
No focus indicator is drawn for checkbox and radio widgets.

Expected Results:  
Focus indicator should be drawn on checkbox and radio widgets.
Bug is also present in FF 5.0.  (I.e. I can 'confirm' this bug.)
Assignee: nobody → ventnor.bugzilla
This issue has been out for long time now, onfocus:

- There is no focus indicator on the radio buttons and checkboxes.
- Radio buttons UI does not look good, they appear bigger and blurred.

I'm using Firefox v51.0.1 on Windows. I work for Accessibility and we make sure all the users should be able to perceive the content in the page. Both Sighted and Low-vision users may have difficulty finding the focus around the radio buttons. We test the pages using Firefox and NVDA(non visual desktop access) screen reader, since FF and NVDA work good together.
Flags: needinfo?(ventnor.bugzilla)
Flags: needinfo?(ventnor.bugzilla)
Priority: -- → P3
Whiteboard: tpi+
Whiteboard: tpi+ → tpi:+
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee: ventnor.bugzilla → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.