Bug 432299

Summary: Firefox flickering and window ghost
Product: [Plasma] kwin Reporter: AK-47 <chkboom>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, tyler
Priority: NOR    
Version First Reported In: 5.20.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1685263
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description AK-47 2021-01-30 06:00:33 UTC
SUMMARY
Using Firefox with native Wayland (firefox-wayland, or Firefox with MOZ_ENABLE_WAYLAND=1 set) regularly results in flickering, issues with windows not taking up the required size, and ghosting when Firefox is terminated or exits.

STEPS TO REPRODUCE
1. Run "firefox-wayland" OR: MOZ_ENABLE_WAYLAND=1 firefox
2. Try various things such as resizing the window (maximising/minimising) or switching tabs, browsing the web etc.
3. Exit Firefox

OBSERVED RESULT
STEPS 1-2: Eventually you will see the window flickering and becoming unusable as artifacts appear all over the place.
STEP 3: There is a 50/50 chance that ghosted pieces of Firefox window will remain.

EXPECTED RESULT
Smooth, predictable operation, as expected with any application. Has been a continual problem even with 5.20.5 and earlier.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Rawhide/Plasma 5.20.90
(available in About System)
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2021-02-02 15:13:18 UTC
Enable WebRender to work around the flickering issues.
Comment 2 AK-47 2021-02-04 09:45:48 UTC
I tried that, and the issue still occurs. Especially so if multiple tabs are opened, and is easily reproducable. In fact it is slightly worse with WebRender enabled.
Comment 3 SimplyCorbett 2021-02-17 14:39:23 UTC
I can confirm this bug exists. Enabling web render (for me) results in a black firefox screen.
Comment 4 Vlad Zahorodnii 2021-10-13 13:38:37 UTC
There were some fixes in Firefox. Marking as RESOLVED WORKSFORME. If you're still able to reproduce this issue, reopen this bug report.