[BUG]: Komorebi doesnt tile VS Code Properly #681

Open
opened 2026-01-05 14:52:22 +01:00 by adam · 6 comments
Owner

Originally created by @beingshafin on GitHub (Sep 22, 2025).

Summary

  • Leaves a ghost tile
  • when switched to another workspace and pressed on vs code, instead of switching the workspace to vs codes.. it brings vs code to the current workspace without tiling it.
  • this is crucial as its impossible to leave without vs code tiling

Version Information

komorebic 0.1.38
tag:v0.1.38
commit_hash:ffa76ea2
build_time:2025-09-13 18:40:25 +00:00
build_env:rustc 1.89.0 (29483883e 2025-08-04),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.38/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 4,
  "default_container_padding": 4,
  "border": true,
  "border_width": 3,
  "border_style": "Square",
  "border_offset": -1,
  "theme": {
    "palette": "Base16",
    "name": "Ashes",
    "unfocused_border": "Base01",
    "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

alt + i : komorebic toggle-shortcuts

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

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 + shift + f : komorebic toggle-monocle

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

Cycle focus to the next window

alt + tab : komorebic cycle-focus next

Cycle focus to the previous window

alt + shift + tab : komorebic cycle-focus previous

Output of komorebic check

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

Looking for configuration files in C:\Users\joy11

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

Found C:\Users\joy11.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 @beingshafin on GitHub (Sep 22, 2025). ### Summary - Leaves a ghost tile - when switched to another workspace and pressed on vs code, instead of switching the workspace to vs codes.. it brings vs code to the current workspace without tiling it. - this is crucial as its impossible to leave without vs code tiling ### Version Information komorebic 0.1.38 tag:v0.1.38 commit_hash:ffa76ea2 build_time:2025-09-13 18:40:25 +00:00 build_env:rustc 1.89.0 (29483883e 2025-08-04),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.38/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 4, "default_container_padding": 4, "border": true, "border_width": 3, "border_style": "Square", "border_offset": -1, "theme": { "palette": "Base16", "name": "Ashes", "unfocused_border": "Base01", "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 alt + i : komorebic toggle-shortcuts # 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 # 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 + shift + f : komorebic toggle-monocle # 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 # Cycle focus to the next window alt + tab : komorebic cycle-focus next # Cycle focus to the previous window alt + shift + tab : komorebic cycle-focus previous ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\joy11 Looking for configuration files in C:\Users\joy11 Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\joy11\.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 bug label 2026-01-05 14:52:22 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Sep 22, 2025):

Cannot reproduce with a fresh install of both komorebi and VSCode

@LGUG2Z commented on GitHub (Sep 22, 2025): Cannot reproduce with a fresh install of both komorebi and VSCode
Author
Owner

@beingshafin commented on GitHub (Sep 22, 2025):

heres a video, i seem to reproduce it 80% of the time.. but idk why its exactly happening
can you help me to solve this?

@beingshafin commented on GitHub (Sep 22, 2025): heres a [video](https://streamable.com/nxydut), i seem to reproduce it 80% of the time.. but idk why its exactly happening can you help me to solve this?
Author
Owner

@beingshafin commented on GitHub (Sep 23, 2025):

I fixed the issue, uninstalling some extensions did the job.. seems they were conflicting with komorebi. You may close this thread now. Thank you

@beingshafin commented on GitHub (Sep 23, 2025): I fixed the issue, uninstalling some extensions did the job.. seems they were conflicting with komorebi. You may close this thread now. Thank you
Author
Owner

@JohnCRuf commented on GitHub (Sep 29, 2025):

@beingshafin do you know what extensions in particular caused the problem? I'm getting the same thing.

@JohnCRuf commented on GitHub (Sep 29, 2025): @beingshafin do you know what extensions in particular caused the problem? I'm getting the same thing.
Author
Owner

@beingshafin commented on GitHub (Sep 29, 2025):

@beingshafin do you know what extensions in particular caused the problem? I'm getting the same thing.

I think i unistalled some ui extensions like custom ui, apc, glassit vsc..

@beingshafin commented on GitHub (Sep 29, 2025): > [@beingshafin](https://github.com/beingshafin) do you know what extensions in particular caused the problem? I'm getting the same thing. I think i unistalled some ui extensions like custom ui, apc, glassit vsc..
Author
Owner

@hexadecimal233 commented on GitHub (Dec 11, 2025):

@beingshafin do you know what extensions in particular caused the problem? I'm getting the same thing.

I think i unistalled some ui extensions like custom ui, apc, glassit vsc..

The extension I uninstalled is Windows Opacity and is messing with the window config

@hexadecimal233 commented on GitHub (Dec 11, 2025): > > [@beingshafin](https://github.com/beingshafin) do you know what extensions in particular caused the problem? I'm getting the same thing. > > I think i unistalled some ui extensions like custom ui, apc, glassit vsc.. The extension I uninstalled is Windows Opacity and is messing with the window config
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#681