min_size doesn't work since rules v3
Discussion link
https://github.com/hyprwm/Hyprland/discussions/12386
Description
windowrule = match:class kitty, min_size 200 200
no work
FWIW min_size does work for floating.
windowrule = float on, min_size 200 200, match:class foot
windowrule = float on, min_size 200 200, match:class foot
It doesn't work when the window is created or goes floating initially though. It will only kick in when you try and resize the window. min_size should prevent the window from opening smaller than the min_size.
Interesting. I was only providing one case where it is honored.
can you check https://github.com/hyprwm/Hyprland/pull/12458 just in case?
can you check #12458 just in case?
Still doesn't work with that pull request.
https://github.com/user-attachments/assets/15bcb3a5-6473-429b-a85d-74dddc71408e
https://github.com/hyprwm/Hyprland/pull/12491
Don't know if there are going to be multiple pull requests for this issue but this doesn't resolve the issue. A newly created floating window doesn't honor min_size just like in my video above.
Edit: In case it's not clear in the video as soon as you attempt to resize the window the min_size kicks in immediately.
@tannerellen check the MR now.