Win 10 task switcher fires redundant focus event #5116

Closed
nvaccessAuto opened this Issue May 29, 2015 · 9 comments

1 participant

@nvaccessAuto

Reported by mdcurran on 2015-05-29 02:40
In Windows 10, holding down alt and then pressing tab brings up the new Task Switch Window. Focus correctly goes to the newly selected app in the contained grid. However, then a new focus event is fired on the task swiching window itself. Therefore when pressing tab a second time, the focus ancestory of the newly selected item in the grid is announced again. We should suppress focus events on this task switch window itself as focus is always within it, not on it.

@nvaccessAuto

Comment 1 by Michael Curran <mick@... on 2015-05-29 02:43
In [c8ce76c]:
```CommitTicketReference repository="" revision="c8ce76cf5938aca1b0bafa8994b3989e94e2ad09"
Merge branch 't5116' into next. Incubates #5116

Changes:
Added labels: incubating
@nvaccessAuto

Comment 3 by Michael Curran <mick@... on 2015-06-18 03:20
In [a957672]:
```CommitTicketReference repository="" revision="a9576724a3817f796325a3bf82ff8bf6808c34af"
Merge branch 't5116' into next. Incubates #5116

@nvaccessAuto

Comment 4 by James Teh <jamie@... on 2015-07-10 04:26
In [8d35b80]:
```CommitTicketReference repository="" revision="8d35b807c63c0f8ea114487cdaf77dd9e3b1af2b"
In Windows 10, extraneous information is no longer reported when pressing alt+tab or alt+shift+tab to switch between applications.

Fixes #5116.

Changes:
Removed labels: incubating
State: closed
@nvaccessAuto

Comment 5 by leonarddr on 2015-07-30 09:09
Is it normal behavior that NVDA says unknown whenever pressing alt+tab, at least with only one window open?

@nvaccessAuto

Comment 6 by James Teh <jamie@... on 2015-08-06 02:13
In [3868bc6]:
```CommitTicketReference repository="" revision="3868bc678a6d09259d709bbeb5f8fc94738f4016"
In Windows 10, NVDA no longer reports "unknown" after pressing alt+tab.

Re #5116.

@nvaccessAuto

Comment 7 by leonarddr on 2015-08-07 15:10
On the desktop with nothing open, it now works as expected. However, in other apps, I notice the following behavior:
Input: kb(laptop):alt+tab
IO - speech.speak (17:09:40):
Speaking [item'](u'list)
IO - speech.speak (17:09:40):
Speaking [(Win 10 task switcher fires redundant focus event) \u2013 NVDA Community - Mozilla Firefox'](u'#5116)
IO - speech.speak (17:09:40):
Speaking [(Win 10 task switcher fires redundant focus event) \u2013 NVDA Community document'](u'#5116)
IO - speech.speak (17:09:40):
Speaking [may use WikiFormatting here. edit multi line'](u'You)
IO - speech.speak (17:09:40):
Speaking [- inputCore.InputManager.executeGesture (17:09:43):
Input: kb(laptop):alt+tab
IO - speech.speak (17:09:43):
Speaking [u'list item'](u'blank']
IO)
IO - speech.speak (17:09:43):
Speaking [(Win 10 task switcher fires redundant focus event) \u2013 NVDA Community - Mozilla Firefox'](u'#5116)
IO - speech.speak (17:09:43):
Speaking [(Win 10 task switcher fires redundant focus event) \u2013 NVDA Community document'](u'#5116)

@nvaccessAuto

Comment 8 by jteh on 2015-08-07 21:42
I assume that's when you press alt+tab once; i.e. you release alt as soon as you press tab? That'd be because the list disappears before NVDA gets a chance to speak it. We can't do much about that. A sighted user would similarly see the task list appear quickly and then disappear. However, the foreground change should cancel speech, so you shouldn't hear much (if any) of the "list item". If you're not using eSpeak, it'd be great if you could confirm it with eSpeak.

@nvaccessAuto

Comment 9 by leonarddr on 2015-08-08 07:37
With ESpeak, I barely hear list item. I do not experience this thing as a real bug or so, reported it since it is a difference with older windows behavior. But that behavior is clarified now, I think.

@nvaccessAuto

Comment 10 by jteh on 2015-08-09 23:03
Well, UIA seems to be slower in general in Windows 10, so that might explain why you didn't see this with older versions of Windows. Note that fd9d10a might help with this.

@nvaccessAuto nvaccessAuto added the bug label Nov 10, 2015
@nvaccessAuto nvaccessAuto added this to the 2015.3 milestone Nov 10, 2015
@jcsteh jcsteh added a commit that referenced this issue Nov 23, 2015
@jcsteh jcsteh In Windows 10, extraneous information is no longer reported when pres…
…sing alt+tab or alt+shift+tab to switch between applications.

Fixes #5116.
8d35b80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment