-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: ERROR komorebi::process_command: there is no container in one workspace #1052
Comments
All ahk key bindings appear inactive on that single workspace. |
If I'm understanding this correctly, it is the intended behaviour - when monocle mode is enabled commands such as focus/move etc. will not be processed until monocle mode is disabled. Monocle mode should be thought of as an override - it remains in effect until it is explicitly removed. |
This includes the ability to toggle monocle mode. Possibly related to wordpad opening a file dialog? It feels like komorebi has no control in this workspace. The only things that appear to work are switch to and switch away from it. Let me know if there's anything I can do in this state to collect diag data. |
I opened a window on another monitor and dragged it to the broken workspace on the other monitor and new windows appear OK, in that I can interact with them via the AHK keys, however the windows that was there when this happened is ignored. |
There's actually 2 windows that were still open on the broken workspace. I think the act of dragging a komorebi managed window into this workspace restored an active container there, as now I can manage new windows there OK. I'll try replicate again after work. |
If you were unable to have any commands processed, it's possible you may have been hit by a separate bug that I'm trying to address here: b094466 |
Summary
Running: v0.1.29
I opened wordpad, monocle'd the window, chose "new" and then opened the "open file" dialog. The dialog was not visible.
From then on, any action on any window in that workspace logs:
2024-10-14T14:45:41.890188Z INFO process_command{ToggleMonocle}:toggle_monocle:monocle_on: komorebi::window_manager: enabling monocle
2024-10-14T14:45:41.890702Z ERROR komorebi::process_command: there is no container
Version Information
Komorebi Configuration
Hotkey Configuration
#Requires AutoHotkey v2.0.2
#SingleInstance Force
; https://www.autohotkey.com/docs/v2/howto/WriteHotkeys.htm
; ^ Ctrl
; ! Alt
; + Shift
; # Win
; * wildcard - allows the hotkey to fire even if you are holding modifier keys that the hotkey doesn't include symbols for.
; ~ no-suppress - prevents the hotkey from blocking the key's native function.
; $ use hook - prevents unintentional loops when sending keys, and in some instances makes the hotkey more reliable.
; <,> - prefix to specify the left or right variant of that key. The modifier combination <^>! corresponds to the AltGr key (if present on your keyboard layout), since the operating system implements it as a combination of LCtrl and RAlt.
; Focus windows (alt)
; Stack windows (win & alt)
; Move windows (alt-shift)
Komorebic(cmd) {
RunWait(format("komorebic.exe {}", cmd), , "Hide")
}
!q::Komorebic("close")
!m::Komorebic("minimize")
; Focus windows (alt)
!h::Komorebic("focus left")
!j::Komorebic("focus down")
!k::Komorebic("focus up")
!l::Komorebic("focus right")
!Left::Komorebic("focus left")
!Down::Komorebic("focus down")
!Up::Komorebic("focus up")
!Right::Komorebic("focus right")
!+[::Komorebic("cycle-focus previous")
!+]::Komorebic("cycle-focus next")
; Move windows (alt-shift)
!+h::Komorebic("move left")
!+j::Komorebic("move down")
!+k::Komorebic("move up")
!+l::Komorebic("move right")
!+Left::Komorebic("move left")
!+Down::Komorebic("move down")
!+Up::Komorebic("move up")
!+Right::Komorebic("move right")
; Stack windows (win & alt)
#!Left::Komorebic("stack left")
#!Down::Komorebic("stack down")
#!Up::Komorebic("stack up")
#!Right::Komorebic("stack right")
#!u::Komorebic("unstack")
#![::Komorebic("cycle-stack previous")
#!]::Komorebic("cycle-stack next")
; Resize
!=::Komorebic("resize-axis horizontal increase")
!-::Komorebic("resize-axis horizontal decrease")
!+=::Komorebic("resize-axis vertical increase")
!+_::Komorebic("resize-axis vertical decrease")
; Manipulate windows
!f::Komorebic("toggle-float")
!z::Komorebic("toggle-monocle")
; Window manager options
!+r::Komorebic("retile")
!p::Komorebic("toggle-pause")
; Layouts
!x::Komorebic("flip-layout horizontal")
!y::Komorebic("flip-layout vertical")
; Workspaces
!1::Komorebic("focus-workspace 0")
!2::Komorebic("focus-workspace 1")
!3::Komorebic("focus-workspace 2")
!4::Komorebic("focus-workspace 3")
!5::Komorebic("focus-workspace 4")
!6::Komorebic("focus-workspace 5")
!7::Komorebic("focus-workspace 6")
!8::Komorebic("focus-workspace 7")
; Move windows across workspaces
!+1::Komorebic("move-to-workspace 0")
!+2::Komorebic("move-to-workspace 1")
!+3::Komorebic("move-to-workspace 2")
!+4::Komorebic("move-to-workspace 3")
!+5::Komorebic("move-to-workspace 4")
!+6::Komorebic("move-to-workspace 5")
!+7::Komorebic("move-to-workspace 6")
!+8::Komorebic("move-to-workspace 7")
Output of komorebic check
Note: running:
The text was updated successfully, but these errors were encountered: