Bug 455195 - Ghost window above native GTK window border.
Summary: Ghost window above native GTK window border.
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: 5.27.10
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugs.kde.org/show_bug.cgi?id=...
Keywords:
Depends on: 479372
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-13 00:04 UTC by Roke Julian Lockhart Beedell
Modified: 2024-03-26 02:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
4wy78uwh: performance-
4wy78uwh: Wayland?
4wy78uwh: X11+
4wy78uwh: Intel-
4wy78uwh: Mesa+
4wy78uwh: nouveau-
4wy78uwh: NVIDIA-


Attachments
Depiction of the problem. (615.01 KB, image/tiff)
2024-01-03 20:23 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-06-13 00:04:53 UTC
SUMMARY:
Observe the title.

STEPS TO REPRODUCE:
1. Upgrade to the most recent version of “http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/x86_64/iso/Fedora-Server-netinst-x86_64-Rawhide-20220612.n.0.iso” via “dnf check-update --refresh && dnf upgrade”.
2. Invoke “/usr/bin/gnome-abrt”.

OBSERVED RESULT:
Observe the title.

EXPECTED RESULT:
The shadow should be presented perfectly without presence of black artefacts. The previous version did not cause this problem.

SOFTWARE/OS VERSIONS:
Windows: Negative.
macOS: Negative.
Linux/KDE Plasma: Positive.
KDE Plasma Version: “5.25.0”.
KDE Frameworks Version: “5.94.0”.
Qt Version: “5.15.4”.

ADDITIONAL INFORMATION:
Observe the description of the attachment. Additionally, I expect that this problem is not actually caused by "http://github.com/abrt/gnome-abrt", but I am not certain, because I am solely able to compare it to Firefox, whose graphical toolkit is primarily custom.
Comment 1 Roke Julian Lockhart Beedell 2022-06-13 00:07:02 UTC
Creation of the attachment failed. I have provided it at “http://i.imgur.com/YOztGZO.mp4” consequently.
Comment 2 Vlad Zahorodnii 2022-06-14 07:12:34 UTC
At quick glance, it looks like the opaque region is bad. In 5.25, kwin is more strict with opaque regions, so it's really important that apps provide good opaque region hints.

gnome-abrt and abrt are not provided by my distro. Can you run `env WAYLAND_DEBUG=1 gnome-abrt` and post the output here?
Comment 3 Nate Graham 2022-06-14 17:49:05 UTC
I can't reproduce the issue with gnome-abrt with current git master, FWIW.
Comment 4 Roke Julian Lockhart Beedell 2022-06-14 23:40:15 UTC
(In reply to Nate Graham from comment #3)
> I can't reproduce the issue with gnome-abrt with current git master, FWIW.

I expect that you are unable to reproduce the problem because the problem is caused not specifically by gnome-abrt, but by how something that is specific to how GTK software is presented, or KWin, because this problem AND what “http://i.imgur.com/pVNwwj8.mp4” depicts began to occur when I last updated by OS.

"5.19.0-0.rc1.20220610git874c8ca1e60b.18.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 10 16:26:15 UTC 2022” is the version that uname reports. I have redacted what is not useful.

Another system-update became available whilst I wrote this response. I shall evaluate during tomorrow whether the problem persists despite it.
Comment 5 Roke Julian Lockhart Beedell 2022-06-14 23:42:29 UTC
(In reply to Vlad Zahorodnii from comment #2)
> At quick glance, it looks like the opaque region is bad. In 5.25, kwin is
> more strict with opaque regions, so it's really important that apps provide
> good opaque region hints.
> 
> gnome-abrt and abrt are not provided by my distro. Can you run `env
> WAYLAND_DEBUG=1 gnome-abrt` and post the output here?

```
PowerShell 7.3.0-preview.4
PS /> Start-Transcript -Append -IncludeInvocationHeader
Transcript started, output file is /home/A1653237104/PowerShell_transcript.1653307616.ArdHRLab.20220614234056.txt
PS /> env WAYLAND_DEBUG=1 gnome-abrt
Gtk-Message: 23:40:59.127: Failed to load module "appmenu-gtk-module"
PS />
```

I am utilizing startx. Should I have utilized startplasma-wayland instead to evaluate whether that prevents it?
Comment 6 Roke Julian Lockhart Beedell 2024-01-03 18:32:31 UTC
New title is due to https://superuser.com/a/629766/904401.
Comment 7 Roke Julian Lockhart Beedell 2024-01-03 20:23:11 UTC
Created attachment 164655 [details]
Depiction of the problem.

https://github.com/quexten/goldwarden/discussions/42#discussioncomment-8005398
Comment 8 Roke Julian Lockhart Beedell 2024-01-03 20:37:20 UTC
(In reply to Vlad Zahorodnii from comment #2)
> At quick glance, it looks like the opaque region is bad. In 5.25, kwin is
> more strict with opaque regions, so it's really important that apps provide
> good opaque region hints.
> 
> gnome-abrt and abrt are not provided by my distro. Can you run `env
> WAYLAND_DEBUG=1 gnome-abrt` and post the output here?

Unfortunately, they're also not provided for me either on cpe:/o:opensuse:tumbleweed:20231226. I was using Fedora when I used those as examples. However, as https://bugs.kde.org/show_bug.cgi?id=455195#c7 demonstrates, the issue affects all GTK applications I utilize, so you can try it on any of them.

WAYLAND_DEBUG=1 specifically won't work here though, because https://bugs.kde.org/show_bug.cgi?id=470535#c0 prevents me testing this on Wayland.
Comment 9 Roke Julian Lockhart Beedell 2024-01-03 20:53:36 UTC
https://bugs.kde.org/show_bug.cgi?id=479372#c1 also applies to this:

> Note that this used to not be an issue, recently. It was a regression introduced approximately 1 year previous.

The timeframe is somewhat similar. This issue was introduced quickly after the aforequoted.