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
21.84k stars 908 forks source link

"lazy" window resizing? #8405

Open f4b1ii opened 2 weeks ago

f4b1ii commented 2 weeks ago

Already reported ? *

Regression?

No

System Info and Version

System/Version info ```sh Hyprland 0.45.0 built from branch at commit a8ff3a452c1c445d24bdd9e7e4fcd66c8ef2a147 (). Date: 2024-11-09 Tag: , commits: 5435 built against aquamarine 0.4.3 flags set: debug System Information: System name: Linux Node name: NixStation Release: 6.6.59 Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Nov 1 00:58:34 UTC 2024 GPU information: os-release: plugins: ======Config-Start====== Config File: /home/fabi/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/ii86djqx6kb39qqhzsbwd5hmqf276xzz-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target $mod=SUPER animations { animation=windows, 1, 7, default, slide animation=windowsOut, 1, 7, default, popin 80% animation=border, 1, 10, default animation=borderangle, 1, 8, default animation=fade, 1, 7, default animation=workspaces, 1, 6, default enabled=true } cursor { no_hardware_cursors=true no_warps=true } debug { disable_logs=false enable_stdout_logs=true } decoration { blur { enabled=true passes=2 popups=true size=8 } shadow { color_inactive=0x00 range=16 render_power=2 } dim_inactive=true dim_strength=0.100000 rounding=12 } general { border_size=1 col.active_border=0xe808080 col.inactive_border=0x80808080 gaps_in=4 gaps_out=8 layout=master } gestures { workspace_swipe=true workspace_swipe_forever=true } input { touchpad { disable_while_typing=true natural_scroll=true tap-to-click=true } accel_profile=flat follow_mouse=2 kb_layout=de kb_options=caps:escape_shifted_capslock } master { new_on_top=true new_status=master } misc { disable_splash_rendering=true force_default_wallpaper=2 new_window_takes_over_fullscreen=2 } bind=$mod, 1, workspace, 1 bind=$mod_SHIFT, 1, movetoworkspacesilent, 1 bind=$mod, 2, workspace, 2 bind=$mod_SHIFT, 2, movetoworkspacesilent, 2 bind=$mod, 3, workspace, 3 bind=$mod_SHIFT, 3, movetoworkspacesilent, 3 bind=$mod, 4, workspace, 4 bind=$mod_SHIFT, 4, movetoworkspacesilent, 4 bind=$mod, 5, workspace, 5 bind=$mod_SHIFT, 5, movetoworkspacesilent, 5 bind=$mod, 6, workspace, 6 bind=$mod_SHIFT, 6, movetoworkspacesilent, 6 bind=$mod, 7, workspace, 7 bind=$mod_SHIFT, 7, movetoworkspacesilent, 7 bind=$mod, 8, workspace, 8 bind=$mod_SHIFT, 8, movetoworkspacesilent, 8 bind=$mod, 9, workspace, 9 bind=$mod_SHIFT, 9, movetoworkspacesilent, 9 bind=$mod, T, exec, kitty bind=CTRL_ALT, DELETE, exit, bind=$mod, C, killactive, bindm=$mod, mouse:272, movewindow bindm=$mod, mouse:273, resizewindow env=QT_QPA_PLATFORMTHEME,qt5ct env=NIXOS_OZONE_WL,1 env=LIBVA_DRIVER_NAME,nvidia env=XDG_SESSION_TYPE,wayland env=GDM_BACKEND,nvidia-drm env=__GLX_VENDOR_LIBRARY_NAME,nvidia exec-once=/nix/store/jqa12ql4gbqs09pdijh1if0rm44j5wcx-polkit-gnome-0.105/libexec/polkit-gnome-authentication-agent-1 exec-once=mpris-proxy monitor=,highres,auto,auto monitor=Unknown-1,disable ======Config-End======== ```

Description

Window are not resized when they are moved to an inactive workspaces, Resizing only happens once one switches to such a workspace. This causes hyprctl clients to temporarily output confusing information, e.g. two tiled clients on the same workspace are described to have the same size since they have not been resized accordingly yet

How to reproduce

for example:

Crash reports, logs, images, videos

Video of said behaviour: https://cdn.discordapp.com/attachments/1304886578086281246/1304929076775092336/2024-11-09_22-54-29.mp4?ex=67312d68&is=672fdbe8&hm=4dffd60d9b5ae0700d492ac11a095e5dde4717790f46ce35b1f3db8c052cc7e1&

vaxerski commented 2 weeks ago

yes, this is how it works. I assume you just want it to not work like that?

f4b1ii commented 2 weeks ago

yea, I was assuming it was not intended. Now that I know it is, is it possible to have a setting to disable this behaviour?

vaxerski commented 2 weeks ago

probably