Focusing UWP app doesn't work #94

Closed
opened 2026-01-05 14:48:17 +01:00 by adam · 5 comments
Owner

Originally created by @calendulish on GitHub (Jun 11, 2022).

When I try to focus Whatsapp Beta UWP app it's throwing "Access Denied" error.

The app can be download here:
https://www.microsoft.com/store/productId/9NBDXK71NK08

komorebic state

{
  "monitors": {
    "elements": [
      {
        "id": 65537,
        "size": {
          "left": 0,
          "top": 0,
          "right": 2560,
          "bottom": 1080
        },
        "work_area_size": {
          "left": 0,
          "top": 30,
          "right": 2560,
          "bottom": 1050
        },
        "workspaces": {
          "elements": [
            {
              "name": "default",
              "containers": {
                "elements": [
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 788498,
                          "title": "C:\\Users\\micro\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup",
                          "exe": "explorer.exe",
                          "class": "CabinetWClass",
                          "rect": {
                            "left": 13,
                            "top": 50,
                            "right": 841,
                            "bottom": 1017
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 1050252,
                          "title": "C:\\lara_boot\\config\\komorebi",
                          "exe": "explorer.exe",
                          "class": "CabinetWClass",
                          "rect": {
                            "left": 860,
                            "top": 50,
                            "right": 841,
                            "bottom": 502
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 525078,
                          "title": "New Issue · LGUG2Z/komorebi - https://github.com/ - Personal - Microsoft​ Edge Dev",
                          "exe": "msedge.exe",
                          "class": "Chrome_WidgetWin_1",
                          "rect": {
                            "left": 860,
                            "top": 565,
                            "right": 841,
                            "bottom": 502
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 10487478,
                          "title": "WhatsApp Beta",
                          "exe": "ApplicationFrameHost.exe",
                          "class": "ApplicationFrameWindow",
                          "rect": {
                            "left": 1707,
                            "top": 50,
                            "right": 841,
                            "bottom": 1017
                          }
                        }
                      ],
                      "focused": 0
                    }
                  }
                ],
                "focused": 3
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Custom": [
                  {
                    "column": "Primary",
                    "configuration": null
                  },
                  {
                    "column": "Secondary",
                    "configuration": {
                      "Horizontal": 2
                    }
                  },
                  {
                    "column": "Tertiary",
                    "configuration": "Horizontal"
                  }
                ]
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 10,
              "container_padding": 10,
              "resize_dimensions": [
                null,
                null,
                null,
                null
              ],
              "tile": true
            }
          ],
          "focused": 0
        }
      }
    ],
    "focused": 0
  },
  "is_paused": false,
  "invisible_borders": {
    "left": 7,
    "top": 0,
    "right": 14,
    "bottom": 7
  },
  "resize_delta": 50,
  "new_window_behaviour": "Create",
  "work_area_offset": null,
  "focus_follows_mouse": null,
  "mouse_follows_focus": false,
  "has_pending_raise_op": false,
  "float_identifiers": [
    "OPContainerClass",
    "IHWindowClass",
    "1Password.exe",
    "Window Spy",
    "Calculator",
    "CredentialUIBroker.exe",
    "Chrome_RenderWidgetHostHWND",
    "SunAwtDialog",
    "_WwB",
    "Microsoft Teams Notifications",
    "QuickLook.exe",
    "OperationStatusWindow",
    "Control Panel",
    "Paradox Launcher.exe",
    "TaskManagerWindow",
    "tcconfig.exe",
    "Zoom.exe",
    "ueli.exe"
  ],
  "manage_identifiers": [
    "GalaxyClient.exe",
    "nhm_app.exe",
    "Obsidian.exe",
    "slack.exe"
  ],
  "layered_whitelist": [
    "steam.exe",
    "EXCEL.EXE",
    "OUTLOOK.EXE",
    "POWERPNT.EXE",
    "WINWORD.EXE"
  ],
  "tray_and_multi_window_identifiers": [
    "explorer.exe",
    "firefox.exe",
    "chrome.exe",
    "idea64.exe",
    "ApplicationFrameHost.exe",
    "steam.exe",
    "AutoHotkeyU64.exe",
    "Beeper.exe",
    "EpicGamesLauncher.exe",
    "Discord.exe",
    "GalaxyClient.exe",
    "pycharm64.exe",
    "signal.exe",
    "slack.exe",
    "ueli.exe",
    "TranslucentTB.exe",
    "tcconfig.exe",
    "qbittorrent.exe",
    "Spotify.exe"
  ],
  "border_overflow_identifiers": [
    "Beeper.exe",
    "EpicGamesLauncher.exe",
    "Discord.exe",
    "GalaxyClient.exe",
    "EXCEL.EXE",
    "OUTLOOK.EXE",
    "POWERPNT.EXE",
    "WINWORD.EXE",
    "nhm_app.exe",
    "Obsidian.exe",
    "slack.exe",
    "Spotify.exe",
    "vguiPopupWindow",
    "Steam.exe"
  ],
  "name_change_on_launch_identifiers": [
    "firefox.exe",
    "idea64.exe",
    "pycharm64.exe"
  ]
}

