mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Layout breaks if workspace layout is not specified in config #330
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 @michaelruigrok on GitHub (Apr 11, 2024).
Describe the bug
According to the config reference, a workspace's layout defaults to the BSP layout. However, if
layoutis unset, that workspace's layout breaks, causing komorebi to crash.To Reproduce
Steps to reproduce the behavior:
monitorsconfig as the following:Swap to workspace II and create a window
Try and toggle floating, move the window, etc
See that the window is not behaving properly
run
komorebic stop.Open up process manager and Note that the
komorebiprocess continues to run.Expected behavior
The workspace should correctly have the BSP layout applied.
Operating System
komorebic checkOutputAdditional context
N/A
@LGUG2Z commented on GitHub (Apr 11, 2024):
This is actually intended behaviour and the default referred to in the docs applies when a new workspace is created on the fly (is. not defined in the static config file but created using a
focus-workspacecall).Passing a None/null value explicitly, or implicitly by omitting the layout key, turns the workspace into a floating workspace.
More info on this:
Configure a Floating Workspace | Tutorial | Komorebi v0.1.19+ | Windows 11 Tiling Window Manager
https://youtu.be/tzSkCYxrhH8
@LGUG2Z commented on GitHub (Apr 11, 2024):
Note to self to update the wording on the docs and add a page on floating workspaces to the mkdocs site