You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I'm using the latest major release or the current development version. These are the only supported versions.
Yes, I've searched similar issues and discussions on GitHub and didn't find any.
Current Behavior
When I move with the keyboard ($mod+right) the focused window from one monitor to another, the window moves (as expected), however the window loses its focus, and the focus stays on the original monitor on another window if any.
This only happens if the original monitor has more than one windows.
If there is only one window, then the focus correctly moves with the moved window.
Expected Behavior
One would expect that the when a window is moved it always retains the focus, as it happens when the window doesn't change monitor.
Reproduction Instructions
use a dual or more screen setup
open two windows on the first monitor and two windows on the second monitor
with the keyboard move one window ($mod+right or left not the combination to change workspace) from monitor A to monitor B
I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)
@orestisfl you made me wondering, and I started testing it. I realize that some times it happens and sometimes it doesn't. So maybe is more subtle the problem.
I think it is a function of the location of the mouse.
When I move from left(primary) to right(secondary) and the mouse is located on the primary then the problem appears.
When I move the window back from the right to the left (primary with the mouse) everything works ok.
Probably after the move the mouse resets the focus
Welcome
Current Behavior
When I move with the keyboard ($mod+right) the focused window from one monitor to another, the window moves (as expected), however the window loses its focus, and the focus stays on the original monitor on another window if any.
This only happens if the original monitor has more than one windows.
If there is only one window, then the focus correctly moves with the moved window.
Expected Behavior
One would expect that the when a window is moved it always retains the focus, as it happens when the window doesn't change monitor.
Reproduction Instructions
i3 version
Config file
Linux distribution & Version
LUbuntu 24.04
Are you using a compositor?
I am sure I don't run any compositor
Logfile
No response
The text was updated successfully, but these errors were encountered: