#issue with komorebi not registering when a window no longer exists [updated: workspace clear]

1 messages · Page 1 of 1 (latest)

lethal igloo
#

I have been having this issue recently with komorebi not realizing that a window no longer exists, or at least i have no idea how i can find that window if it does exist to close it. i have posted a screenshot here showing the KLayout which has been manages and should on the left, windows terminal on the top right which is showing state, and in the bottom right is the save popout for KLayout which no longer exists(i dont think). the task manager is not managed and only moved here to show that there arent more things i cant see . i can close KLayout and it will fix this but i often have work i dont want to close after every time i save. is there some komorebi reset state or something im missing that would try re-get all the windows or something?

#

the relevant part of the state:

 {
  "name": "4",
  "containers": {
    "elements": [
      {
        "id": "yLM5EkcMjL_Uev5061e8y",
        "windows": {
          "elements": [
            {
              "hwnd": 1380096,
              "title": "KLayout 0.28.17 - 6Inch_Dice_Test_Mask_V6_CARDIFF_NON_INVERTED_0um_OVERSIZE_CPWRESEDIT_V3.gds [toplevel]",
              "exe": "klayout_app.exe",
              "class": "Qt51511QWindowIcon",
              "rect": {
                "left": 17,
                "top": 17,
                "right": 1896,
                "bottom": 2099
              }
            }
          ],
          "focused": 0
        }
      },
      {
        "id": "th7BkCMZ02uB8IWU7wutx",
        "windows": {
          "elements": [
            {
              "hwnd": 3346818,
              "title": "PowerShell",
              "exe": "WindowsTerminal.exe",
              "class": "CASCADIA_HOSTING_WINDOW_CLASS",
              "rect": {
                "left": 1927,
                "top": 17,
                "right": 1896,
                "bottom": 1042
              }
            }
          ],
          "focused": 0
        }
      },
      {
        "id": "dHQH9IfKBap1sRa7ovYiB",
        "windows": {
          "elements": [
            {
              "hwnd": 5377456,
              "title": "Save Layout Options",
              "exe": "klayout_app.exe",
              "class": "Qt51511QWindowIcon",
              "rect": {
                "left": 1927,
                "top": 1073,
                "right": 1896,
                "bottom": 1043
              }
            }
          ],
          "focused": 0
        }
      }
    ],
    "focused": 1

prime marlinBOT
#

GG @lethal igloo, you just advanced to level 1!

lethal igloo
#

this is the full state output, i dont have nitro to post here

#

komorebic --version
komorebic 0.1.30
branch:master
commit_hash:4acd408b
build_time:2024-10-30 11:08:39 +00:00
build_env:rustc 1.81.0 (eeb90cda1 2024-09-04),stable-x86_64-pc-windows-msvc

lethal igloo
#

Update:

I found that the hidden window will actually come back to life showing only once everything else has been moved off that workspace

#

issue with komorebi not registering when a window no longer exists [updated: workspace clear]

ashen cypress
#

same thing happening to me with windows terminal. if i open a terminal and close it, the empty space isn't occupied by any other window. using komorebic visible-windows shows that komorebi still thinks the closed window is still there.

Moving everything off the workspace will then create a transparent window with the window title of the closed window

ashen cypress
#

seems to be fixed for now