[BUG]?: Wrong width of split container #222

Closed
opened 2026-01-05 14:49:05 +01:00 by adam · 2 comments
Owner

Originally created by @tamutamu on GitHub (Jun 12, 2023).

Describe the bug
In my pc, Some applications(Chrome, Excel, etc..) is wrong width of split container.

To Reproduce
Steps to reproduce the behavior:

  1. komorebi.exe start
  2. Start 4 application (include Chrome)
  3. The container of Chrome move right bottom.
  4. The container of Chrome is wrong width.

Screenshots and Videos
OVP3xeuiYV

Operating System
Windows 11 home

**komorebi state

{
  "monitors": {
    "elements": [
      {
        "id": 65537,
        "name": "DISPLAY1",
        "size": {
          "left": 0,
          "top": 0,
          "right": 2560,
          "bottom": 1600
        },
        "work_area_size": {
          "left": 0,
          "top": 0,
          "right": 2560,
          "bottom": 1528
        },
        "work_area_offset": null,
        "workspaces": {
          "elements": [
            {
              "name": null,
              "containers": {
                "elements": [
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 1509098,
                          "title": "New Issue · LGUG2Z/komorebi - Google Chrome",
                          "exe": "chrome.exe",
                          "class": "Chrome_WidgetWin_1",
                          "rect": {
                            "left": 13,
                            "top": 20,
                            "right": 1264,
                            "bottom": 1495
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 460694,
                          "title": "ホーム",
                          "exe": "explorer.exe",
                          "class": "CabinetWClass",
                          "rect": {
                            "left": 1283,
                            "top": 774,
                            "right": 629,
                            "bottom": 741
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 918722,
                          "title": "2023-06",
                          "exe": "explorer.exe",
                          "class": "CabinetWClass",
                          "rect": {
                            "left": 1918,
                            "top": 774,
                            "right": 629,
                            "bottom": 365
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 984600,
                          "title": "Screenpresso",
                          "exe": "Screenpresso.exe",
                          "class": "WindowsForms10.Window.8.app.0.139bfb8_r6_ad1",
                          "rect": {
                            "left": 1918,
                            "top": 1151,
                            "right": 237,
                            "bottom": 39
                          }
                        }
                      ],
                      "focused": 0
                    }
                  }
                ],
                "focused": 0
              },
              "monocle_container": null,
              "maximized_window": {
                "hwnd": 591664,
                "title": "pwsh in tamu0",
                "exe": "WindowsTerminal.exe",
                "class": "CASCADIA_HOSTING_WINDOW_CLASS",
                "rect": {
                  "left": -11,
                  "top": -11,
                  "right": 2582,
                  "bottom": 1550
                }
              },
              "floating_windows": [],
              "layout": {
                "Default": "BSP"
              },
              "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",
  "cross_monitor_move_behaviour": "Swap",
  "work_area_offset": null,
  "focus_follows_mouse": null,
  "mouse_follows_focus": true,
  "has_pending_raise_op": false,
  "float_identifiers": [
    "OPContainerClass",
    "IHWindowClass"
  ],
  "manage_identifiers": [],
  "layered_whitelist": [
    "steam.exe"
  ],
  "tray_and_multi_window_identifiers": [
    "explorer.exe",
    "firefox.exe",
    "chrome.exe",
    "idea64.exe",
    "ApplicationFrameHost.exe",
    "steam.exe"
  ],
  "border_overflow_identifiers": [],
  "name_change_on_launch_identifiers": [
    "firefox.exe",
    "idea64.exe"
  ]
}
Originally created by @tamutamu on GitHub (Jun 12, 2023). **Describe the bug** In my pc, Some applications(Chrome, Excel, etc..) is wrong width of split container. **To Reproduce** Steps to reproduce the behavior: 1. `komorebi.exe start` 2. Start 4 application (include Chrome) 3. The container of Chrome move right bottom. 4. The container of Chrome is wrong width. **Screenshots and Videos** <img width="1280" alt="OVP3xeuiYV" src="https://github.com/LGUG2Z/komorebi/assets/1388701/d554589f-9ded-43d8-9fd3-a9d95dbbc7d0"> **Operating System** Windows 11 home **komorebi state ``` { "monitors": { "elements": [ { "id": 65537, "name": "DISPLAY1", "size": { "left": 0, "top": 0, "right": 2560, "bottom": 1600 }, "work_area_size": { "left": 0, "top": 0, "right": 2560, "bottom": 1528 }, "work_area_offset": null, "workspaces": { "elements": [ { "name": null, "containers": { "elements": [ { "windows": { "elements": [ { "hwnd": 1509098, "title": "New Issue · LGUG2Z/komorebi - Google Chrome", "exe": "chrome.exe", "class": "Chrome_WidgetWin_1", "rect": { "left": 13, "top": 20, "right": 1264, "bottom": 1495 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 460694, "title": "ホーム", "exe": "explorer.exe", "class": "CabinetWClass", "rect": { "left": 1283, "top": 774, "right": 629, "bottom": 741 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 918722, "title": "2023-06", "exe": "explorer.exe", "class": "CabinetWClass", "rect": { "left": 1918, "top": 774, "right": 629, "bottom": 365 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 984600, "title": "Screenpresso", "exe": "Screenpresso.exe", "class": "WindowsForms10.Window.8.app.0.139bfb8_r6_ad1", "rect": { "left": 1918, "top": 1151, "right": 237, "bottom": 39 } } ], "focused": 0 } } ], "focused": 0 }, "monocle_container": null, "maximized_window": { "hwnd": 591664, "title": "pwsh in tamu0", "exe": "WindowsTerminal.exe", "class": "CASCADIA_HOSTING_WINDOW_CLASS", "rect": { "left": -11, "top": -11, "right": 2582, "bottom": 1550 } }, "floating_windows": [], "layout": { "Default": "BSP" }, "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", "cross_monitor_move_behaviour": "Swap", "work_area_offset": null, "focus_follows_mouse": null, "mouse_follows_focus": true, "has_pending_raise_op": false, "float_identifiers": [ "OPContainerClass", "IHWindowClass" ], "manage_identifiers": [], "layered_whitelist": [ "steam.exe" ], "tray_and_multi_window_identifiers": [ "explorer.exe", "firefox.exe", "chrome.exe", "idea64.exe", "ApplicationFrameHost.exe", "steam.exe" ], "border_overflow_identifiers": [], "name_change_on_launch_identifiers": [ "firefox.exe", "idea64.exe" ] } ```
adam added the bug label 2026-01-05 14:49:05 +01:00
adam closed this issue 2026-01-05 14:49:06 +01:00
Author
Owner

@J-Ciro commented on GitHub (Jul 8, 2023):

Same issue here.

@J-Ciro commented on GitHub (Jul 8, 2023): Same issue here.
Author
Owner

@LGUG2Z commented on GitHub (Jul 8, 2023):

Unfortunately this is not a bug with komorebi; applications set their own minimum widths and these cannot be overridden by external processes like komorebi. 😞

@LGUG2Z commented on GitHub (Jul 8, 2023): Unfortunately this is not a bug with komorebi; applications set their own minimum widths and these cannot be overridden by external processes like komorebi. 😞
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#222