App switcher gets interrupted unexpectedly
When switching windows under Compiz (gtk-window-decorator), Metacity or Marco, the speech coming from the switcher's own window upon the first display gets interrupted.
Steps to reproduce
- Open Pluma
- Open Firefox
- Press Alt. Without releasing it, press Tab. But try and press (not release!) bot fairly quickly.
Expected result
The title of the next window (here Pluma) should be spoken.
Actual result
More often than not, the speech of that window title as displayed in the switcher window gets interrupted just after it started. Note that this only happens on the first Tab press of a Alt+Tab, Tab, Tab... sequence — i.e. only for the first speech after the switcher's window opens.
If you don't reproduce the first time, try a few more, possibly trying to be fast when pressing the keybinding.
I do reproduce with all of Marco, Metacity and Compiz, although Marco seems slightly less affected. I reproduce about 99% of the time in my Debian Stretch VirtualBox VM. Under my Debian Unstable host (only tried Metacity there yet) however I have a harder time reproducing and sometimes need to repeatedly switch back and forth, kind of spamming it, but it still happens.
From what I gathered, the issue comes from the fact the WM's switcher window is not properly "activated", and thus the window:deactivate
from the previously active window (Firefox in my example) stops the speech from the switcher. This should depend on the timing of the window:deactivate
event and the switcher's announce start, but in my tests it's almost always problematic.
S/a !32 (closed). CC @alexarnaud