[BUG]: A fullscreen window cannot be moved to another workspace. #552

Closed
opened 2026-01-05 14:51:30 +01:00 by adam · 1 comment
Owner

Originally created by @danteasy on GitHub (Dec 30, 2024).

Summary

A fullscreen window (maximized using komorebic toggle-maximize) cannot be moved to another workspace with komorebic move-to-workspace.

https://github.com/user-attachments/assets/d00f5393-2bae-47c7-99b4-68ded2946b28

Version Information

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22631 N/A Build 22631

komorebic 0.1.31
tag:v0.1.31
commit_hash:40c55dec
build_time:2024-12-14 00:54:06 +00:00
build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
    "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.json",
    "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
    "window_hiding_behaviour": "Hide",
    "cross_monitor_move_behaviour": "Insert",
    "default_workspace_padding": 2,
    "default_container_padding": 2,
    "border": true,
    "border_width": 4,
    "border_offset": -1,
    "theme": {
        "palette": "Base16",
        "name": "Ashes",
        "unfocused_border": "Base03",
        "bar_accent": "Base0D"
    },
    "stackbar": {
        "height": 40,
        "mode": "OnStack",
        "tabs": {
            "width": 300
        }
    },
    "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"
                }
            ]
        }
    ],
    "ignore_rules": [
        {
            "kind": "Exe",
            "id": "Flow.Launcher.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "Todoist.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "StrokesPlus.net.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "wallpaper32.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "Rainmeter.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "windhawk.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "windhawk.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "RadeonSoftware.exe",
            "matching_strategy": "Equals"
        },
        {
            "kind": "Exe",
            "id": "keyviz-v1.0.6-portable.exe",
            "matching_strategy": "Equals"
        }
    ]
}

Hotkey Configuration

.shell powershell

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

alt + v : komorebic minimize

Focus windows

alt + a : komorebic focus left
alt + s : komorebic focus down
alt + w : komorebic focus up
alt + d : komorebic focus right

Move windows

alt + shift + a : komorebic move left
alt + shift + s : komorebic move down
alt + shift + w : komorebic move up
alt + shift + d : komorebic move right
alt + shift + return : komorebic promote

Resize

alt + e : komorebic resize-axis horizontal increase
alt + q : komorebic resize-axis horizontal decrease
alt + shift + e : komorebic resize-axis vertical increase
alt + shift + q : komorebic resize-axis vertical decrease

Manipulate windows

alt + shift + f : komorebic toggle-float
alt + f : komorebic toggle-maximize

Window manager options

alt + shift + r : komorebic retile
alt + shift + p : komorebic toggle-pause

Layouts

alt + c : komorebic flip-layout horizontal
alt + shift + c : komorebic flip-layout vertical
alt + z : komorebic change-layout bsp
alt + shift + z : komorebic change-layout grid
alt + x : komorebic change-layout horizontal-stack

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
alt + r : komorebic focus-last-workspace

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\Yevhenii

Looking for configuration files in C:\Users\Yevhenii

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

The "Hide" option for "window_hiding_behaviour" is deprecated and can be removed or replaced with "Cloak"
Found C:\Users\Yevhenii.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 @danteasy on GitHub (Dec 30, 2024). ### Summary A fullscreen window (maximized using komorebic toggle-maximize) cannot be moved to another workspace with komorebic move-to-workspace. https://github.com/user-attachments/assets/d00f5393-2bae-47c7-99b4-68ded2946b28 ### Version Information OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22631 N/A Build 22631 komorebic 0.1.31 tag:v0.1.31 commit_hash:40c55dec build_time:2024-12-14 00:54:06 +00:00 build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Hide", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 2, "default_container_padding": 2, "border": true, "border_width": 4, "border_offset": -1, "theme": { "palette": "Base16", "name": "Ashes", "unfocused_border": "Base03", "bar_accent": "Base0D" }, "stackbar": { "height": 40, "mode": "OnStack", "tabs": { "width": 300 } }, "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" } ] } ], "ignore_rules": [ { "kind": "Exe", "id": "Flow.Launcher.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Todoist.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "StrokesPlus.net.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "wallpaper32.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Rainmeter.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "windhawk.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "windhawk.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "RadeonSoftware.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "keyviz-v1.0.6-portable.exe", "matching_strategy": "Equals" } ] } ``` ### Hotkey Configuration .shell powershell alt + o : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell alt + shift + o : komorebic reload-configuration alt + v : komorebic minimize # Focus windows alt + a : komorebic focus left alt + s : komorebic focus down alt + w : komorebic focus up alt + d : komorebic focus right # Move windows alt + shift + a : komorebic move left alt + shift + s : komorebic move down alt + shift + w : komorebic move up alt + shift + d : komorebic move right alt + shift + return : komorebic promote # Resize alt + e : komorebic resize-axis horizontal increase alt + q : komorebic resize-axis horizontal decrease alt + shift + e : komorebic resize-axis vertical increase alt + shift + q : komorebic resize-axis vertical decrease # Manipulate windows alt + shift + f : komorebic toggle-float alt + f : komorebic toggle-maximize # Window manager options alt + shift + r : komorebic retile alt + shift + p : komorebic toggle-pause # Layouts alt + c : komorebic flip-layout horizontal alt + shift + c : komorebic flip-layout vertical alt + z : komorebic change-layout bsp alt + shift + z : komorebic change-layout grid alt + x : komorebic change-layout horizontal-stack # 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 alt + r : komorebic focus-last-workspace # 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\Yevhenii Looking for configuration files in C:\Users\Yevhenii Found komorebi.json; this file can be passed to the start command with the --config flag The "Hide" option for "window_hiding_behaviour" is deprecated and can be removed or replaced with "Cloak" Found C:\Users\Yevhenii\.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:51:30 +01:00
adam closed this issue 2026-01-05 14:51:30 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Dec 30, 2024):

e9bb6b43d6/komorebi/src/process_command.rs (L584)

This is a hidden implementation detail; these commands only work on containers, and maximized windows exist outside of containers for Win32 legacy API cruft reasons. I'm not sure I want to go down the rabbit hole of supporting every action that is possible on komorebi Containers on raw Win32 Windows since I was incredibly reluctant to add support for maximized windows in the first place.

I'll think about the actions to take here; definitely updating the docs to make it clearer that maximized windows are not on the happy path (the official recommendation is to use toggle-monocle which is built natively on komorebi Containers, allows stacking, cycling etc.) and highlight which commands will not work with them, but possibly even marking maximized window toggling as an EOL feature which will not receive any more updates.

@LGUG2Z commented on GitHub (Dec 30, 2024): https://github.com/LGUG2Z/komorebi/blob/e9bb6b43d6e2e79bba216c9d2b4fb2d90b60e084/komorebi/src/process_command.rs#L584 This is a hidden implementation detail; these commands only work on containers, and maximized windows exist outside of containers for Win32 legacy API cruft reasons. I'm not sure I want to go down the rabbit hole of supporting every action that is possible on komorebi Containers on raw Win32 Windows since I was incredibly reluctant to add support for maximized windows in the first place. I'll think about the actions to take here; definitely updating the docs to make it clearer that maximized windows are not on the happy path (the official recommendation is to use `toggle-monocle` which is built natively on komorebi Containers, allows stacking, cycling etc.) and highlight which commands will not work with them, but possibly even marking maximized window toggling as an EOL feature which will not receive any more updates.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#552