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.55k stars 821 forks source link

Redraw artifacts in Qt applications #5342

Open M4he opened 5 months ago

M4he commented 5 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch at commit 54376d7b5f88bffd96ce9ded26637d83d7aa95b1 (). Date: 2024-03-29 Tag: flags: (if any) ```

Bug or Regression?

Bug

Description

Qt applications have some redraw issues primarily concerning popups and tooltips. Parts of previously displayed popups or tooltips will stay behind and sometimes flicker on and off when the UI updates itself (e.g. blinking input cursor in KWrite, updating progress bar in Cantata).

Note that the redraw artifacts only show up in OBS recordings when "Region" is selected in the share picker, not when "Window" is used.

So far I only observed this in Qt applications, namely KWrite and Cantata (a Qt mpd client) - they are running as native Wayland applications. Haven't seen this outside of Qt yet.

Ghost borders in KWrite were fixed in #5113 but the issue of entire parts of the word suggestion popups staying on screen remains as shown in the video attached below.

How to reproduce

  1. Open KWrite.
  2. Write or paste a bunch of text, e.g. generated Lorem Ipsum.
  3. Start writing more text while attempting to repeat words already in the document so that the word suggestion popup starts appearing.
  4. Keep typing like that for a while, the issue should show itself pretty quickly.

For Cantata, see the attached video below. It's simply hovering UI widgets to show tooltips that triggers it after a while.

Crash reports, logs, images, videos

word suggestion popup ghosting in KWrite

kwrite_popup_ghosting.webm


tooltip ghosting in Cantata

cantata_tooltip_ghosting.webm


button highlight redraw artifacts in Cantata

cantata_button_edge_ghosting.webm

Notice the right edge of the play button leaving behind redraw artifacts for a short while.

vaxerski commented 5 months ago

can't repro. Try fiddling with the config, maybe bisect?

burein-ita commented 5 months ago

Damage tracking broken again oopsie tehe-pero~

MrYuto commented 5 months ago

Chromium has the same behavior #5333