[BUG]: resize-axis on flipped UltrawideVerticalStack resizes containers in the wrong direction #281

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

Originally created by @RaptDept on GitHub (Jan 13, 2024).

Describe the bug
When using resize-axis on an UltrawideVerticalStack layout with flip-layout applied, containers resize in the direction that they would if they weren't flipped. This causes windows to either overlap, extend beyond the edges of the screen, or leave empty spaces in the workspace.

To Reproduce
Steps to reproduce the behavior:

  1. Have more than 1 window open in a workspace
  2. Set layout to UltrawideVerticalStack: komorebic change-layout ultrawide-vertical-stack
  3. Flip layout horizontally: komorebic flip-layout horizontal (I didn't check the vertical case)
  4. Resize any window in any direction with respect to layout axis using resize-axis, e.g. komorebic resize-axis horizontal increase. Doing this step before the previous one yields the same end result.
  5. See second image below for result.

Expected behavior
Windows will resize as usual and fill the screen without overlapping each other or extending beyond the screen edges.

Screenshots and Videos

Resized UltrawideVerticalStack layout, before flipping:
image

Resized UltrawideVerticalStack layout, after flipping:
image

Operating System
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22621 N/A Build 22621

komorebic check Output

KOMOREBI_CONFIG_HOME detected: C:\Users\Jake\.komorebi

Looking for configuration files in C:\Users\Jake\.komorebi

No komorebi configuration found in C:\Users\Jake\.komorebi

If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration

Additional context
I'm using whkd for komorebic hotkeys and yasb for status bar

Originally created by @RaptDept on GitHub (Jan 13, 2024). **Describe the bug** When using `resize-axis` on an `UltrawideVerticalStack` layout with `flip-layout` applied, containers resize in the direction that they would if they weren't flipped. This causes windows to either overlap, extend beyond the edges of the screen, or leave empty spaces in the workspace. **To Reproduce** Steps to reproduce the behavior: 1. Have more than 1 window open in a workspace 2. Set layout to `UltrawideVerticalStack`: `komorebic change-layout ultrawide-vertical-stack` 3. Flip layout horizontally: `komorebic flip-layout horizontal` (I didn't check the vertical case) 4. Resize any window in any direction with respect to layout axis using `resize-axis`, e.g. `komorebic resize-axis horizontal increase`. Doing this step before the previous one yields the same end result. 5. See second image below for result. **Expected behavior** Windows will resize as usual and fill the screen without overlapping each other or extending beyond the screen edges. **Screenshots and Videos** Resized UltrawideVerticalStack layout, before flipping: ![image](https://github.com/LGUG2Z/komorebi/assets/2009188/9026e645-aef5-4fe7-8f46-f8732d2a41de) Resized UltrawideVerticalStack layout, after flipping: ![image](https://github.com/LGUG2Z/komorebi/assets/2009188/c6e88ca4-f772-427c-a4a5-d4f9a9ad61a4) **Operating System** OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22621 N/A Build 22621 **`komorebic check` Output** ``` KOMOREBI_CONFIG_HOME detected: C:\Users\Jake\.komorebi Looking for configuration files in C:\Users\Jake\.komorebi No komorebi configuration found in C:\Users\Jake\.komorebi If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration ``` **Additional context** I'm using `whkd` for komorebic hotkeys and `yasb` for status bar
adam added the bug label 2026-01-05 14:49:28 +01:00
adam closed this issue 2026-01-05 14:49:28 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Jan 13, 2024):

Thanks for reporting this. I'm going to disable axis flipping for any layout besides BSP before the next release. I don't enjoy working layout code these days, but hopefully someone who does will find this issue in the future and can tackle it so that we can reenable axis flipping on other layouts in the future 🤞

@LGUG2Z commented on GitHub (Jan 13, 2024): Thanks for reporting this. I'm going to disable axis flipping for any layout besides BSP before the next release. I don't enjoy working layout code these days, but hopefully someone who does will find this issue in the future and can tackle it so that we can reenable axis flipping on other layouts in the future 🤞
Author
Owner

@LGUG2Z commented on GitHub (May 12, 2024):

a2e9a46582

@LGUG2Z commented on GitHub (May 12, 2024): https://github.com/LGUG2Z/komorebi/commit/a2e9a46582cb97691d72675c4e0cd58e0a326e67
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#281