Bug 452713

Summary: Steam notifications appear as all black on Wayland.
Product: [Plasma] kwin Reporter: Ryan Reamsbottom <ryanrms>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: aleixpol, kde, nate, null
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: showing the black square (bottom right) where a notification should be

Description Ryan Reamsbottom 2022-04-18 03:07:57 UTC
Created attachment 148210 [details]
showing the black square (bottom right) where a notification should be

SUMMARY
Steam will produce popups on the lower right hand corner of your main screen.  While it doesn't respect where the panel is (like on Windows), that's an issue for another time (or for Valve).  Sometimes, it will pop up a notification and the notification will be all black (like a compositing issue perhaps?).  I'm not the only one who has seen it, I have attached a screenshot from a thread from Reddit.

STEPS TO REPRODUCE
1.  Install Steam
2.  Get a notification (common ones are: install finished, friend came online, new message, etc)
3.  Under certain scenarios the popup message will be entirely blacked out and you are not able to read the contents.

OBSERVED RESULT
Black rectangle instead of message contents

EXPECTED RESULT
Message contents shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Wayland, Kernel 5.17.2-1-default
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version:  5.15.2

ADDITIONAL INFORMATION
Seems to be fine under X11 and I am not able to produce it 100% of the time, may depend on certain settings.  This is the reddit thread: https://www.reddit.com/r/linux_gaming/comments/tpwlqk/steam_notifications_appearing_as_black_boxes/
Attached is a screenshot from that thread.  I tried getting a friend to send a message, and it appeared correctly, but it wasn't working previously.
Comment 1 Nate Graham 2022-04-18 15:34:53 UTC
Ideally Steam would be using system native notifications, but we should fix this, yeah.
Comment 2 Aleix Pol 2022-04-19 14:03:17 UTC
I was unable to get one of such notifications. Do you know if there's a way to get one so we can reproduce and fix?
Comment 3 Aleix Pol 2022-04-19 14:06:49 UTC
I could reproduce, still it would be good to know how to get it easily to be able to investigate properly.
Comment 4 Ryan Reamsbottom 2022-04-19 17:01:21 UTC
I did some testing and got a Steam friend to send me message while the chat was in the background.  The popup appeared fine.  Then, shortly after, I got a notification that a friend had either come online or started playing a game.  That one came in as blacked out.  I should note that in the Reddit thread someone reported seeing the same issue in sway, so it might be an issue with xwayland?
Comment 5 Unknown 2023-07-12 20:16:06 UTC
This issue has been fixed by the recent major Steam update, I believe.