Flat review: system-config-printer’s troubleshooter stuck on the first page
Whilst working on accessibility improvements for system-config-printer,
I stumbled upon a weird behavior that I can’t seem to explain.
- Open
system-config-printer
. (Reproduced with any version, e.g. 1.5.* until master.) - Hit F1 or open “Help” > “Troubleshoot”.
The window that opens is like a GtkAssistant or Wizard, but it’s actually
a GtkNotebook where the tabs are hidden. (See
/usr/share/system-config-printer/troubleshoot/__init__.py
, line 99:
ntbk.set_show_tabs (False)
. You may comment that line to see the tabs.)
Nothing gets read in the first window, not even the “Next” button that
has the focus by default.
- Enable Orca’s “Flat Review” or “Say All” mode to have the window’s content
read out loud. So far so good. - Hit Return to activate the “Next” button. Internally, the
self.current_page
counter gets incremented, and visually you’ll be on to the next tab. - Launch the Flat review again: Orca actually keeps reading the previous page.
I’m not sure whether it’s a Gtk or an Orca bug; I couldn’t come up with a
minimal GtkNotebook example that reproduces the issue.
Bonus question: if you can point me towards a mechanism that would enable
these windows to be read without requiring additional user action, that’d be swell :-/