[BUG]: It doesnt work when changing the monitor of a window throough Win + Shift + Arrow Keys #639

Closed
opened 2026-01-05 14:52:07 +01:00 by adam · 3 comments
Owner

Originally created by @Ritwik-Sh on GitHub (Jun 11, 2025).

Summary

It sometimes brings back the window to previous monitor, sometimes leaves it untouched.

Version Information

komorebic 0.1.37
tag:v0.1.37
commit_hash:00384ce3
build_time:2025-05-17 19:16:53 +00:00
build_env:rustc 1.87.0 (17067e9ac 2025-05-09),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 20,
  "default_container_padding": 20,
  "border": true,
  "border_width": 8,
  "border_offset": -1,
  "theme": {
    "palette": "Base16",
    "name": "Ashes",
    "unfocused_border": "Base03",
    "bar_accent": "Base0D"
  },
  "monitors": [
    {
      "workspaces": [
        {
          "name": "I",
          "layout": "BSP"
        },
        {
          "name": "II",
          "layout": "VerticalStack"
        },
        {
          "name": "III",
          "layout": "HorizontalStack"
        },
        {
          "name": "IV",
          "layout": "UltrawideVerticalStack"
        },
        {
          "name": "V",
          "layout": "Rows"
        },
        {
          "name": "VI",
          "layout": "Grid"
        },
        {
          "name": "VII",
          "layout": "RightMainVerticalStack"
        }
      ]
    }
  ]
}

Hotkey Configuration

{
"$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.bar.json",
"monitor": 0,
"font_family": "JetBrains Mono",
"theme": {
"palette": "Base16",
"name": "Ashes",
"accent": "Base0D"
},
"left_widgets": [
{
"Komorebi": {
"workspaces": {
"enable": true,
"hide_empty_workspaces": false
},
"layout": {
"enable": true
},
"focused_window": {
"enable": true,
"show_icon": true
}
}
}
],
"right_widgets": [
{
"Update": {
"enable": true
}
},
{
"Media": {
"enable": true
}
},
{
"Storage": {
"enable": true
}
},
{
"Memory": {
"enable": true
}
},
{
"Network": {
"enable": true,
"show_total_data_transmitted": true,
"show_network_activity": true
}
},
{
"Date": {
"enable": true,
"format": "DayDateMonthYear"
}
},
{
"Time": {
"enable": true,
"format": "TwentyFourHour"
}
},
{
"Battery": {
"enable": true
}
}
]
}

Output of komorebic check

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Ritwik Sharma

Looking for configuration files in C:\Users\Ritwik Sharma

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

Found C:\Users\Ritwik Sharma.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 @Ritwik-Sh on GitHub (Jun 11, 2025). ### Summary It sometimes brings back the window to previous monitor, sometimes leaves it untouched. ### Version Information komorebic 0.1.37 tag:v0.1.37 commit_hash:00384ce3 build_time:2025-05-17 19:16:53 +00:00 build_env:rustc 1.87.0 (17067e9ac 2025-05-09),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 20, "default_container_padding": 20, "border": true, "border_width": 8, "border_offset": -1, "theme": { "palette": "Base16", "name": "Ashes", "unfocused_border": "Base03", "bar_accent": "Base0D" }, "monitors": [ { "workspaces": [ { "name": "I", "layout": "BSP" }, { "name": "II", "layout": "VerticalStack" }, { "name": "III", "layout": "HorizontalStack" }, { "name": "IV", "layout": "UltrawideVerticalStack" }, { "name": "V", "layout": "Rows" }, { "name": "VI", "layout": "Grid" }, { "name": "VII", "layout": "RightMainVerticalStack" } ] } ] } ``` ### Hotkey Configuration { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.bar.json", "monitor": 0, "font_family": "JetBrains Mono", "theme": { "palette": "Base16", "name": "Ashes", "accent": "Base0D" }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "hide_empty_workspaces": false }, "layout": { "enable": true }, "focused_window": { "enable": true, "show_icon": true } } } ], "right_widgets": [ { "Update": { "enable": true } }, { "Media": { "enable": true } }, { "Storage": { "enable": true } }, { "Memory": { "enable": true } }, { "Network": { "enable": true, "show_total_data_transmitted": true, "show_network_activity": true } }, { "Date": { "enable": true, "format": "DayDateMonthYear" } }, { "Time": { "enable": true, "format": "TwentyFourHour" } }, { "Battery": { "enable": true } } ] } ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Ritwik Sharma Looking for configuration files in C:\Users\Ritwik Sharma Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\Ritwik Sharma\.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:07 +01:00
adam closed this issue 2026-01-05 14:52:07 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Jun 11, 2025):

Which commands do you have win+shift+arrows bound to in your hotkeys file?

@LGUG2Z commented on GitHub (Jun 11, 2025): Which commands do you have win+shift+arrows bound to in your hotkeys file?
Author
Owner

@Ritwik-Sh commented on GitHub (Jun 13, 2025):

I haven't customized anything. It's just the default.

@Ritwik-Sh commented on GitHub (Jun 13, 2025): I haven't customized anything. It's just the default.
Author
Owner

@LGUG2Z commented on GitHub (Jun 13, 2025):

Then this is not an issue with komorebi because the quickstart config does not bind any komorebic commands to win+shift+arrows

If you want to manipulate windows across monitors while komorebi is running, please use the appropriate komorebic commands and bind them to the hotkeys of your choice

@LGUG2Z commented on GitHub (Jun 13, 2025): Then this is not an issue with komorebi because the quickstart config does not bind any komorebic commands to win+shift+arrows If you want to manipulate windows across monitors while komorebi is running, please use the appropriate komorebic commands and bind them to the hotkeys of your choice
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#639