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 427880 - [pending] Alt+Tab doesn't present first window
[pending] Alt+Tab doesn't present first window
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-09 14:01 UTC by Willie Walker
Modified: 2007-04-13 18:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to handle state showing events for when status bar pops up (6.37 KB, patch)
2007-04-09 14:40 UTC, Willie Walker
committed Details | Review

Description Willie Walker 2007-04-09 14:01:12 UTC
From the Orca mailing list: 

"If I press alt-tab and hold down the alt key I can't hear the
application I will be switching to. If I keep the alt key pressed and
hit the tab key subsequent times, I hear the applications cycling. But
the first time the application isn't spoken. The same happens when
switching workspaces. Only the second and subsequent workspaces are
spoken and the first is silent. This seems to be new in 2.18."
Comment 1 Willie Walker 2007-04-09 14:03:40 UTC
I believe the behavior Lorenzo is describing here is a regression.  The 
Orca script for metacity (the window manager) is depending upon 
receiving "text inserted" events for the metacity status bar when the 
user presses Alt+Tab.  It appears as though the first time you press 
Alt+Tab, these events are not delivered.  But, when you continue to hold 
Alt and then release/press Tab, the events are delivered.  The resulting 
behavior is that Orca will not present the first window you might end up 
on as the result of an Alt+Tab.

There seems to be an event we might look for (object:property-change:accessible-role) that might help us, though.  This seems to be issued the first time you press Alt+Tab.  (By 'first time', I don't mean only the very very first time for the whole desktop session, I mean the first time you press Alt+Tab before continuing on to cycle through the windows).
Comment 2 Willie Walker 2007-04-09 14:40:28 UTC
Created attachment 86048 [details] [review]
Patch to handle state showing events for when status bar pops up

This patch seems to resolve the problem.  All I can guess is that the metacity folks might have done something different with the status bar, perhaps making changes to it prior to popping it up.  As a result, we might not have received text inserted events.  Just a guess.
Comment 3 Mike Pedersen 2007-04-13 16:39:09 UTC
This one now seems fixed with orca from trunk.  I think it is safe to close.
Comment 4 Willie Walker 2007-04-13 18:15:58 UTC
Thanks!  Closing as FIXED.