mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Cloaked windows not restoring on stop/restore-windows
#438
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 @Cynosphere on GitHub (Jul 26, 2024).
Describe the bug
Cloaked windows not restoring on
stop/restore-windowsuntil manually clicked on/alt-tabbed to.Is it always force-quitting when stopping? When running
stopit always outputs:Or is this a purely visual issue?
To Reproduce
Steps to reproduce the behavior:
komorebic stopkomorebic restore-windowsand observe nothing changing stillExpected behavior
The cloaked windows restore themselves
Operating System
komorebic checkOutputAdditional context
komorebi is running as and being started/stopped as administrator
@LGUG2Z commented on GitHub (Jul 26, 2024):
It's possible that this is because the hidden
SetCloakfunction is not compatible with with the build of Windows you are running. Some more info should be available if you runkomorebic login a separate terminal tab while trying to reproduce this.@Cynosphere commented on GitHub (Jul 26, 2024):
Cloaking works fine when switching workspaces, its only when stopping that it fails.
komorebic restore-windowsgives no output to the log.@LGUG2Z commented on GitHub (Jul 27, 2024):
Relevant blobs:
c367967301/komorebi/src/process_command.rs (L768-L779)It's possible that since cloak is working when switching workspaces, you may be getting a failure when
remove_accentis called, because operating on accents is only supported on Windows 11+c367967301/komorebi/src/window_manager.rs (L951-L978)If you're able to build from source, can you try commenting out that line and recompiling?
@Cynosphere commented on GitHub (Jul 27, 2024):
Works as intended with that commented out.
@LGUG2Z commented on GitHub (Jul 27, 2024):
Fix is referenced above, will be in the next nightly released to WinGet over the weekend 🎉