[BUG]: "Hide" hiding behavior does not unhide windows when re-opening workspace #608

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

Originally created by @YelovSK on GitHub (May 2, 2025).

Summary

When using the "hide" window hiding behavior, switching to another workspace correctly makes the windows disappear, but when coming back to the workspace, the windows do not reappear and stay hidden.

https://github.com/user-attachments/assets/1ee8bde0-3075-47bf-a071-b9e2b22a95f9

^^ The VS Code window does not reappear when I switch back to the 3rd workspace (it happens for all Windows, not just VS Code)

Version Information

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26100 N/A Build 26100
komorebic 0.1.36

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.36/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Hide",
  "default_workspace_padding": 3,
  "default_container_padding": 3,
  "border": true,
  "border_width": 2,
  "border_offset": 0,
  "mouse_follows_focus": false,
  "transparency": false,
  "animation": {
    "enabled": false,
    "duration": 200,
    "fps": 120,
    "style": "EaseOutElastic"
  },
  "theme": {
    "palette": "Base16",
    "name": "CatppuccinMocha",
    "unfocused_border": "Base03",
    "bar_accent": "Base0D"
  },
  "monitors": [
    {
      "workspaces": [
        {
          "name": "I",
          "layout": "BSP"
        },
        {
          "name": "II",
          "layout": "BSP"
        },
        {
          "name": "III",
          "layout": "BSP"
        },
        {
          "name": "IV",
          "layout": "BSP"
        },
        {
          "name": "V",
          "layout": "BSP"
        },
        {
          "name": "VI",
          "layout": "BSP"
        },
        {
          "name": "VII",
          "layout": "BSP"
        }
      ]
    }
  ]
}

Hotkey Configuration

.shell powershell

# 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 + f                 : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox }
# alt + b                 : if ($wshell.AppActivate('Chrome') -eq $False) { start chrome }

alt + q                 : komorebic close
alt + m                 : komorebic minimize

# Focus windows
alt + h                 : komorebic focus left
alt + j                 : komorebic focus down
alt + k                 : komorebic focus up
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
alt + c                 : komorebic cycle-move-to-monitor next

# 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 + t                 : komorebic toggle-float
alt + f                 : komorebic toggle-monocle
alt + shift + f         : komorebic toggle-maximize

# 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 + 6                 : komorebic focus-workspace 5
alt + 7                 : komorebic focus-workspace 6
alt + 8                 : komorebic focus-workspace 7

# Move windows across workspaces
alt + shift + 1         : komorebic move-to-workspace 0
alt + shift + 2         : komorebic move-to-workspace 1
alt + shift + 3         : komorebic move-to-workspace 2
alt + shift + 4         : komorebic move-to-workspace 3
alt + shift + 5         : komorebic move-to-workspace 4
alt + shift + 6         : komorebic move-to-workspace 5
alt + shift + 7         : komorebic move-to-workspace 6
alt + shift + 8         : komorebic move-to-workspace 7

Output of komorebic check

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\hampa

Looking for configuration files in C:\Users\hampa

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

