Open uunnxx opened 3 years ago
+1, meet the same problem quite recently. It didn't happen before. Basically when you switch from other window to google-chrome via alttab, all the chrome built-in keys does not work (even for pageup/pagedown). But i3 keybinding still works. If you switch window via i3 keybindings, there's no such problem.
What do you expect, after all, when pressing Alt-Tab in chrome? Both programs try to consume the event, which one should "win"? Not surprising, that one of them fails in unpredictable way. I don't know, perhaps chrome stops listening to all keyboard events in this case?
Does using another keyboard combination in alttab -or- disabling alt-tab in chrome solve the problem?
Yes. The issue seems that after switching to chrome, alttab did not release the listener. So any keystroke is not sent to chrome. In fact, I can't even type anything in the address bar so it's like the whole chrome instance is freezed until use switch window and switch back using other i3 keybinding but not alt-tab.
If I used chrome, I would try to disable alt-tab shortcut in chrome, because it should not be web browser task. For now I won't fix this, but hints are welcome.
You don't have to fix this, I was just curious.
For example, in Firefox everything works as it should, so I asked if anyone else has this problem, or it's just me?
I would try to disable alt-tab shortcut in chrome, because it should not be web browser task.
Chrome has NO hotkeys for alt+tab
by default, and it makes sense, I mean I can't use any of the hotkeys available on chrome at all.
ctrl+tab
go to next tab
ctrl+shift+tab
go to previous tab
ctrl+t
create new tab
ctrl+shift+t
create new incognito tab
ctrl+w
close current tab
ctrl+shift+w
close current window with all tabs available ( like alt+F4
)
The issues is not that the key alt-tab
not work in chrome. It's that every single keystroke except alt-tab
is not functioning in chrome after switching to the chrome window with alttab. alt-tab
only works as alttab listens to it. Chorme does not have a built-in callback for alt-tab
so you don't even have something to disable.
I have no idea why.
Hi there! Let me say thanks to this awesome tool <3!
I'm using i3-wm with
If I switch between
Google Chrome
instances (windows), I'm not able to use 'NONE' of the hotkeys/shortcuts unless I'll switch focus manually (focus left, focus right
) between windows.Does anyone have this problem ?