hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
18.09k stars 754 forks source link

Animation flickers when closing overlay layer #6235

Open Rid1-fz-06 opened 1 month ago

Rid1-fz-06 commented 1 month ago

Hyprland Version

Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)

System Information:
System name: Linux
Node name: fedora
Release: 6.8.10-300.fc40.x86_64
Version: #1 SMP PREEMPT_DYNAMIC Fri May 17 21:20:54 UTC 2024

GPU information:

os-release: NAME="Fedora Linux"
VERSION="40 (Forty)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Forty)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13

plugins:

Bug or Regression?

Bug

Description

If more than one notifications are displayed by Dunst, when the notification closes, the bottom part of the animation flickers. It occurs for all three types of animation (slide, popin, fade).

How to reproduce

  1. Set layerrule = animation slied,notifications in hyprland config
  2. Throw more than one notifications quickly: notify-send "hello" && notify-send "hi" && notify-send "awesome"
  3. Let the animation timeout
  4. See the error
pdf commented 4 weeks ago

I think it might be something related to layer shell surfaces, I get this for GTK4 menus in a layer shell too when they animate - after the surface should have been destroyed the texture partially persists on-screen for some time. Happens especially for drop-shadows for whatever reason.

Rid1-fz-06 commented 3 weeks ago

@pdf are you using Arch linux? It will be better if you add your hyprctl systeminfo output here. This might attract developers to solve this issue, I guess...

pdf commented 3 weeks ago

I am using Arch. This is not a new issue, been around since at least last year, vaxerski will probably sort it at some stage but there are a lot more critical issues to deal with I'm sure.

Hyprland, built from branch  at commit ea2501d4556f84d3de86a4ae2f4b22a474555b9f  (props: bump version to 0.41.0).
Date: Mon Jun 10 14:23:06 2024
Tag: v0.41.0, commits: 4794

flags: (if any)

System Information:
System name: Linux
Node name: hostname
Release: 6.9.3-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:26 +0000

GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a60] (rev 01) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:249d] (rev a1) (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:
vaxerski commented 3 weeks ago

patch.txt try