Bug 447956 - Wayland: inverted DBUS-notifications appear in app title bar
Summary: Wayland: inverted DBUS-notifications appear in app title bar
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.23.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-05 04:51 UTC by Michael Hamilton
Modified: 2023-09-06 10:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
vlad.zahorodnii: NVIDIA+


Attachments
Screenshot of a corrupted title bar. (40.32 KB, image/jpeg)
2022-01-05 04:51 UTC, Michael Hamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hamilton 2022-01-05 04:51:44 UTC
Created attachment 145122 [details]
Screenshot of a corrupted title bar.

SUMMARY
When using Wayland with Nvidia 470.86-46, sometimes inverted parts of DBUS desktop-notifications appear in title-bars of unrelated applications.

I'm not sure if it has anything to do with the bug, but the DBUS-notifications have a 30 second timeout. They are being raised by jouno, a systemd-Journal viewer which features Freedesktop/DBUS Notifications forwarding  ( https://github.com/digitaltrails/jouno ).

STEPS TO REPRODUCE
1.  Raise a lot of notifications.
2.  Sometimes a notification corrupts an unrelated application's title bar, but I cannot predict when.

OBSERVED RESULT
Part of an notification will appear as inverted text in the title bar of an unrelated application.

EXPECTED RESULT
The notification should not be able to corrupt the title bar of an unrelated application.  Presumably this is also security issue given Wayland is supposed to isolate each app's windows.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed 20211124
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Nvidia 470.86-46
Comment 1 Michael Hamilton 2022-01-05 04:56:40 UTC
I should note that in the screenshot I attached, the notification that corrupted the title bar has already timed out and dismissed itself, so it is not visible.
Comment 2 Vlad Zahorodnii 2022-01-10 11:35:41 UTC
Can't reproduce the issue on my machine with an amd video card. KWin clears the decoration texture with #00000000 color after creating the texture, it might be a driver bug.
Comment 3 Michael Hamilton 2022-01-10 20:02:56 UTC
(In reply to Vlad Zahorodnii from comment #2)
> Can't reproduce the issue on my machine with an amd video card. KWin clears
> the decoration texture with #00000000 color after creating the texture, it
> might be a driver bug.

I don't use Kwin Wayland except to check on how well it is progressing.  I would be happy for this bug to be closed and to assume it will one day go away when the Nvidia driver's wayland related features nature.
Comment 4 David Edmundson 2023-09-06 10:38:08 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.