Output of i3 --moreversion 2>&- || i3 --version:
i3 --moreversion 2>&- || i3 --version
Binary i3 version: 4.13 (2016-11-08) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.13 (2016-11-08) (pid 680)to abort…)
Loaded i3 config: /home/aureooms/.config/i3/config (Last modified: Mon 02 Jan 2017 02:45:35 PM CET, 15619 seconds ago)
The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
URL to a logfile as per http://i3wm.org/docs/debugging.html:
REPLACE: URL to logfile
What I did:
I opened several windows.
What I saw:
Windows randomly open in last focused workspace instead of current. Focus randomly switches back to previous open window when opening a new one. Urgency color gets set randomly on the last focused workspace when opening a window in the current workspace.
What I expected instead:
Focus should be on the opened window and window should open in the focused workspace.
I don’t see a link to logs.i3wm.org. Did you follow http://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)
I'll add a log file when I have time.
Thanks. We’ll need a logfile to make sense of this issue.
Please try to provide a minimum logfile, using the i3 default configuration. If a specific configuration is required, please try to make only the necessary changes to the i3 default configuration in order to reproduce the problem.
Do you think Mouse focus might be playing tricks on you with your palm hitting the touchpad?
Just a thought
I have the same issue on laptop and desktop (no touchpad).
Reproducing seems to work only with terminator. Opening a new terminator instance focuses the previously focused terminator instance, whatever the currently focused app is.
(Probably a terminator issue then)
Can you clarify what happens with workspace focus? Do you mean the focused window is then on a non-visible workspace? That would, either way, be something we should look at.
Depends if the currently focused window is on the same workspace as the last focused terminator window.
CASE 1. If I open terminator on workspace 1, then firefox on workspace 4, then try to open a second terminator window on workspace 4, the new terminator window is opened on workspace 1, the urgency get set on workspace 1, current workspace stays worskpace 4 but if I go to workspace 1 the focus is on the first opened terminator window.
CASE 2. If I open terminator on workspace 1, then firefox on workspace 1, then try to open a second terminator window on workspace 1, the new terminator window is opened on workspace 1 and the focus switches from firefox to the first opened terminator window.
OK, then I misunderstood the issue. This behavior sounds perfectly fine because terminator probably requests this behavior from i3. If you provide the log file we can tell you what mechanism it uses to do that and you can use that to go through its settings or report an issue to make it configurable.
Thanks. I will add a minimal log file.