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.58k stars 902 forks source link

Closing the window before the end of the workspace switching animation results in artifacts #5928

Open bubba-champion opened 6 months ago

bubba-champion commented 6 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch makepkg at commit 57e76f91d9a388a41223e5ac0f13863d4b663bcd (keybinds: fix xkb keybind name to keysym comparison (5917)). Date: Tue May 7 09:20:06 2024 Tag: v0.40.0-16-g57e76f91, commits: 4622 flags: (if any) System Information: System name: Linux Node name: localhost Release: 6.8.9-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:48:53 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c7) (prog-if 00 [VGA controller]) 08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c8) (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: ```

Bug or Regression?

Bug

Description

This issue has been tested with standard animations and is reproducible for at least the following Wayland clients: Alacritty, Waycheck. I'm not sure if this is a regression, but if necessary, I can try to reproduce this issue on older versions.

How to reproduce

Above.

Crash reports, logs, images, videos

No response

bubba-champion commented 3 months ago

This problem is still reproducible on the last commit, and I want to add that this problem is related to damage tracking, since this problem does not occur when using Hyprland with debug:damage_tracking = 0. And these are not artifacts, but rather a ghostly trail that remains after closing the window and flickers when the cursor moves.

vaxerski commented 3 months ago

please do not disable damage tracking