Skip to content
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]: Closed terminal leaving ghost tiles when multiple terminal windows open #1152

Open
dinesh-58 opened this issue Nov 28, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@dinesh-58
Copy link

dinesh-58 commented Nov 28, 2024

Summary

I know the bug report template says not to open issues for ghost tiles but in this case, ignoring the window causing the ghost tile is not a proper fix. Happens to me with windows terminal where, if I open multiple terminal windows and close one, the empty space isn't occupied by any other window. Running komorebic visible-windows shows that komorebi still thinks the closed window is still there. Example screenshot and output:

image

{
  "AUO723C-5&10278117&0&UID256": [
    {
      "title": "New Issue · LGUG2Z/komorebi — Mozilla Firefox",
      "exe": "firefox.exe",
      "class": "MozillaWindowClass"
    },
    {
      "title": "PowerShell",
      "exe": "WindowsTerminal.exe",
      "class": "CASCADIA_HOSTING_WINDOW_CLASS"
    },
    {
      "title": "PowerShell",
      "exe": "WindowsTerminal.exe",
      "class": "CASCADIA_HOSTING_WINDOW_CLASS"
    }
  ]
}

Moving everything off the workspace will then create a transparent window with the window title of the closed window (shown below) which can then be closed.

image

Not sure if this is being caused by Windows Terminal as closing the terminal seems to kill its powershell process as well when viewing inside Task Manager.

Version Information

OS Name: Microsoft Windows 10 Home
OS Version: 10.0.19045 N/A Build 19045

komorebic 0.1.30
tag:v0.1.30
commit_hash:9a3dbccc
build_time:2024-11-03 23:49:52 +00:00
build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.30/schema.json",
  "app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 0,
  "default_container_padding": 0,
  "border_padding": 0,
  "border_offset": 0,
  "border_width": 2,
  "border": true,
  "border_colours": {
    "single": "#fff",
    "stack": "#00a542",
    "monocle": "#ff3399"
  },
  "mouse_follows_focus": false,
  "monitors": [
    {
      "workspaces": [
        {
          "name": "1",
          "layout": "VerticalStack",
          "initial_workspace_rules": [
              {
                  "id": "emacs.exe",
                  "kind": "Exe",
                  "matching_strategy": "Equals"
              }
          ]
        },
        {
          "name": "2",
          "layout": "VerticalStack",
          "initial_workspace_rules": [
              {
                  "id": "firefox.exe",
                  "kind": "Exe",
                  "matching_strategy": "Equals"
              }
          ]
        },
        {
          "name": "3",
          "layout": "VerticalStack"
        },
        {
          "name": "4",
          "layout": "VerticalStack"
        },
        {
          "name": "5",
          "layout": "VerticalStack"
        }
      ]
    }
  ],
  "ignore_rules": [
    {
        "kind": "Exe",
        "id": "Zebar.exe",
        "matching_strategy": "Equals"
    }, 
    {
        "kind": "Title",
        "id": "[Pp]icture.in.[Pp]icture",
        "matching_strategy": "Regex"
    },
    {
        "kind": "Title",
        "id": "Firefox — Sharing Indicator",
        "matching_strategy": "Equals"
    } 
  ],
  "stackbar": {
    "height": 20,
    "mode": "OnStack",
    "tabs": {
      "width": 300,
      "focused_text": "#00a542",
      "unfocused_text": "#b3b3b3",
      "background": "#141414"
    }
  }
}

Hotkey Configuration

.shell pwsh

# Reload whkd configuration
# alt + o                 : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd
alt + o                 : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell
alt + shift + o         : komorebic reload-configuration

# App shortcuts - these require shell to be pwsh / powershell
# The apps will be focused if open, or launched if not open
alt + b                 : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox }
# alt + b                 : if ($wshell.AppActivate('Chrome') -eq $False) { start chrome }
alt + escape            : start wt

# Focus windows
alt + h                 : komorebic focus left
alt + j                 : komorebic cycle-focus next
alt + k                 : komorebic cycle-focus previous
alt + l                 : komorebic focus right
# alt + shift + oem_4     : komorebic cycle-focus previous # oem_4 is [
# alt + shift + oem_6     : komorebic cycle-focus next # oem_6 is ]

