Open HanfordWu opened 4 years ago
Same problem for me, tried xdotool key --clearmodifiers alt+Tab
and a bunch of other workarounds but it just won't work with coverflow alt-tab extension active.
I'm not familiar with xdotool, what you would expect to happen, and what happens instead?
xdotool emulates keyboard or mouse inputs, so xdotool key alt+Tab
should act as if alt+Tab had been pressed on the keyboard (so switch to previous window) which works perfectly fine normally, but doesn't (i.e. nothing happens instead of switching to previous window) when Coverflow Alt-Tab extension is active
Thank you. That's quite strange, considering the extension doesn't actually handle keypresses itself, instead it receives the switch-windows event. Have to look into it.
Did some test and didn't manage to find a culprit. The thing is: I reproduced the same behavior (xdotool not doing anything) even with this extension disabled. My test was on wayland. Considering this, I will close this issue since it's either in gnome, xdotool or something in the middle of them.
@p91paul xdotool is not supported on Wayland for security reasons. See this AskUbuntu question.
I had limited success with this script on Xorg:
xdotool keydown alt; sleep 0.3; xdotool key Tab; sleep 0.15; xdotool keyup alt
Apparently, something is wrong with this extension because without it alt tab is correctly triggered.
Only thing I get in the log is this:
g_source_remove: assertion 'tag > 0' failed
I have xdotool installed, and I bind the key: alt+Tab in it. After turn on convertflowAltTab, often "xdotool key alt+Tab" doesn't work, only work once in a while. I cannot find any solution about this, I come to ask, thank you if any help!