mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Stuck when focusing an workspace that doesn't have any window. #2
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 @crosstyan on GitHub (Aug 14, 2021).
Originally assigned to: @LGUG2Z on GitHub.
First of all, thank you for this wonderful window manager. I switched from workspacer and I'm a fan of bspwm.
Here is the problem. I created workspaces by
I think the default workspace is
0. if I switch to an empty workspace byThe komorebi window manager stop working. New window won't get tilted and I can't switch back by
komorebic focus-workspace 0. Besides, there's no output when usingkomorebic state. I can get missing windows byrestore-windowsthough.But it works pretty well if I moved a window to that workspace first. If I use
to move focused window to workspace 1. The problem won't appear. ( I still get stuck when I switch to an empty workspace like 2 or 3 though)
Here is log in
~/komorebi.log@LGUG2Z commented on GitHub (Aug 14, 2021):
Thank you for this detailed report! I have just spent some time trying to reproduce this issue but I have not been successful.
Could you please share the
komorebi.ahkyou are using and also your Windows version (Get-ComputerInfo | select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer)?From the logs, I have traced down the
Access is deniederror to here, which is called when trying to focus the special Desktop Window when a workspace is empty. I have pushed a branch that addresses this error; it would be great if you could try that and see if it changes the behaviour you are experiencing.@LGUG2Z commented on GitHub (Aug 15, 2021):
I think I found the panic 🎉
@crosstyan Don't worry about trying out that branch that I linked, it won't do anything for this issue. I will work on a separate fix for this.
@crosstyan commented on GitHub (Aug 15, 2021):
My output from
Get-ComputerInfo | select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayerthe
ahkfile is the same as this sample.By the way, I'm using a desktop organize software called fences, which I think is related to the problem.
Thank you again for helping solve this problem.
@crosstyan commented on GitHub (Aug 15, 2021):
I confirmed that Stardock Fences caused that problem. When I disable Fences, everything runs smoothly.I have to admit compatibility is tricky to deal with, but maybe it's still worth investigating what caused that incompatibility.
Update: the problem is still existing, but I can switch to an empty workspace and switch back now, but moving to a workspace still cause the problem. (still using the old commit)
@LGUG2Z commented on GitHub (Aug 15, 2021):
@crosstyan I believe this bug should now be fixed with this commit:
a53b2cc28cPlease pull the latest commit on
master(which also now includes panic messages in the logs!) and try it out. I hope it fixes the issue for you 🤞 .@crosstyan commented on GitHub (Aug 16, 2021):
Seems perfect to me. Problem fixed!