# Move windows
alt + shift + h         : komorebic move left
alt + shift + j         : komorebic move down
alt + shift + k         : komorebic move up
alt + shift + l         : komorebic move right
alt + shift + return    : komorebic promote

# Stack windows
#alt + left              : komorebic stack left
#alt + down              : komorebic stack down
#alt + up                : komorebic stack up
#alt + right             : komorebic stack right
alt + oem_1             : komorebic unstack # oem_1 is ;
alt + oem_4             : komorebic cycle-stack previous # oem_4 is [
alt + oem_6             : komorebic cycle-stack next # oem_6 is ]

# Resize
alt + oem_plus          : komorebic resize-axis horizontal increase
alt + oem_minus         : komorebic resize-axis horizontal decrease
alt + shift + oem_plus  : komorebic resize-axis vertical increase
alt + shift + oem_minus : komorebic resize-axis vertical decrease

# Manipulate windows
alt + shift + f         : komorebic toggle-float
alt + f                 : komorebic toggle-maximize
alt + shift + c         : komorebic close
alt + d                 : komorebic minimize


# Window manager options
alt + shift + r         : komorebic retile
alt + p                 : komorebic toggle-pause

# Layouts
# alt + x                 : komorebic flip-layout horizontal
# alt + y                 : komorebic flip-layout vertical

# Workspaces
alt + 1                 : komorebic focus-workspace 0
alt + 2                 : komorebic focus-workspace 1
alt + 3                 : komorebic focus-workspace 2
alt + 4                 : komorebic focus-workspace 3
alt + 5                 : komorebic focus-workspace 4
alt + w                 : komorebic focus-last-workspace

# Move windows across workspaces
alt + shift + 1         : komorebic send-to-workspace 0
alt + shift + 2         : komorebic send-to-workspace 1
alt + shift + 3         : komorebic send-to-workspace 2
alt + shift + 4         : komorebic send-to-workspace 3
alt + shift + 5         : komorebic send-to-workspace 4

Output of komorebic check

KOMOREBI_CONFIG_HOME detected: C:\Users\sujal.config\komorebi

Looking for configuration files in C:\Users\sujal.config\komorebi

Found komorebi.json; this file can be passed to the start command with the --config flag

Found C:\Users\sujal.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

@dinesh-58 dinesh-58 added the bug Something isn't working label Nov 28, 2024
@dinesh-58
Copy link
Author

Issue has been reported by someone else in this discord thread, though with something other than windows terminal

@LGUG2Z
Copy link
Owner

LGUG2Z commented Nov 28, 2024

I'm not able to reproduce this with Windows Terminal 🤔 - I wonder if this is something specific to Windows 10

@alex-ds13
Copy link
Contributor

alex-ds13 commented Nov 28, 2024

This might be related to this issue on Windows terminal microsoft/terminal#17298.

How exactly are you closing the window? To me after closing the window it takes a second but then the ghost tile and border disappears. This is because the workaround for the issue above is having a thread going on every second checking for this kind of windows and remove them. That's why it takes a few milliseconds to a second but it always removes them. There is even a line on the logs saying:

 INFO komorebi::reaper: reaped 1 orphan window(s) and 0 orphaned container(s) on monitor: 0, workspace: 4

Can you check your logs to see if the line above ever shows after you close it?

@dinesh-58
Copy link
Author

Didn't find anything related to reaper in the logs. Komorebi doesn't seem to create the log file for me so I used the log command and got these logs when closing the terminal window.

2024-11-29T02:50:37.538196Z  INFO process_command{Close}: komorebi::process_command: processed
2024-11-29T02:50:37.567411Z  INFO process_event{event="Hide" winevent="ObjectHide" hwnd=1640544}: komorebi::process_event: processed: (hwnd: 1640544, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-29T02:50:37.576579Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}:update_focused_workspace{follow_focus=false trigger_focus=false}: komorebi::window_manager: updating
2024-11-29T02:50:37.580030Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}:focus_window{idx=0}: komorebi::container: focusing window
2024-11-29T02:50:37.581216Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}:focus_container{idx=1}: komorebi::workspace: focusing container
2024-11-29T02:50:37.584954Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}: komorebi::process_event: processed: (hwnd: 1048988, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)

This behavior was fixed for me a while back but again started happening randomly. Happens when using both the close button for the window as well as the whkd binding

@dinesh-58
Copy link
Author

To me after closing the window it takes a second but then the ghost tile and border disappears.