Found C:\Users\hampa\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
Originally created by @YelovSK on GitHub (May 2, 2025). ### Summary When using the "hide" window hiding behavior, switching to another workspace correctly makes the windows disappear, but when coming back to the workspace, the windows do not reappear and stay hidden. https://github.com/user-attachments/assets/1ee8bde0-3075-47bf-a071-b9e2b22a95f9 ^^ The VS Code window does not reappear when I switch back to the 3rd workspace (it happens for all Windows, not just VS Code) ### Version Information OS Name: Microsoft Windows 11 Pro OS Version: 10.0.26100 N/A Build 26100 komorebic 0.1.36 ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.36/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Hide", "default_workspace_padding": 3, "default_container_padding": 3, "border": true, "border_width": 2, "border_offset": 0, "mouse_follows_focus": false, "transparency": false, "animation": { "enabled": false, "duration": 200, "fps": 120, "style": "EaseOutElastic" }, "theme": { "palette": "Base16", "name": "CatppuccinMocha", "unfocused_border": "Base03", "bar_accent": "Base0D" }, "monitors": [ { "workspaces": [ { "name": "I", "layout": "BSP" }, { "name": "II", "layout": "BSP" }, { "name": "III", "layout": "BSP" }, { "name": "IV", "layout": "BSP" }, { "name": "V", "layout": "BSP" }, { "name": "VI", "layout": "BSP" }, { "name": "VII", "layout": "BSP" } ] } ] } ``` ### Hotkey Configuration ``` .shell powershell # 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 + f : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox } # alt + b : if ($wshell.AppActivate('Chrome') -eq $False) { start chrome } alt + q : komorebic close alt + m : komorebic minimize # Focus windows alt + h : komorebic focus left alt + j : komorebic focus down alt + k : komorebic focus up 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 alt + c : komorebic cycle-move-to-monitor next # 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 + t : komorebic toggle-float alt + f : komorebic toggle-monocle alt + shift + f : komorebic toggle-maximize # 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 + 6 : komorebic focus-workspace 5 alt + 7 : komorebic focus-workspace 6 alt + 8 : komorebic focus-workspace 7 # Move windows across workspaces alt + shift + 1 : komorebic move-to-workspace 0 alt + shift + 2 : komorebic move-to-workspace 1 alt + shift + 3 : komorebic move-to-workspace 2 alt + shift + 4 : komorebic move-to-workspace 3 alt + shift + 5 : komorebic move-to-workspace 4 alt + shift + 6 : komorebic move-to-workspace 5 alt + shift + 7 : komorebic move-to-workspace 6 alt + shift + 8 : komorebic move-to-workspace 7 ``` ### Output of komorebic check ``` No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\hampa Looking for configuration files in C:\Users\hampa Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\hampa\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag ```
adam added the bugdocumentation labels 2026-01-05 14:51:55 +01:00
adam closed this issue 2026-01-05 14:51:56 +01:00
Author
Owner

@LGUG2Z commented on GitHub (May 2, 2025):

I think this is more of a documentation nit to mark "Hide" as EOL - there are too many issues with this approach and it isn't being developed further - "Cloak" is now the default (this is also what Virtual Desktops uses) and what all users are encouraged to use

@LGUG2Z commented on GitHub (May 2, 2025): I think this is more of a documentation nit to mark "Hide" as EOL - there are too many issues with this approach and it isn't being developed further - "Cloak" is now the default (this is also what Virtual Desktops uses) and what all users are encouraged to use
Author
Owner

@YelovSK commented on GitHub (May 2, 2025):

Oh okay. In that case is there a way to show only programs from the current workspace in the taskbar? My issue with cloak is that the windows are hidden visually, but my taskbar is cluttered because it' always showing windows from all workspaces.

@YelovSK commented on GitHub (May 2, 2025): Oh okay. In that case is there a way to show only programs from the current workspace in the taskbar? My issue with cloak is that the windows are hidden visually, but my taskbar is cluttered because it' always showing windows from all workspaces.
Author
Owner

@LGUG2Z commented on GitHub (May 3, 2025):

Curiosity is getting the better of me so I'm trying to bisect to find exactly which commit broke this, because the Hide behaviour has not really been touched for years now

The last version where Hide works as expected is 0.1.33

@LGUG2Z commented on GitHub (May 3, 2025): Curiosity is getting the better of me so I'm trying to bisect to find exactly which commit broke this, because the Hide behaviour has not really been touched for years now The last version where Hide works as expected is 0.1.33
Author
Owner

@LGUG2Z commented on GitHub (May 3, 2025):

Looks like I shot the sheriff: 80b611890a

@LGUG2Z commented on GitHub (May 3, 2025): Looks like I shot the sheriff: https://github.com/LGUG2Z/komorebi/commit/80b611890aaaee09b9ce0d54d1d5bea0fe219011
Author
Owner

@LGUG2Z commented on GitHub (May 3, 2025):

The fix for the regression will be in the next nightly and the next numbered release

@LGUG2Z commented on GitHub (May 3, 2025): The fix for the regression will be in the next nightly and the next numbered release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#608