Bug 442367 - Firefox empty/transparent window on resume
Summary: Firefox empty/transparent window on resume
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.22.5
Platform: Other Linux
: VHI normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugzilla.mozilla.org/show_bug...
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-09-13 06:07 UTC by Joe
Modified: 2022-01-20 11:40 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
qydwhotmail: Wayland-
qydwhotmail: X11+


Attachments
example of an empty/transparent firefox window (1.62 MB, image/png)
2021-09-13 06:07 UTC, Joe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe 2021-09-13 06:07:27 UTC
Created attachment 141505 [details]
example of an empty/transparent firefox window

I have noticed lately that on resume, if I have firefox maximized that it will resume with only the title bar and the actual window is completely transparent. I have attached a screen shot. In this instance, the Firefox window on my other (primary) monitor (with a panel) was fine and rendered its content correctly. Usually resizing/wiggling the window "fixes it". This time I just left it there after the screen shot, and, while filling this out it eventually painted itself. However, it also unpainted itself and repaints kind of randomly (at times now, the upper right quadrant had painted content, and the rest of the window flashed transparent.

I have also noticed that the new hover preview is really messed up after resume, too, mainly around firefox. Going over previews really seems to trigger things and causes Firefox to flash/go transparent.

SOFTWARE/OS VERSIONS
Arch Linux
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: Qt 5.15.2 (built against 5.15.2)
NVIDIA: 470.63.01
X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-09-16 20:18:28 UTC
What graphics hardware are you using?
Comment 2 Joe 2021-09-16 20:23:59 UTC
I can definitely reproduce it on my rtx 2080 super. I am not sure if I'm seeing it on my and 5500x or my Optimus laptop with Intel as primary.
Comment 3 Fushan Wen 2022-01-14 09:36:26 UTC
I can also reproduce on amdgpu, and it's only reproducible on X11, not Wayland.
Comment 4 Murz 2022-01-19 04:45:58 UTC
I have the same problem with Intel drivers too with Kubuntu 20.04 - 21.10, and earlier versions was affected too.
Comment 5 elman 2022-01-19 09:15:20 UTC
Can confirm on Kubuntu 21.10 with Intel 620 and nVidia proprietary. It is quite annoying and I have to try all sorts of things to make it work. Maximize/Restore/Minimize not always work.
Comment 6 ad1rie3 2022-01-19 21:01:56 UTC
Hello, 
cannot reproduce, maybe driver update fix the problem?  
INFO : 
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.12-200.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15.6 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1660/PCIe/SSE2
NVIDIA: 495.46
X11
Comment 7 elman 2022-01-20 11:24:06 UTC
It only happens from time to time. Not every time.
Comment 8 Fushan Wen 2022-01-20 11:25:09 UTC
A stable way to reproduce the bug:

1. Open 2 Firefox windows, and maximize only one of them.
2. Restart Firefox in about:profiles from the maximized window.
Comment 9 Vlad Zahorodnii 2022-01-20 11:40:21 UTC
I debugged this issue some time ago. Based on geometry info in xwininfo, firefox has good window geometry. Furthermore, the task manager shows the same as what kwin shows. This looks like a Firefox bug.