Bug 432299 - Firefox flickering and window ghost
Summary: Firefox flickering and window ghost
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugzilla.mozilla.org/show_bug...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-30 06:00 UTC by AK-47
Modified: 2021-10-13 13:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.