komorebic.log

2022-06-11T09:52:00.890203Z  INFO init: komorebi::window_manager: initialising
2022-06-11T09:52:00.905603Z  INFO init:update_focused_workspace{follow_focus=false}: komorebi::window_manager: updating
2022-06-11T09:52:00.972866Z  INFO komorebi::process_command: listening
2022-06-11T09:52:00.972987Z  INFO komorebi::process_event: listening
2022-06-11T09:52:01.297244Z  INFO read_commands:process_command{FloatRule(Exe, "1Password.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.320992Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "AutoHotkeyU64.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.419526Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Beeper.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.425174Z  INFO read_commands:process_command{FloatRule(Title, "Window Spy")}: komorebi::process_command: processed
2022-06-11T09:52:01.469255Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "Beeper.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.472332Z  INFO read_commands:process_command{FloatRule(Title, "Calculator")}: komorebi::process_command: processed
2022-06-11T09:52:01.492919Z  INFO read_commands:process_command{FloatRule(Exe, "CredentialUIBroker.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.506437Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "EpicGamesLauncher.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.508259Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "EpicGamesLauncher.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.511086Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Discord.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.512641Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "Discord.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.555186Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "GalaxyClient.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.559611Z  INFO read_commands:process_command{ManageRule(Exe, "GalaxyClient.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.633907Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "GalaxyClient.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.669826Z  INFO read_commands:process_command{FloatRule(Class, "Chrome_RenderWidgetHostHWND")}: komorebi::process_command: processed
2022-06-11T09:52:01.694894Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "chrome.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.702449Z  INFO read_commands:process_command{IdentifyObjectNameChangeApplication(Exe, "idea64.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.708326Z  INFO read_commands:process_command{FloatRule(Class, "SunAwtDialog")}: komorebi::process_command: processed
2022-06-11T09:52:01.713382Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "EXCEL.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:01.719779Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "idea64.exe")}: komorebi::process_command: processed
2022-06-11T09:52:01.723455Z  INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "EXCEL.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:01.728917Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "OUTLOOK.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:01.733881Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "POWERPNT.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:01.737812Z  INFO read_commands:process_command{FloatRule(Class, "_WwB")}: komorebi::process_command: processed
2022-06-11T09:52:01.741036Z  INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "OUTLOOK.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:01.743414Z  INFO read_commands:process_command{FloatRule(Title, "Microsoft Teams Notifications")}: komorebi::process_command: processed
2022-06-11T09:52:01.746414Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "WINWORD.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:01.931790Z  INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "POWERPNT.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:01.992135Z  INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "WINWORD.EXE")}: komorebi::process_command: processed
2022-06-11T09:52:02.014314Z  INFO read_commands:process_command{IdentifyObjectNameChangeApplication(Exe, "firefox.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.183778Z  INFO read_commands:process_command{ManageRule(Exe, "nhm_app.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.315327Z  INFO read_commands:process_command{ManageRule(Exe, "Obsidian.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.379161Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "nhm_app.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.421461Z  INFO read_commands:process_command{FloatRule(Exe, "QuickLook.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.472634Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "pycharm64.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.563376Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Obsidian.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.709855Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "firefox.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.739889Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "signal.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.790483Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "slack.exe")}: komorebi::process_command: processed
2022-06-11T09:52:02.875113Z  INFO read_commands:process_command{FloatRule(Class, "OperationStatusWindow")}: komorebi::process_command: processed
2022-06-11T09:52:02.927203Z ERROR komorebi::process_command: there is no monitor
2022-06-11T09:52:03.231056Z  INFO read_commands:process_command{InvisibleBorders(Rect { left: 7, top: 0, right: 14, bottom: 7 })}: komorebi::process_command: processed
2022-06-11T09:52:03.232770Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}:focus_monitor{idx=0}: komorebi::window_manager: focusing monitor
2022-06-11T09:52:03.233974Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}:focus_window{idx=0}: komorebi::container: focusing window
2022-06-11T09:52:03.235281Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}:focus_container{idx=0}: komorebi::workspace: focusing container
2022-06-11T09:52:03.236172Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}: komorebi::process_event: processed: (hwnd: 788498, title: C:\Users\micro\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup, exe: explorer.exe, class: CabinetWClass)
2022-06-11T09:52:03.237456Z  INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}:change_workspace_custom_layout{path="\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml"}: komorebi::window_manager: changing layout
2022-06-11T09:52:03.237987Z  INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}:change_workspace_custom_layout{path="\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml"}:focus_container{idx=0}: komorebi::workspace: focusing container
2022-06-11T09:52:03.238203Z  INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}:change_workspace_custom_layout{path="\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml"}:update_focused_workspace{follow_focus=true}: komorebi::window_manager: updating
2022-06-11T09:52:03.304463Z  INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}: komorebi::process_command: processed
2022-06-11T09:52:03.305790Z  INFO read_commands:process_command{FloatRule(Title, "Control Panel")}: komorebi::process_command: processed
2022-06-11T09:52:03.308321Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "slack.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.310553Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Spotify.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.313365Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Class, "vguiPopupWindow")}: komorebi::process_command: processed
2022-06-11T09:52:03.313894Z  INFO read_commands:process_command{IdentifyObjectNameChangeApplication(Exe, "pycharm64.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.314281Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "ueli.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.314766Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "TranslucentTB.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.315550Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "tcconfig.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.315868Z  INFO read_commands:process_command{FloatRule(Class, "SunAwtDialog")}: komorebi::process_command: processed
2022-06-11T09:52:03.316196Z  INFO read_commands:process_command{WorkspaceName(0, 1, "empty")}:set_workspace_name{monitor_idx=0 workspace_idx=1 name="empty"}: komorebi::window_manager: setting workspace name
2022-06-11T09:52:03.316499Z ERROR komorebi::process_command: there is no monitor
2022-06-11T09:52:03.316694Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "qbittorrent.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.317116Z  INFO read_commands:process_command{WatchConfiguration(true)}:watch_configuration{enable=true}: komorebi::window_manager: watching configuration for changes: C:\lara_boot\config\komorebi\komorebi.ahk
2022-06-11T09:52:03.317523Z  INFO read_commands:process_command{WatchConfiguration(true)}: komorebi::process_command: processed
2022-06-11T09:52:03.317849Z  INFO read_commands:process_command{ManageRule(Exe, "slack.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.318163Z  INFO read_commands:process_command{WorkspacePadding(0, 1, 30)}:set_workspace_padding{monitor_idx=0 workspace_idx=1 size=30}: komorebi::window_manager: setting workspace padding
2022-06-11T09:52:03.318469Z ERROR komorebi::process_command: there is no monitor
2022-06-11T09:52:03.318713Z  INFO read_commands:process_command{FloatRule(Exe, "Paradox Launcher.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.318985Z  INFO read_commands:process_command{IdentifyTrayApplication(Exe, "Spotify.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.319276Z  INFO read_commands:process_command{EnsureWorkspaces(0, 1)}:ensure_workspaces_for_monitor{monitor_idx=0 workspace_count=1}: komorebi::window_manager: ensuring workspace count
2022-06-11T09:52:03.319446Z  INFO read_commands:process_command{EnsureWorkspaces(0, 1)}: komorebi::process_command: processed
2022-06-11T09:52:03.319717Z  INFO read_commands:process_command{FloatRule(Class, "TaskManagerWindow")}: komorebi::process_command: processed
2022-06-11T09:52:03.320090Z  INFO read_commands:process_command{FloatRule(Exe, "tcconfig.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.320487Z  INFO read_commands:process_command{FloatRule(Exe, "Zoom.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.320807Z  INFO read_commands:process_command{ContainerPadding(0, 1, 30)}:set_container_padding{monitor_idx=0 workspace_idx=1 size=30}: komorebi::window_manager: setting container padding
2022-06-11T09:52:03.321114Z ERROR komorebi::process_command: there is no monitor
2022-06-11T09:52:03.321348Z  INFO read_commands:process_command{FloatRule(Title, "Control Panel")}: komorebi::process_command: processed
2022-06-11T09:52:03.321658Z  INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Steam.exe")}: komorebi::process_command: processed
2022-06-11T09:52:03.321982Z  INFO read_commands:process_command{WorkspaceName(0, 0, "default")}:set_workspace_name{monitor_idx=0 workspace_idx=0 name="default"}: komorebi::window_manager: setting workspace name
2022-06-11T09:52:03.322159Z  INFO read_commands:process_command{WorkspaceName(0, 0, "default")}: komorebi::process_command: processed
2022-06-11T09:52:03.322526Z  INFO read_commands:process_command{FloatRule(Title, "Calculator")}: komorebi::process_command: processed
2022-06-11T09:52:03.322866Z  INFO read_commands:process_command{ToggleMouseFollowsFocus}: komorebi::process_command: processed
2022-06-11T09:52:03.323661Z  INFO read_commands:process_command{FloatRule(Exe, "ueli.exe")}: komorebi::process_command: processed
2022-06-11T09:52:09.880231Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:09.880421Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:09.927901Z  INFO read_commands:process_command{FocusWindow(Right)}: komorebi::process_command: processed
2022-06-11T09:52:09.935618Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}:focus_monitor{idx=0}: komorebi::window_manager: focusing monitor
2022-06-11T09:52:09.936021Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}:focus_window{idx=0}: komorebi::container: focusing window
2022-06-11T09:52:09.937100Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:09.937749Z  INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}: komorebi::process_event: processed: (hwnd: 1050252, title: C:\lara_boot\config\komorebi, exe: explorer.exe, class: CabinetWClass)
2022-06-11T09:52:11.024997Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:11.025198Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:11.025710Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:11.773549Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:11.773777Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:11.774192Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:12.157758Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:12.157945Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:12.158881Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:12.771555Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:12.771741Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:12.772111Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:13.079649Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:13.080516Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:13.080912Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:13.844722Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:13.844920Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:13.845276Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:14.120323Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:14.120530Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:14.120971Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:14.411196Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:14.411405Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:14.411842Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:14.601967Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:14.602161Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:14.602559Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:14.880882Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:14.881095Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:14.881509Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:15.080272Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:15.081124Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:15.081561Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:15.389332Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:15.389522Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:15.389983Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:15.606601Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:15.606793Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:15.607199Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:15.903710Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:15.903918Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:15.904292Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:16.091773Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:16.091979Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:16.092395Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:16.410093Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:16.410288Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:16.410667Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:16.602937Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:16.603135Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:16.603528Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:16.899377Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:16.899578Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:16.899989Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:17.094132Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:17.094318Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:17.094717Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:17.414575Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:17.415414Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:17.415651Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:17.589803Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:17.590023Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:17.590446Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:17.892298Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:17.892491Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:17.892921Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:18.037786Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:18.038456Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:18.038869Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:18.330892Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:18.331259Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:18.332410Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:18.502956Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:18.503164Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:18.503593Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:18.803119Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container
2022-06-11T09:52:18.803322Z  INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container
2022-06-11T09:52:18.803782Z  INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed
2022-06-11T09:52:19.007603Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container
2022-06-11T09:52:19.007823Z  INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container
2022-06-11T09:52:19.008238Z ERROR komorebi::process_command: Access is denied.

2022-06-11T09:52:22.220385Z  INFO process_event{event=MonitorPoll(ObjectCreate, Window { hwnd: 1377406 })}: komorebi::process_event: processed: (hwnd: 1377406, title: OLEChannelWnd, exe: explorer.exe, class: OleMainThreadWndClass)
2022-06-11T09:52:24.841283Z  INFO read_commands:process_command{State}: komorebi::process_command: processed
2022-06-11T09:52:29.983952Z  INFO read_commands:process_command{Stop}: komorebi::process_command: received stop command, restoring all hidden windows and terminating process
2022-06-11T09:52:29.984141Z  INFO read_commands:process_command{Stop}:restore_all_windows: komorebi::window_manager: restoring all hidden windows

Originally created by @calendulish on GitHub (Jun 11, 2022). When I try to focus Whatsapp Beta UWP app it's throwing "Access Denied" error. The app can be download here: https://www.microsoft.com/store/productId/9NBDXK71NK08 <details><summary>komorebic state</summary> <p> ```yaml { "monitors": { "elements": [ { "id": 65537, "size": { "left": 0, "top": 0, "right": 2560, "bottom": 1080 }, "work_area_size": { "left": 0, "top": 30, "right": 2560, "bottom": 1050 }, "workspaces": { "elements": [ { "name": "default", "containers": { "elements": [ { "windows": { "elements": [ { "hwnd": 788498, "title": "C:\\Users\\micro\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup", "exe": "explorer.exe", "class": "CabinetWClass", "rect": { "left": 13, "top": 50, "right": 841, "bottom": 1017 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 1050252, "title": "C:\\lara_boot\\config\\komorebi", "exe": "explorer.exe", "class": "CabinetWClass", "rect": { "left": 860, "top": 50, "right": 841, "bottom": 502 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 525078, "title": "New Issue · LGUG2Z/komorebi - https://github.com/ - Personal - Microsoft​ Edge Dev", "exe": "msedge.exe", "class": "Chrome_WidgetWin_1", "rect": { "left": 860, "top": 565, "right": 841, "bottom": 502 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 10487478, "title": "WhatsApp Beta", "exe": "ApplicationFrameHost.exe", "class": "ApplicationFrameWindow", "rect": { "left": 1707, "top": 50, "right": 841, "bottom": 1017 } } ], "focused": 0 } } ], "focused": 3 }, "monocle_container": null, "maximized_window": null, "floating_windows": [], "layout": { "Custom": [ { "column": "Primary", "configuration": null }, { "column": "Secondary", "configuration": { "Horizontal": 2 } }, { "column": "Tertiary", "configuration": "Horizontal" } ] }, "layout_rules": [], "layout_flip": null, "workspace_padding": 10, "container_padding": 10, "resize_dimensions": [ null, null, null, null ], "tile": true } ], "focused": 0 } } ], "focused": 0 }, "is_paused": false, "invisible_borders": { "left": 7, "top": 0, "right": 14, "bottom": 7 }, "resize_delta": 50, "new_window_behaviour": "Create", "work_area_offset": null, "focus_follows_mouse": null, "mouse_follows_focus": false, "has_pending_raise_op": false, "float_identifiers": [ "OPContainerClass", "IHWindowClass", "1Password.exe", "Window Spy", "Calculator", "CredentialUIBroker.exe", "Chrome_RenderWidgetHostHWND", "SunAwtDialog", "_WwB", "Microsoft Teams Notifications", "QuickLook.exe", "OperationStatusWindow", "Control Panel", "Paradox Launcher.exe", "TaskManagerWindow", "tcconfig.exe", "Zoom.exe", "ueli.exe" ], "manage_identifiers": [ "GalaxyClient.exe", "nhm_app.exe", "Obsidian.exe", "slack.exe" ], "layered_whitelist": [ "steam.exe", "EXCEL.EXE", "OUTLOOK.EXE", "POWERPNT.EXE", "WINWORD.EXE" ], "tray_and_multi_window_identifiers": [ "explorer.exe", "firefox.exe", "chrome.exe", "idea64.exe", "ApplicationFrameHost.exe", "steam.exe", "AutoHotkeyU64.exe", "Beeper.exe", "EpicGamesLauncher.exe", "Discord.exe", "GalaxyClient.exe", "pycharm64.exe", "signal.exe", "slack.exe", "ueli.exe", "TranslucentTB.exe", "tcconfig.exe", "qbittorrent.exe", "Spotify.exe" ], "border_overflow_identifiers": [ "Beeper.exe", "EpicGamesLauncher.exe", "Discord.exe", "GalaxyClient.exe", "EXCEL.EXE", "OUTLOOK.EXE", "POWERPNT.EXE", "WINWORD.EXE", "nhm_app.exe", "Obsidian.exe", "slack.exe", "Spotify.exe", "vguiPopupWindow", "Steam.exe" ], "name_change_on_launch_identifiers": [ "firefox.exe", "idea64.exe", "pycharm64.exe" ] } ``` </p> </details> <details><summary>komorebic.log</summary> <p> ```py 2022-06-11T09:52:00.890203Z INFO init: komorebi::window_manager: initialising 2022-06-11T09:52:00.905603Z INFO init:update_focused_workspace{follow_focus=false}: komorebi::window_manager: updating 2022-06-11T09:52:00.972866Z INFO komorebi::process_command: listening 2022-06-11T09:52:00.972987Z INFO komorebi::process_event: listening 2022-06-11T09:52:01.297244Z INFO read_commands:process_command{FloatRule(Exe, "1Password.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.320992Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "AutoHotkeyU64.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.419526Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Beeper.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.425174Z INFO read_commands:process_command{FloatRule(Title, "Window Spy")}: komorebi::process_command: processed 2022-06-11T09:52:01.469255Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "Beeper.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.472332Z INFO read_commands:process_command{FloatRule(Title, "Calculator")}: komorebi::process_command: processed 2022-06-11T09:52:01.492919Z INFO read_commands:process_command{FloatRule(Exe, "CredentialUIBroker.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.506437Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "EpicGamesLauncher.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.508259Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "EpicGamesLauncher.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.511086Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Discord.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.512641Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "Discord.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.555186Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "GalaxyClient.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.559611Z INFO read_commands:process_command{ManageRule(Exe, "GalaxyClient.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.633907Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "GalaxyClient.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.669826Z INFO read_commands:process_command{FloatRule(Class, "Chrome_RenderWidgetHostHWND")}: komorebi::process_command: processed 2022-06-11T09:52:01.694894Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "chrome.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.702449Z INFO read_commands:process_command{IdentifyObjectNameChangeApplication(Exe, "idea64.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.708326Z INFO read_commands:process_command{FloatRule(Class, "SunAwtDialog")}: komorebi::process_command: processed 2022-06-11T09:52:01.713382Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "EXCEL.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:01.719779Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "idea64.exe")}: komorebi::process_command: processed 2022-06-11T09:52:01.723455Z INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "EXCEL.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:01.728917Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "OUTLOOK.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:01.733881Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "POWERPNT.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:01.737812Z INFO read_commands:process_command{FloatRule(Class, "_WwB")}: komorebi::process_command: processed 2022-06-11T09:52:01.741036Z INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "OUTLOOK.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:01.743414Z INFO read_commands:process_command{FloatRule(Title, "Microsoft Teams Notifications")}: komorebi::process_command: processed 2022-06-11T09:52:01.746414Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "WINWORD.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:01.931790Z INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "POWERPNT.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:01.992135Z INFO read_commands:process_command{IdentifyLayeredApplication(Exe, "WINWORD.EXE")}: komorebi::process_command: processed 2022-06-11T09:52:02.014314Z INFO read_commands:process_command{IdentifyObjectNameChangeApplication(Exe, "firefox.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.183778Z INFO read_commands:process_command{ManageRule(Exe, "nhm_app.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.315327Z INFO read_commands:process_command{ManageRule(Exe, "Obsidian.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.379161Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "nhm_app.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.421461Z INFO read_commands:process_command{FloatRule(Exe, "QuickLook.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.472634Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "pycharm64.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.563376Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Obsidian.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.709855Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "firefox.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.739889Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "signal.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.790483Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "slack.exe")}: komorebi::process_command: processed 2022-06-11T09:52:02.875113Z INFO read_commands:process_command{FloatRule(Class, "OperationStatusWindow")}: komorebi::process_command: processed 2022-06-11T09:52:02.927203Z ERROR komorebi::process_command: there is no monitor 2022-06-11T09:52:03.231056Z INFO read_commands:process_command{InvisibleBorders(Rect { left: 7, top: 0, right: 14, bottom: 7 })}: komorebi::process_command: processed 2022-06-11T09:52:03.232770Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}:focus_monitor{idx=0}: komorebi::window_manager: focusing monitor 2022-06-11T09:52:03.233974Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}:focus_window{idx=0}: komorebi::container: focusing window 2022-06-11T09:52:03.235281Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}:focus_container{idx=0}: komorebi::workspace: focusing container 2022-06-11T09:52:03.236172Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 788498 })}: komorebi::process_event: processed: (hwnd: 788498, title: C:\Users\micro\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup, exe: explorer.exe, class: CabinetWClass) 2022-06-11T09:52:03.237456Z INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}:change_workspace_custom_layout{path="\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml"}: komorebi::window_manager: changing layout 2022-06-11T09:52:03.237987Z INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}:change_workspace_custom_layout{path="\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml"}:focus_container{idx=0}: komorebi::workspace: focusing container 2022-06-11T09:52:03.238203Z INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}:change_workspace_custom_layout{path="\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml"}:update_focused_workspace{follow_focus=true}: komorebi::window_manager: updating 2022-06-11T09:52:03.304463Z INFO read_commands:process_command{ChangeLayoutCustom("\\\\?\\C:\\lara_boot\\config\\komorebi\\layout.yaml")}: komorebi::process_command: processed 2022-06-11T09:52:03.305790Z INFO read_commands:process_command{FloatRule(Title, "Control Panel")}: komorebi::process_command: processed 2022-06-11T09:52:03.308321Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "slack.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.310553Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Spotify.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.313365Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Class, "vguiPopupWindow")}: komorebi::process_command: processed 2022-06-11T09:52:03.313894Z INFO read_commands:process_command{IdentifyObjectNameChangeApplication(Exe, "pycharm64.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.314281Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "ueli.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.314766Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "TranslucentTB.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.315550Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "tcconfig.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.315868Z INFO read_commands:process_command{FloatRule(Class, "SunAwtDialog")}: komorebi::process_command: processed 2022-06-11T09:52:03.316196Z INFO read_commands:process_command{WorkspaceName(0, 1, "empty")}:set_workspace_name{monitor_idx=0 workspace_idx=1 name="empty"}: komorebi::window_manager: setting workspace name 2022-06-11T09:52:03.316499Z ERROR komorebi::process_command: there is no monitor 2022-06-11T09:52:03.316694Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "qbittorrent.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.317116Z INFO read_commands:process_command{WatchConfiguration(true)}:watch_configuration{enable=true}: komorebi::window_manager: watching configuration for changes: C:\lara_boot\config\komorebi\komorebi.ahk 2022-06-11T09:52:03.317523Z INFO read_commands:process_command{WatchConfiguration(true)}: komorebi::process_command: processed 2022-06-11T09:52:03.317849Z INFO read_commands:process_command{ManageRule(Exe, "slack.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.318163Z INFO read_commands:process_command{WorkspacePadding(0, 1, 30)}:set_workspace_padding{monitor_idx=0 workspace_idx=1 size=30}: komorebi::window_manager: setting workspace padding 2022-06-11T09:52:03.318469Z ERROR komorebi::process_command: there is no monitor 2022-06-11T09:52:03.318713Z INFO read_commands:process_command{FloatRule(Exe, "Paradox Launcher.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.318985Z INFO read_commands:process_command{IdentifyTrayApplication(Exe, "Spotify.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.319276Z INFO read_commands:process_command{EnsureWorkspaces(0, 1)}:ensure_workspaces_for_monitor{monitor_idx=0 workspace_count=1}: komorebi::window_manager: ensuring workspace count 2022-06-11T09:52:03.319446Z INFO read_commands:process_command{EnsureWorkspaces(0, 1)}: komorebi::process_command: processed 2022-06-11T09:52:03.319717Z INFO read_commands:process_command{FloatRule(Class, "TaskManagerWindow")}: komorebi::process_command: processed 2022-06-11T09:52:03.320090Z INFO read_commands:process_command{FloatRule(Exe, "tcconfig.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.320487Z INFO read_commands:process_command{FloatRule(Exe, "Zoom.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.320807Z INFO read_commands:process_command{ContainerPadding(0, 1, 30)}:set_container_padding{monitor_idx=0 workspace_idx=1 size=30}: komorebi::window_manager: setting container padding 2022-06-11T09:52:03.321114Z ERROR komorebi::process_command: there is no monitor 2022-06-11T09:52:03.321348Z INFO read_commands:process_command{FloatRule(Title, "Control Panel")}: komorebi::process_command: processed 2022-06-11T09:52:03.321658Z INFO read_commands:process_command{IdentifyBorderOverflowApplication(Exe, "Steam.exe")}: komorebi::process_command: processed 2022-06-11T09:52:03.321982Z INFO read_commands:process_command{WorkspaceName(0, 0, "default")}:set_workspace_name{monitor_idx=0 workspace_idx=0 name="default"}: komorebi::window_manager: setting workspace name 2022-06-11T09:52:03.322159Z INFO read_commands:process_command{WorkspaceName(0, 0, "default")}: komorebi::process_command: processed 2022-06-11T09:52:03.322526Z INFO read_commands:process_command{FloatRule(Title, "Calculator")}: komorebi::process_command: processed 2022-06-11T09:52:03.322866Z INFO read_commands:process_command{ToggleMouseFollowsFocus}: komorebi::process_command: processed 2022-06-11T09:52:03.323661Z INFO read_commands:process_command{FloatRule(Exe, "ueli.exe")}: komorebi::process_command: processed 2022-06-11T09:52:09.880231Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:09.880421Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:09.927901Z INFO read_commands:process_command{FocusWindow(Right)}: komorebi::process_command: processed 2022-06-11T09:52:09.935618Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}:focus_monitor{idx=0}: komorebi::window_manager: focusing monitor 2022-06-11T09:52:09.936021Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}:focus_window{idx=0}: komorebi::container: focusing window 2022-06-11T09:52:09.937100Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:09.937749Z INFO process_event{event=FocusChange(SystemForeground, Window { hwnd: 1050252 })}: komorebi::process_event: processed: (hwnd: 1050252, title: C:\lara_boot\config\komorebi, exe: explorer.exe, class: CabinetWClass) 2022-06-11T09:52:11.024997Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:11.025198Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:11.025710Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:11.773549Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:11.773777Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:11.774192Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:12.157758Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:12.157945Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:12.158881Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:12.771555Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:12.771741Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:12.772111Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:13.079649Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:13.080516Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:13.080912Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:13.844722Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:13.844920Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:13.845276Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:14.120323Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:14.120530Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:14.120971Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:14.411196Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:14.411405Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:14.411842Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:14.601967Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:14.602161Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:14.602559Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:14.880882Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:14.881095Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:14.881509Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:15.080272Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:15.081124Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:15.081561Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:15.389332Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:15.389522Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:15.389983Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:15.606601Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:15.606793Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:15.607199Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:15.903710Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:15.903918Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:15.904292Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:16.091773Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:16.091979Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:16.092395Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:16.410093Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:16.410288Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:16.410667Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:16.602937Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:16.603135Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:16.603528Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:16.899377Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:16.899578Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:16.899989Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:17.094132Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:17.094318Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:17.094717Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:17.414575Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:17.415414Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:17.415651Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:17.589803Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:17.590023Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:17.590446Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:17.892298Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:17.892491Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:17.892921Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:18.037786Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:18.038456Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:18.038869Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:18.330892Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:18.331259Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:18.332410Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:18.502956Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:18.503164Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:18.503593Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:18.803119Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}: komorebi::window_manager: focusing container 2022-06-11T09:52:18.803322Z INFO read_commands:process_command{FocusWindow(Left)}:focus_container_in_direction{direction=Left}:focus_container{idx=1}: komorebi::workspace: focusing container 2022-06-11T09:52:18.803782Z INFO read_commands:process_command{FocusWindow(Left)}: komorebi::process_command: processed 2022-06-11T09:52:19.007603Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}: komorebi::window_manager: focusing container 2022-06-11T09:52:19.007823Z INFO read_commands:process_command{FocusWindow(Right)}:focus_container_in_direction{direction=Right}:focus_container{idx=3}: komorebi::workspace: focusing container 2022-06-11T09:52:19.008238Z ERROR komorebi::process_command: Access is denied. 2022-06-11T09:52:22.220385Z INFO process_event{event=MonitorPoll(ObjectCreate, Window { hwnd: 1377406 })}: komorebi::process_event: processed: (hwnd: 1377406, title: OLEChannelWnd, exe: explorer.exe, class: OleMainThreadWndClass) 2022-06-11T09:52:24.841283Z INFO read_commands:process_command{State}: komorebi::process_command: processed 2022-06-11T09:52:29.983952Z INFO read_commands:process_command{Stop}: komorebi::process_command: received stop command, restoring all hidden windows and terminating process 2022-06-11T09:52:29.984141Z INFO read_commands:process_command{Stop}:restore_all_windows: komorebi::window_manager: restoring all hidden windows ``` </p> </details>
adam closed this issue 2026-01-05 14:48:17 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Jun 12, 2022):

I am also able to reproduce this on my machine. Will look into this when I get a bit more time. 🙏

@LGUG2Z commented on GitHub (Jun 12, 2022): I am also able to reproduce this on my machine. Will look into this when I get a bit more time. 🙏
Author
Owner

@LGUG2Z commented on GitHub (Jun 12, 2022):

https://github.com/LGUG2Z/komorebi/blob/master/komorebi/src/window.rs#L202

Looks like this is where the focus op fails, will need to spend time investigating this in the win32 API docs.

@LGUG2Z commented on GitHub (Jun 12, 2022): https://github.com/LGUG2Z/komorebi/blob/master/komorebi/src/window.rs#L202 Looks like this is where the focus op fails, will need to spend time investigating this in the win32 API docs.
Author
Owner

@LGUG2Z commented on GitHub (Jun 12, 2022):

The AttachThreadInput function fails if either of the specified threads does not have a message queue. The system creates a thread's message queue when the thread makes its first call to one of the USER or GDI functions. The AttachThreadInput function also fails if a journal record hook is installed. Journal record hooks attach all input queues together.

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-attachthreadinput

@LGUG2Z commented on GitHub (Jun 12, 2022): > The AttachThreadInput function fails if either of the specified threads does not have a message queue. The system creates a thread's message queue when the thread makes its first call to one of the USER or GDI functions. The AttachThreadInput function also fails if a journal record hook is installed. Journal record hooks attach all input queues together. https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-attachthreadinput
Author
Owner

@LGUG2Z commented on GitHub (Jun 12, 2022):

This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from here once the build is finished.

@LGUG2Z commented on GitHub (Jun 12, 2022): This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from [here](https://github.com/LGUG2Z/komorebi/actions/runs/2482078253) once the build is finished.
Author
Owner

@calendulish commented on GitHub (Jun 12, 2022):

This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from here once the build is finished.

Awesome! Thank you

@calendulish commented on GitHub (Jun 12, 2022): > This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from [here](https://github.com/LGUG2Z/komorebi/actions/runs/2482078253) once the build is finished. Awesome! Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#94