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.54k stars 820 forks source link

Creating a group results in a weird animations #6832

Open matejdro opened 2 months ago

matejdro commented 2 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) System Information: System name: Linux Node name: KOMP Release: 6.9.7-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000 GPU information: 28:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6950 XT] [1002:73a5] (rev c0) (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: hypreasymotion by Zakk ver 1.0 ``` ``` group { groupbar { # text_color = rgb(ff0000) col.inactive = rgb(444444) col.active = rgb(999999) height = 14 } } ``` default animations config (I commented out `animations {}` section so it uses the defaults)

Description

It seems that when creating groups and when switching between group items for the first time, animations are not behaving correctly, they are jumping around.

How to reproduce

  1. Create some windows
  2. Create a group
  3. Move windows into that group - note that the entire group will weirdly jump towards the new window
  4. Move between windows in a group - note that the entire group will jump on each move (this only happens when you first cycle through the windows. Subsequent cycles work fine).

Crash reports, logs, images, videos

recording.webm

MightyPlaza commented 1 month ago

what dispatcher are you using I can't repro this anymore with moveintogroup

matejdro commented 1 month ago

Ah, I'm using movewindoworgroup

MightyPlaza commented 1 month ago

oh it's only on master layout

matejdro commented 1 month ago

No, I just tested and it also happens on dwindle for me.

MightyPlaza commented 1 month ago

No, I just tested and it also happens on dwindle for me.

i couldn't reproduce on dwindle then

matejdro commented 4 weeks ago

After some investigation, trigger line appears to be this:

dwindle {
    no_gaps_when_only = true
}

then it at least partially happens on dwindle too:

out.webm

Here is full config that I can reproduce it with (default config + some changes in the end):

repro_conf.conf.txt