Closed SpomJ closed 5 months ago
To be fair, it's quite a minor issue, but a seemingly quick fix is also quite obvious - just keep the size when toggling float from pseudotile (and in reverse).
try with git first cause I can't reproduce
It may take specific configurations to reproduce. For me it works best when the window is pseudotile is slightly scaled down beforehand.
also it's git already.
Hyprland, built from branch main at commit 79a139c9495568f69dd995bce1ca579247a98a17 (flake.lock: update). Date: Mon Apr 15 23:57:27 2024 Tag: v0.39.0-12-g79a139c9, commits: 4456
this is last month no?
For me it works best when the window is pseudotile is slightly scaled down beforehand.
I'll try
I can't reproduce either. Could you share a version of your config this happens with along with the corresponding commit you are on with the config.
I'm currently updating hyprland-git to see if it was fixed
UPD: confirmed, it's still there
I'm not sure you got what I meant when I said scaling down. What I mean is just resizing it in pseudotile mode to be smaller than it was initially (not changing the cell size)
Here's another vid, as a sanity check
https://github.com/hyprwm/Hyprland/assets/75751809/d6f82914-905e-483f-a412-f6cd363331a7
I actually was able to Repro, I must have misunderstood earlier. I was floating the window below the pseudotile, but it works when resizing pseudotile. I'll make a fix.
Interestingly enough, something in my debug conf here makes it so that its not reproducible, but in my normal conf it is reproducible. Can you try testing with the hyprlandd.conf in the repo I sent you? (make sure to rename it to hyprland.conf if you are using a release build)
Oh yea, its just because I have windowrulev2=minsize 500 300, initialClass:^(kitty)$
in my debug config because that caused a bug in another issue lol. It looks like setting a minsize fixes this (which should be obvious lol).
Going to try to figure out where the size is getting shrunk. Currently thinking this line is to blame. https://github.com/hyprwm/Hyprland/blob/2ead1fd22103ce065661555513bace5897083ded/src/events/Windows.cpp#L467
Should be fixed here https://github.com/hyprwm/Hyprland/pull/6143. If you could test @SpomJ that would be great. Lmk if this works for you.
yes
Hyprland Version
System/Version info
```sh Hyprland, built from branch main at commit 79a139c9495568f69dd995bce1ca579247a98a17 (flake.lock: update). Date: Mon Apr 15 23:57:27 2024 Tag: v0.39.0-12-g79a139c9, commits: 4456 flags: (if any) System Information: System name: Linux Node name: arch-btw Release: 6.8.9-arch1-2 Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 07) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```Bug or Regression?
Bug
Description
Toggling between pseudotile & floating mode shrinks the window, even to the point where it's invisible.
How to reproduce
Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/75751809/a4e66f14-a33d-41f5-844b-f674844ce1b0