Bug 463255

Summary: Window thumbnails for game windows sometimes become black squares on Wayland
Product: [Plasma] kwin Reporter: gigastarcraft2
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ivan.cukic, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.26.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gigastarcraft2 2022-12-20 03:35:13 UTC
Game's window have preview only when alt tabing out of a game and holding buttons.

STEPS TO REPRODUCE
1. Alt tab out of a game and hold alt+tab. You should have normal preview. Release buttons.
2. Now hold alt tab again you should see blank/black screen.

OBSERVED RESULT
Game's window preview disappears. 

EXPECTED RESULT
Game's window have always a preview when alt tabbing.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma:  6.0.12-artix1-1 (64 bit)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
https://vimeo.com/manage/videos/782770194
Comment 1 gigastarcraft2 2022-12-20 04:33:40 UTC
I checked it on Xorg/X11 and there is still no preview even when tabbing out of a game but when you tab out of a game all windows preview change to icon only.
https://odysee.com/@Velodrome:9/x11-xorg-alt-tabbing:4
Comment 2 gigastarcraft2 2022-12-20 05:21:06 UTC
I checked with two games on wayland and the effect is the same as on Xorg. Instead of the black screen there is either a blank/transparent screen or icons.
Comment 3 Nate Graham 2023-01-05 21:05:11 UTC
Do you have the kpipewire package installed?

What GPU are you using?
Comment 4 gigastarcraft2 2023-01-06 17:09:15 UTC
(In reply to Nate Graham from comment #3)
> Do you have the kpipewire package installed?
> 
> What GPU are you using?

Yes, I have kpipewire package installed.
pacman -Q | grep kpipewire
kpipewire 5.26.4-1

I have AMD Radeon RX 5700 XT.
Comment 5 Nate Graham 2023-01-09 16:52:20 UTC
Thanks.
Comment 6 Vlad Zahorodnii 2023-07-06 08:58:33 UTC
Is the issue still reproducible in 5.27?
Comment 7 Bug Janitor Service 2023-07-21 03:45:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2023-08-05 03:45:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!