Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unreliable focus retention #3710
I'm submitting a…
I've noticed this behaviour for the last few months and spent considerable time trying to automatically reproduce it (edit: see here). I'm not 100% sure it is an i3 bug, but can't prove reproducibly that it is not.
Unfortunately the behaviour of the bug is also very non-fatal, i.e. might go unnoticed unless using a very specific setup.
My setup consists of many named workspaces (often 20+) that I switch between. With some applications I keep noticing that focus doesn't move between workspaces (described below).
Focus is not properly moved between windows when switching workspaces, depending on what the window is. Sometimes an old "instance" of an application remains focused, sometimes focus is just lost when switching to a different application (see how to reproduce)
Switching between workspaces should always move the focus and un-focus old windows no longer in view.
This also happens with
These effects can be undone by forcing a window to resize: opening a new terminal next to it in the container usually re-focuses the window correctly.
Binary i3 version: 4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors Running i3 version: 4.16.1 (2019-01-27) (pid 2978)abort…) Loaded i3 config: /home/spacekookie/.config/i3/config (Last modified: Thu 01 Jan 1970 01:00:01 CET, 1559561865 seconds ago) The i3 binary you just called: /nix/store/czmw8b91xl40nq87rkmn2p27vbww3qr7-i3-4.16.1/bin/i3 The i3 binary you are running: i3
This bug has also been reproduced on my system with version
My config and appropriate scripts I use for dynamic named workspaces can be found here: https://github.com/spacekookie/stuff/blob/master/i3/config
I will try to capture some log output about this. Because it is rather non-deterministic, I have yet to capture anything interesting. But I'll keep trying.
Just to be clear: i3 shows a certain firefox window as focused but the actual active firefox window (new/close tab) is elsewhere?
Don't know if this is related to https://bugzilla.mozilla.org/show_bug.cgi?id=1509847