mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Sometimes when focusing to another workspace, the focus is switched to window in another monitor #145
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 @MasouShizuka on GitHub (Sep 26, 2022).
Originally assigned to: @LGUG2Z on GitHub.
Describe the bug
When focusing to another workspace, the window in another monitor will refresh, and you can see its border flashing. And sometimes, the focus would switch to the window in another monitor, which makes it necessary to switch back manually.
To Reproduce
Steps to reproduce the behavior:
komorebic.exe focus-workspace 0will still switch to workspace 0 in monitor 1, not monitor 2.Expected behavior
When switching workspaces, the windows of other monitors do not refresh.
@maxbane commented on GitHub (Oct 17, 2022):
I think I've encountered this in another context, too. When moving a window from one monitor to another, sometimes (but not always), focus gets switched to the "wrong" window on some other monitor, and I have to move my focus around back to where it should be.
@LGUG2Z commented on GitHub (Feb 12, 2023):
@MasouShizuka @maxbane Check out this commit, just set
window-hiding-behaviourtocloak:80c98596dd@MasouShizuka commented on GitHub (Feb 13, 2023):
I've tried
cloakon windows 11, and this way of hiding the window works very well, and it doesn't appear that the focus switches to another monitor.Compared to
minimize, I prefer this way.Just don't know how it behaves on other windows os versions.
@LGUG2Z commented on GitHub (Feb 13, 2023):
Thanks for the feedback! I'm gonna go ahead and close this issue, and in future versions, promote
cloakas the default for Windows 11 users.