Closed midrare closed 5 months ago
I'm not able to reproduce this on master
, it's possible that whatever was causing this bug may have been between v0.1.24 and the latest commit.
Try grabbing and running the artifacts from the latest master
build: https://github.com/LGUG2Z/komorebi/actions/runs/8802077150
I tried with latest artifacts but no luck. Also, I forgot to mention I have StartAllBack installed. I uninstalled but this is still occurring.
With more testing this seems unrelated to Neovim. I can induce the bug with any window.
@raggi had a fix for something that may have been similar with monocle windows here: https://github.com/LGUG2Z/komorebi/commit/efa562de5cc8698088d49936dc45359ca07e0246
However I'm not seeing anything immediately similar in the toggle_float
call path 🤔
The actual library call that is failing an assertion:
Which leads me to believe this is the offending call: https://github.com/LGUG2Z/komorebi/blob/master/komorebi/src/workspace.rs#L814
@midrare Which layout is this happening with and does it matter which position the window is in (ie. first or last)?
Nevermind, I just reproduced this with the BSP layout when the NeoVim QT window is the only one in the layout!
https://github.com/LGUG2Z/komorebi/commit/0b04e3ef93beace9ebe4e968c594b2c1dec72de8 should hopefully address your issue 🤞
Tested with artifacts from https://github.com/LGUG2Z/komorebi/actions/runs/8841765357 and all appears to be working. Thanks for the quick fix.
Describe the bug When
komorebic toggle-float
is used on a Neovim Qt window, komorebi stops responding tokomomoreic
commands (though it continues managing windows).To Reproduce Steps to reproduce the behavior:
komorebic toggle-float
(works normally)komorebic toggle-float
(bug)komorebic state
.komorebic
commands are ignored.Expected behavior
komorebic
commands continue working like normal.Operating System
komorebic check
OutputAdditional context
komorebic
through kanata.Contents of komorebi.json
```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.24/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml", "window_hiding_behaviour": "Hide", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 0, "default_container_padding": 0, "border_width": 0, "border_offset": -1, "active_window_border": false, "active_window_border_colours": { "single": "#42a5f5", "stack": "#00a542", "monocle": "#ff3399" }, "monitors": [ { "workspaces": [ { "name": "I", "layout": "BSP" }, { "name": "II", "layout": "VerticalStack" }, { "name": "III", "layout": "HorizontalStack" } ] }, { "workspaces": [ { "name": "I", "layout": "BSP" }, { "name": "II", "layout": "VerticalStack" }, { "name": "III", "layout": "HorizontalStack" } ] }, ], "mouse_follows_focus": false, "stackbar": { "height": 25, "mode": "OnStack", "tabs": { "width": 220, "focused_text": "#00a542", "unfocused_text": "#b3b3b3", "background": "#141414" } } } ```