After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738701 - Please emit accessible object:state-changed:selected events after window:activate for switchers
Please emit accessible object:state-changed:selected events after window:acti...
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-10-17 16:19 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2021-07-05 14:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
accessible event listener (394 bytes, text/x-python)
2014-10-17 16:19 UTC, Joanmarie Diggs (IRC: joanie)
Details

Description Joanmarie Diggs (IRC: joanie) 2014-10-17 16:19:02 UTC
Created attachment 288771 [details]
accessible event listener

Steps to reproduce:
1. Launch the attached accessible-event listener in a terminal
2. Press and hold down Alt (or Ctrl+Alt) to get into one of the switchers
3. Press and release Tab (keeping the keys pressed in step 2 pressed)

Expected results: The accessible object:state-changed:selected event would be preceded by the window:activate for the switcher.

Actual results: The accessible object:state-changed:selected event is followed by the window:activate event:

$ ./selected.py 
[push button | ] object:state-changed:selected
[window | ] window:activate
[panel | ] object:state-changed:focused

I realize that assistive technologies like Orca need to be flexible about event ordering. And Orca for the most part is. But in this particular case, because Orca doesn't know the user is even in the switcher, it ignores the state-changed:selected event. (Apps running in the background often spew accessible events, and most of the time those events really should be ignored.)

The perfect event ordering, if possible, would be:
[window | ] window:activate
[panel | ] object:state-changed:focused
[push button | ] object:state-changed:selected

But if the last two were reversed, that should be good enough(tm), falling into the category of Orca needs to be flexible.  Having the window:activate event first so Orca knows what follows should be presented to the user would be extremely helpful. Thanks!
Comment 1 Joanmarie Diggs (IRC: joanie) 2014-12-27 16:04:41 UTC
Ping?
Comment 2 GNOME Infrastructure Team 2021-07-05 14:09:27 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.