If I have only one terminal open and close it, this happens and the empty space is reclaimed after a second. But if I have two terminals open and close one, its empty space creates a lingering ghost tile.

@alex-ds13
Copy link
Contributor

alex-ds13 commented Nov 29, 2024

Didn't find anything related to reaper in the logs. Komorebi doesn't seem to create the log file for me so I used the log command and got these logs when closing the terminal window.

2024-11-29T02:50:37.538196Z  INFO process_command{Close}: komorebi::process_command: processed
2024-11-29T02:50:37.567411Z  INFO process_event{event="Hide" winevent="ObjectHide" hwnd=1640544}: komorebi::process_event: processed: (hwnd: 1640544, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-29T02:50:37.576579Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}:update_focused_workspace{follow_focus=false trigger_focus=false}: komorebi::window_manager: updating
2024-11-29T02:50:37.580030Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}:focus_window{idx=0}: komorebi::container: focusing window
2024-11-29T02:50:37.581216Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}:focus_container{idx=1}: komorebi::workspace: focusing container
2024-11-29T02:50:37.584954Z  INFO process_event{event="FocusChange" winevent="SystemForeground" hwnd=1048988}: komorebi::process_event: processed: (hwnd: 1048988, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)

This behavior was fixed for me a while back but again started happening randomly. Happens when using both the close button for the window as well as the whkd binding

The logs are kept on %LOCALAPPDATA%/TEMP or simply %TEMP%. There will be some files with name starting with komorebi with the day which the log relates to. You want to see the files that have plaintext on them. Search them for the term komorebi::reaper.

It seems to me that the reaper thread has stopped for some reason. @LGUG2Z there should be a "reaped 1 orphan window" above on those logs after closing windows terminal, right?

There should be some error in the logs saying what happened. The repear thread should restart itself even if there is an error, so it would be important to get those logs to understand exactly what might have happened.

@dinesh-58
Copy link
Author

Ah, thanks. I was looking for logs in the komorebi folder inside localappdata. These are the logs when closing only one of the two terminals (no reaper reaped log but there is an error):

