Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

movewindow left won't work when default_split_ratio setting is active.

Open unifreak opened this issue 1 year ago • 2 comments

Hyprland Version

Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d (props: bump ver to 0.34.0). Date: Mon Jan 1 12:03:15 2024 Tag: v0.34.0

flags: (if any)

Bug or Regression?

Bug

Description

The configured binding for moving window left does not work when combined with setting: default_split_ratio = 1.1, my keybinding is binde = SUPER, Left, movewindow, l. The whole related configs are:

dwindle {
    default_split_ratio = 1.1 # 1 means 5/5 split
}

binde = $mainMod, Left, movewindow, l
System/Version info
Linux 6.6.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 02 Jan 2024 02:28:28 +0000 x86_64 GNU/Linux

How to reproduce

Set the following three config at once:

binde = SUPER, Left, movewindow, l
general {
    layout = dwindle
}
dwindle {
    default_split_ratio = 1.1 # 1 means 5/5 split
}

Then see that super+left won't move the window left.

Crash reports, logs, images, videos

No response

unifreak avatar Jan 06 '24 15:01 unifreak

I also had this problem, moving right and down works but moving left and up doesnt Changing the default_split_ratio from 1.1 to 1 did make it work normaly again

luanrivello avatar Feb 05 '24 14:02 luanrivello

I also have this issue when I use a number less than 1, that making down and right not work

xslendix avatar May 24 '24 11:05 xslendix