mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Workspace swiching switches workspaces on wrong monitor #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pigmej on GitHub (Sep 7, 2021).
Originally assigned to: @LGUG2Z on GitHub.
The workaround that I'm aware of is to move any of the windows to screen 1 and then switch workspaces, then everything works.
Not sure how much related is that log but I have found that in the logs:
All happens both on komorebi master branch and released one.
@LGUG2Z commented on GitHub (Sep 7, 2021):
@pigmej I looked into this and initially I wasn't able to reproduce the issue; when switching focus between monitors using
komorebic focus-monitor Nand then changing workspace, the workspace switches as expected on the correct monitor.However, when I tried to focus the empty monitor with the mouse in order to select it as the target for workspace switching I was able to reproduce the behaviour described.
I think what makes most sense in this case is to read the cursor position and use that to infer the current monitor before executing any workspace switch. I've pushed this change to the
masterbranch; let me know how this works out for you!@pigmej commented on GitHub (Sep 7, 2021):
Oh yeah, Forgot to mention that I was using mouse to switch the "context". Not the keybinding.
@pigmej commented on GitHub (Sep 7, 2021):
But yeah, I can confirm that this use case works now.
Now need to find why some of my windows are getting lost after some time (I suspect stack-ing to be the problem).