2024-11-30T15:47:05.783853Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m525300}: komorebi::process_event: processed: (hwnd: 525300, title: Temp, exe: explorer.exe, class: CabinetWClass)
2024-11-30T15:47:06.284989Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m525300}: komorebi::process_event: processed: (hwnd: 525300, title: Temp, exe: explorer.exe, class: CabinetWClass)
2024-11-30T15:47:09.396163Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Destroy" �[3mwinevent�[0m�[2m=�[0m"ObjectDestroy" �[3mhwnd�[0m�[2m=�[0m263606}: komorebi::process_event: processed: (hwnd: 263606)
2024-11-30T15:47:10.604340Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m525300}: komorebi::process_event: processed: (hwnd: 525300, title: Temp, exe: explorer.exe, class: CabinetWClass)
2024-11-30T15:47:12.397028Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m460574}: komorebi::process_event: processed: (hwnd: 460574, title: Terminal, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:47:12.491044Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m460574}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:47:12.491925Z ERROR komorebi::process_event: there is no container/window
2024-11-30T15:47:12.511307Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m460574}: komorebi::process_event: processed: (hwnd: 460574, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:47:12.626349Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460574}:focus_window{�[3midx�[0m�[2m=�[0m0}: komorebi::container: focusing window
2024-11-30T15:47:12.630659Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460574}:focus_container{�[3midx�[0m�[2m=�[0m2}: komorebi::workspace: focusing container
2024-11-30T15:47:12.633758Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460574}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:47:12.650508Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460574}: komorebi::process_event: processed: (hwnd: 460574, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:47:13.816723Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m525300}: komorebi::process_event: processed: (hwnd: 525300, title: Temp, exe: explorer.exe, class: CabinetWClass)
2024-11-30T15:47:15.748179Z  INFO process_command{Close}: komorebi::process_command: processed
2024-11-30T15:47:15.759371Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Hide" �[3mwinevent�[0m�[2m=�[0m"ObjectHide" �[3mhwnd�[0m�[2m=�[0m460574}: komorebi::process_event: processed: (hwnd: 460574, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:47:15.761485Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m591070}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:47:15.762480Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m591070}:focus_window{�[3midx�[0m�[2m=�[0m0}: komorebi::container: focusing window
2024-11-30T15:47:15.764684Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m591070}:focus_container{�[3midx�[0m�[2m=�[0m1}: komorebi::workspace: focusing container
2024-11-30T15:47:15.771853Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m591070}: komorebi::process_event: processed: (hwnd: 591070, title: C:\tools\neovim\nvim-win64\bin\nvim.exe, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)

These are the logs when opening 2 terminal windows, then closing both of them. Reaper does seem to trigger when I close both of the open terminals and then the space is reclaimed. Note: I have a floating nvim window open that I switch to at the end.

2024-11-30T15:51:33.865886Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m460222}: komorebi::process_event: processed: (hwnd: 460222, title: Terminal, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:33.948545Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m460222}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:51:33.949044Z ERROR komorebi::process_event: there is no container/window
2024-11-30T15:51:33.969071Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m460222}: komorebi::process_event: processed: (hwnd: 460222, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:34.091848Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460222}:focus_window{�[3midx�[0m�[2m=�[0m0}: komorebi::container: focusing window
2024-11-30T15:51:34.093616Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460222}:focus_container{�[3midx�[0m�[2m=�[0m1}: komorebi::workspace: focusing container
2024-11-30T15:51:34.094703Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460222}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:51:34.105165Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m460222}: komorebi::process_event: processed: (hwnd: 460222, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:35.366267Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m525300}: komorebi::process_event: processed: (hwnd: 525300, title: Temp, exe: explorer.exe, class: CabinetWClass)
2024-11-30T15:51:36.431701Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m329398}: komorebi::process_event: processed: (hwnd: 329398, title: Terminal, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:36.482544Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m329398}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:51:36.483486Z ERROR komorebi::process_event: there is no container/window
2024-11-30T15:51:36.504657Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m329398}: komorebi::process_event: processed: (hwnd: 329398, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:36.600923Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m329398}:focus_window{�[3midx�[0m�[2m=�[0m0}: komorebi::container: focusing window
2024-11-30T15:51:36.601760Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m329398}:focus_container{�[3midx�[0m�[2m=�[0m2}: komorebi::workspace: focusing container
2024-11-30T15:51:36.602249Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m329398}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:51:36.612960Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m329398}: komorebi::process_event: processed: (hwnd: 329398, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:37.782403Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m525300}: komorebi::process_event: processed: (hwnd: 525300, title: Temp, exe: explorer.exe, class: CabinetWClass)
2024-11-30T15:51:38.617775Z  INFO process_command{Close}: komorebi::process_command: processed
2024-11-30T15:51:38.633278Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Hide" �[3mwinevent�[0m�[2m=�[0m"ObjectHide" �[3mhwnd�[0m�[2m=�[0m329398}: komorebi::process_event: processed: (hwnd: 329398, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:38.636062Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m460222}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:51:38.638224Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m460222}:focus_window{�[3midx�[0m�[2m=�[0m0}: komorebi::container: focusing window
2024-11-30T15:51:38.639920Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m460222}:focus_container{�[3midx�[0m�[2m=�[0m1}: komorebi::workspace: focusing container
2024-11-30T15:51:38.648857Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m460222}: komorebi::process_event: processed: (hwnd: 460222, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:40.834409Z  INFO process_command{Close}: komorebi::process_command: processed
2024-11-30T15:51:40.850291Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"Hide" �[3mwinevent�[0m�[2m=�[0m"ObjectHide" �[3mhwnd�[0m�[2m=�[0m460222}: komorebi::process_event: processed: (hwnd: 460222, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
2024-11-30T15:51:40.854171Z  INFO process_event{�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m591070}:update_focused_workspace{�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse}: komorebi::window_manager: updating
2024-11-30T15:51:40.861406Z ERROR komorebi::process_event: The parameter is incorrect. (0x80070057)
2024-11-30T15:51:40.866119Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.867331Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.868936Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.876793Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.878315Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.879185Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.881466Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.883087Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.883747Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.884247Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.884819Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.885504Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.886096Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.886531Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.887292Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.888011Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.889490Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.890065Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.890814Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.891709Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.892450Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.893054Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.893743Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.894164Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.894829Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.895564Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.896142Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.896939Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.897495Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.897961Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.898590Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.899418Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.899974Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.900463Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.901207Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.901830Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.902459Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.902970Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.903679Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.904292Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.904880Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.905803Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.906595Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.907361Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.907981Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.908724Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.909486Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.910131Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.910827Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.911741Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.912516Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.913411Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.914330Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.915352Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.916034Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.916519Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.917252Z  INFO focus_window{�[3midx�[0m�[2m=�[0m0}: komorebi::container: focusing window
2024-11-30T15:51:40.917638Z  WARN komorebi::border_manager: restarting failed thread: Invalid window handle. (0x80070578)
2024-11-30T15:51:40.918232Z  INFO focus_container{�[3midx�[0m�[2m=�[0m0}: komorebi::workspace: focusing container
2024-11-30T15:51:40.918662Z  INFO komorebi::border_manager: listening
2024-11-30T15:51:40.919174Z  INFO focus_window{�[3midx�[0m�[2m=�[0m0}: komorebi::container: focusing window
2024-11-30T15:51:40.919633Z  INFO focus_container{�[3midx�[0m�[2m=�[0m0}: komorebi::workspace: focusing container
2024-11-30T15:51:40.928359Z  INFO komorebi::reaper: reaped 2 orphan window(s) and 0 orphaned container(s) on monitor: 0, workspace: 1

@dinesh-58
Copy link
Author

Also found another strange behavior with windows terminal. Steps to recreate:

  1. Have 2 windows in a workspace with one being windows terminal
  2. maximize the terminal, then close it

This leaves a transparent window with the same titlebar as the closed terminal, like so:
image

This behavior seems kinda unpredictable as when I first encountered this, it didn't leave a transparent window but only a ghost tile that could be fixed by maximizing, then unmaximizing the non-terminal window. I started testing it and then the transparent window started appearing.

Logs recorded after opening a terminal, maximizing, closing it. At the end, I minimize the transparent window and switch to a floating nvim window

�[2m2024-12-01T01:41:50.713737Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Destroy" �[3mwinevent�[0m�[2m=�[0m"ObjectDestroy" �[3mhwnd�[0m�[2m=�[0m394678�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 394678)
�[2m2024-12-01T01:41:51.626922Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mmaximize_window�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m maximizing windowj
�[2m2024-12-01T01:41:51.627432Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mmaximize_window�[0m�[2m:�[0m�[1mfocus_window�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::container�[0m�[2m:�[0m focusing window
�[2m2024-12-01T01:41:51.634703Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mmaximize_window�[0m�[2m:�[0m�[1mfocus_container�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::workspace�[0m�[2m:�[0m focusing container
�[2m2024-12-01T01:41:51.635894Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mtrue �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:41:51.637803Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_command�[0m�[2m:�[0m processed
�[2m2024-12-01T01:41:53.091635Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1munmaximize_window�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m unmaximizing window
�[2m2024-12-01T01:41:53.092124Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1munmaximize_window�[0m�[2m:�[0m�[1mfocus_container�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m1�[1m}�[0m�[2m:�[0m �[2mkomorebi::workspace�[0m�[2m:�[0m focusing container
�[2m2024-12-01T01:41:53.094438Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mtrue �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:41:53.102089Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_command�[0m�[2m:�[0m processed
�[2m2024-12-01T01:41:54.242771Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleFloat�[1m}�[0m�[2m:�[0m�[1mtoggle_float�[0m�[2m:�[0m�[1mfloat_window�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m floating window
�[2m2024-12-01T01:41:54.243297Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleFloat�[1m}�[0m�[2m:�[0m�[1mtoggle_float�[0m�[2m:�[0m�[1mfloat_window�[0m�[2m:�[0m�[1mfocus_window�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::container�[0m�[2m:�[0m focusing window
�[2m2024-12-01T01:41:54.243846Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleFloat�[1m}�[0m�[2m:�[0m�[1mtoggle_float�[0m�[2m:�[0m�[1mfloat_window�[0m�[2m:�[0m�[1mfocus_container�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::workspace�[0m�[2m:�[0m focusing container
�[2m2024-12-01T01:41:54.246418Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleFloat�[1m}�[0m�[2m:�[0m�[1mtoggle_float�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mtrue�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:41:54.254297Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleFloat�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_command�[0m�[2m:�[0m processed
�[2m2024-12-01T01:41:55.548514Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"MoveResizeStart" �[3mwinevent�[0m�[2m=�[0m"SystemMoveSizeStart" �[3mhwnd�[0m�[2m=�[0m67140�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 67140, title: C:\tools\neovim\nvim-win64\bin\nvim.exe, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:41:56.106999Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"MoveResizeEnd" �[3mwinevent�[0m�[2m=�[0m"SystemMoveSizeEnd" �[3mhwnd�[0m�[2m=�[0m67140�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 67140, title: C:\tools\neovim\nvim-win64\bin\nvim.exe, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:05.871629Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 15009036, title: Terminal, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:05.947895Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:05.948404Z�[0m �[31mERROR�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m there is no container/window
�[2m2024-12-01T01:42:05.970905Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"TitleUpdate" �[3mwinevent�[0m�[2m=�[0m"ObjectNameChange" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 15009036, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:06.062023Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mfocus_window�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::container�[0m�[2m:�[0m focusing window
�[2m2024-12-01T01:42:06.062715Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mfocus_container�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m1�[1m}�[0m�[2m:�[0m �[2mkomorebi::workspace�[0m�[2m:�[0m focusing container
�[2m2024-12-01T01:42:06.063681Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:06.072569Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 15009036, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:06.413267Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Destroy" �[3mwinevent�[0m�[2m=�[0m"ObjectDestroy" �[3mhwnd�[0m�[2m=�[0m198160�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 198160)
�[2m2024-12-01T01:42:11.593984Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mmaximize_window�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m maximizing windowj
�[2m2024-12-01T01:42:11.594569Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mmaximize_window�[0m�[2m:�[0m�[1mfocus_window�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::container�[0m�[2m:�[0m focusing window
�[2m2024-12-01T01:42:11.598582Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mmaximize_window�[0m�[2m:�[0m�[1mfocus_container�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::workspace�[0m�[2m:�[0m focusing container
�[2m2024-12-01T01:42:11.599602Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m�[1mtoggle_maximize�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mtrue �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:11.601080Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mToggleMaximize�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_command�[0m�[2m:�[0m processed
�[2m2024-12-01T01:42:13.493694Z�[0m �[32m INFO�[0m �[1mprocess_command�[0m�[1m{�[0mClose�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_command�[0m�[2m:�[0m processed
�[2m2024-12-01T01:42:13.508754Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Hide" �[3mwinevent�[0m�[2m=�[0m"ObjectHide" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 15009036, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:13.512715Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m67140�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:13.560486Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m67140�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 67140, title: C:\tools\neovim\nvim-win64\bin\nvim.exe, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:13.564014Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"ObjectShow" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 15009036, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:22.501676Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:34.468279Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Minimize" �[3mwinevent�[0m�[2m=�[0m"SystemMinimizeStart" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:34.481703Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Minimize" �[3mwinevent�[0m�[2m=�[0m"SystemMinimizeStart" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 15009036, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:34.483921Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m67140�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:34.501650Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m67140�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 67140, title: C:\tools\neovim\nvim-win64\bin\nvim.exe, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)
�[2m2024-12-01T01:42:34.520368Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"FocusChange" �[3mwinevent�[0m�[2m=�[0m"SystemForeground" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:34.521501Z�[0m �[31mERROR�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m there is no container/window
�[2m2024-12-01T01:42:34.526780Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"SystemMinimizeEnd" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mfocus_window�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m0�[1m}�[0m�[2m:�[0m �[2mkomorebi::container�[0m�[2m:�[0m focusing window
�[2m2024-12-01T01:42:34.527911Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"SystemMinimizeEnd" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mfocus_container�[0m�[1m{�[0m�[3midx�[0m�[2m=�[0m1�[1m}�[0m�[2m:�[0m �[2mkomorebi::workspace�[0m�[2m:�[0m focusing container
�[2m2024-12-01T01:42:34.530816Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"SystemMinimizeEnd" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m�[1mupdate_focused_workspace�[0m�[1m{�[0m�[3mfollow_focus�[0m�[2m=�[0mfalse �[3mtrigger_focus�[0m�[2m=�[0mfalse�[1m}�[0m�[2m:�[0m �[2mkomorebi::window_manager�[0m�[2m:�[0m updating
�[2m2024-12-01T01:42:34.555550Z�[0m �[32m INFO�[0m �[1mprocess_event�[0m�[1m{�[0m�[3mevent�[0m�[2m=�[0m"Show" �[3mwinevent�[0m�[2m=�[0m"SystemMinimizeEnd" �[3mhwnd�[0m�[2m=�[0m15009036�[1m}�[0m�[2m:�[0m �[2mkomorebi::process_event�[0m�[2m:�[0m processed: (hwnd: 15009036, title: PowerShell, exe: WindowsTerminal.exe, class: CASCADIA_HOSTING_WINDOW_CLASS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants