"Shuffle" and "Repeat" buttons do not react to keyboard events properly

Bug #1053956 reported by Chionsas
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Dustin Spicuzza

Bug Description

Version: latest (3.3.0-dev+bzr4288)
OS: Ubuntu 12.04, Gnome environment

When using Exaile with keyboard only (blind people, etc.), one cannot change Shuffle or Repeat modes for the existing playlist.
That is an accessibility problem.

To reproduce:
1) Open Exaile, click a song in the active playlist, click <tab>.
2) Focus should now be on the "Shuffle" button. Press <space> or <enter>.
3) The button toggles, but menu that lets choose between different Shuffle modes does not appear.
4) The menu appears _only_if_ the button is clicked with a mouse.

Expected:
3) The button toggles and displays the appropriate menu, exactly as if clicked with a mouse.
4) There's no difference between navigating the UI with either mouse or keyboard.

Technical info:
* shuffle_button and repeat_button are GtkToggleButton objects defined in /data/ui/playlist.ui
* they use "button-press-event" signal to call appropriate functions that in turn generate the menu that we're having problem with.
* it seems that this signal is not triggered when the button is toggled using the keyboard.
* other signals - "toggle" and "activate" are triggered (not currently used), but they pass only two parameters to the corresponding function.
* signal handling functions reside in /xlgui/widgets/playlist.py

Details:
a blind user complained about this on IRC (#exaile on freenode).

Related branches

Revision history for this message
Vojtěch Polášek (krecoun) wrote :

A temporary solution is to activate the radio button with mouse click (using orca) and in menu select the desired option with space and confirm by enter.
But if it is fixed, I won't complain.

Mathias Brodala (mathbr)
Changed in exaile:
milestone: none → 3.4.0
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Will try to fix this (and other issues) soon. There are currently a number of menu-related accessibility problems in Exaile.

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Fixed in r4295

Changed in exaile:
assignee: nobody → Dustin Spicuzza (dustin-virtualroadside)
status: New → Fix Committed
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Fixed in r4280 in 3.3.x

Changed in exaile:
milestone: 3.4.0 → 3.3.1
importance: Undecided → Medium
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.