The "float" windowrule is half broken in Hyprland 0.53.0

Hyprland version
Hyprland 0.53.0 built from branch v0.53.0 at commit ea444c35bb23b6e34505ab6753e069de7801cc25 clean (version: bump to 0.53.0).
Date: Mon Dec 29 15:21:36 2025
Tag: v0.53.0, commits: 6756

Libraries:
Hyprgraphics: built against 0.5.0, system has 0.5.0
Hyprutils: built against 0.11.0, system has 0.11.0
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.7, system has 0.6.7
Aquamarine: built against 0.10.0, system has 0.10.0

Version ABI string: ea444c35bb23b6e34505ab6753e069de7801cc25_aq_0.10_hu_0.11_hg_0.5_hc_0.1_hlg_0.6
no flags were set

Describe your issue / feature…

After the updated Hyprland to the newest version (0.53.0), the windowrules seemed broken. That was pretty easy to fix. The windows floats as expected but their default window size automatically gets resized to the monitor size (and another mobile aspect ratio, but more smaller in height like a tablet). Every app i set to auto float with the windowrule gets resized. Heres my windowrule config

```
######################################

LAYERS, WINDOWS AND WORKSPACES

######################################

layerrule = animation slide, match:namespace waybar
layerrule = blur on, match:namespace waybar
layerrule = blur_popups on, match:namespace waybar
layerrule = ignore_alpha 0, match:namespace waybar
layerrule = blur on, match:namespace rofi
layerrule = ignore_alpha 0, match:namespace rofi
layerrule = animation fade, match:namespace hyprpaper
layerrule = animation fade, match:namespace swaync-notification-window
layerrule = blur on, match:namespace swaync-notification-window
layerrule = ignore_alpha 0, match:namespace swaync-notification-window
layerrule = no_anim on, match:namespace selection
layerrule = no_anim on, match:namespace hyprpicker

windowrule = match:class .*, suppress_event maximize
windowrule = match:class ^$, match:title ^$, match:xwayland true, match:float true, match:fullscreen false, match:pin false, suppress_event activatefocusa
windowrule = match:float true, border_size 2

windowrule = match:class .manjaro-settings-manager., float on
windowrule = match:class .msm_notifier., float on
windowrule = match:class org.manjaro.pamac.manager, float on
windowrule = match:class manjaro-application-utility, float on
windowrule = match:class org.gnome.SystemMonitor, float on
windowrule = match:class .gparted., float on
windowrule = match:class .dconf-editor., float on
windowrule = match:class kvantummanager, float on
windowrule = match:class qt5ct, float on
windowrule = match:class qt6ct, float on
windowrule = match:class org.gnome.Calculator, float on

windowrule = match:class .discord., float on
windowrule = match:class spotify, float on
windowrule = match:class jetbrains-idea-ce, match:title .Welcome to IntelliJ IDEA., float on
windowrule = match:class org.prismlauncher.PrismLauncher, float on
windowrule = match:class steam, float on
windowrule = match:class gamescope, match:title HoYoPlay, float on
```

1 Like

idk how you want yours set, but here’s mine. and they float as designed and not full screen. I am contributing to help, not get my conf judged, it works for me.

If it works, don’t touch it. lol

```
###############################################################################

FLOATING / WINDOW BEHAVIOR RULES HYPRLAND 0.53 (UPDATED)

###############################################################################

Floating windows should never start maximized/fullscreen

windowrule = match:float true, fullscreen_state 0 0
windowrule = match:float true, maximize off
windowrule = match:float true, fullscreen off

Block client-driven maximize/fullscreen events for floating windows

windowrule = match:float true, suppress_event maximize
windowrule = match:float true, suppress_event fullscreen

Default float geometry

windowrule = match:float true, size 60% 70%
windowrule = match:float true, center on

Cursor → fullscreen + opaque

windowrule = match:class ^(Cursor)$, fullscreen on
windowrule = match:class ^(Cursor)$, opaque on

VSCodium → fullscreen + opaque

windowrule = match:class ^(codium)$, fullscreen on
windowrule = match:class ^(codium)$, opaque on

Obsidian → float + center + size

windowrule = match:class ^(obsidian)$, float on
windowrule = match:class ^(obsidian)$, size 800 600
windowrule = match:class ^(obsidian)$, center on

Notion → float + center + opaque

windowrule = match:class ^(notion-electron-linux)$, float on
windowrule = match:class ^(notion-electron-linux)$, center on
windowrule = match:class ^(notion-electron-linux)$, opaque on

Center all floating windows

windowrule = match:float 1, center 1

###############################################################################

FLOATING DIALOG RULES

###############################################################################

Utilities

windowrule = match:class ^(org.pulseaudio.pavucontrol)$, float on
windowrule = match:class ^(org.pulseaudio.pavucontrol)$, center on
windowrule = match:class ^(blueman-manager)$, float on
windowrule = match:class ^(nm-connection-editor)$, float on

Common dialog-ish classes — normalize

windowrule = match:class ^(dialog|confirm|error|notification|splash|confirmreset)$, size 900 600
windowrule = match:class ^(dialog|confirm|error|notification|splash|confirmreset)$, center on
windowrule = match:class ^(dialog|confirm|error|notification|splash|confirmreset)$, float on

File pickers / dialogs by title

windowrule = match:title ^(Open File)(.)$, float on
windowrule = match:title ^(Select a File)(.
)$, float on
windowrule = match:title ^(Choose wallpaper)(.)$, float on
windowrule = match:title ^(Open Folder)(.
)$, float on

###############################################################################

GLOBAL RULES (APPLY TO EVERYTHING)

###############################################################################

Ignore maximize requests from apps

windowrule = match:float true, suppress_event maximize

Fix XWayland dragging issues / ghost windows

windowrule = match:xwayland true, match:class ^$, match:title ^$, no_focus on
```

i didn’t say it goes to fullscreen mode. i said it gets “resized“ to the monitor size. and i don’t want a specific size for the floating windows, i want the default sizes of the windows which where set by the app or me

I don’t know what else monitor size means, except full screen. So when you said it was being resized to monitor size, I read that as fullscreen since the monitor, is the full screen.

if you want per app sizing, you have to set it. that’s all I know.

Example:
```

Discord → float + center + size

windowrule = match:class ^(discord)$, float on
windowrule = match:class ^(discord)$, size 900 500
windowrule = match:class ^(discord)$, center on
```

If this isn’t what you want, then I unfortunately don’t understand correctly and sorry for not being able to help.

The window is normally floating, but the window size is set to 1920x1080 and its aligned in the center. U see the window border at the corner? this is what i meant, tho discord works perfectly fine, apps like spotify, gnome calc, pamac, messes up

Fixed in hyprland 0.53.1!!