hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.71k stars 837 forks source link

Hyprland doesn't respects the dimensions set for foot terminal on floating mode #5222

Open AnkurAlpha opened 6 months ago

AnkurAlpha commented 6 months ago

Hyprland Version

 ╭─ankur@ankur in ~ 
 ╰─λ hyprctl version
Hyprland, built from branch HEAD at commit c5e28ebcfe00a510922779b2c568cfa52a317445  (props: bump ver 0.37.1).
Date: Sat Mar 16 14:51:49 2024
Tag: v0.37.1

flags: (if any)

Bug or Regression?

Bug

Description

Hyprland doesn't respects foot's dimensions in floating mode after update How it should look like : 1312 How it looks : (without a tiled window behind it ) 12312w (with a tiled window behind it) qwe1221

Edit : same thing is being noticed on some firefox based browsers like floorp. It is getting extra enlarged on floating mode which wasn't happening before recent updates .

How to reproduce

Just need to set something on foot in floating mode :

$mainMod = SUPER
# open G-Hyprland script
windowrulev2=float,title:^(G-Hyprland)
bind = $mainMod, S, exec, footclient -w 750x600 -T G-Hyprland -e ~/.config/hypr/brain/brain.sh

Or just switch any opened foot terminal to floating mode

Crash reports, logs, images, videos

No response

vaxerski commented 6 months ago

seems to be working on my end.

asimovc commented 5 months ago

I can confirm this too, i'm also having problems with firefox floating in wrong size. I'm using gentoo with the latest hyprland release and without systemd and xwayland

donovanglover commented 3 weeks ago

Duplicate of https://github.com/hyprwm/Hyprland/issues/6648?

AnkurAlpha commented 3 weeks ago

Yeah, same but there is different behaviors for different number of tilled windows opened , can see in this video :

https://github.com/user-attachments/assets/33815fce-d685-4f54-9c09-ef4389678743