Bug 439402

Summary: After kwin_x11 replace, the window of Firefox goes transparent and glitched
Product: [Plasma] kwin Reporter: Fushan Wen <qydwhotmail>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.22.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1712665
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The window of Firefox goes glitched after kwin replace

Description Fushan Wen 2021-07-02 12:10:34 UTC
Created attachment 139800 [details]
The window of Firefox goes glitched after kwin replace

SUMMARY
After running kwin_x11 --replace in console, the window of Firefox doesn't show orignal browser contents anymore, instead visual glitch is made.

STEPS TO REPRODUCE
1. Open a Firefox window
2. Run kwin_x11 --replace

OBSERVED RESULT
the window of Firefox goes transparent and glitched.

EXPECTED RESULT
The window of Firefox still shows original browser contents.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210628
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.13-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
Firefox 90.0b12
Comment 1 Fushan Wen 2021-07-02 12:25:03 UTC
After disabling GPU acceleration of Firefox, the bug cannot be reproduced anymore.
However, Edge browser is not affected by kwin replace.