Closed Bug 1711039 Opened 4 years ago Closed 4 years ago

When using MOZ_X11_EGL=1 and disabling and re-enabling compositing, firefox window does not repaint

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 88
defect

Tracking

()

RESOLVED DUPLICATE of bug 1712665

People

(Reporter: kokoko3k, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Steps to reproduce:

I tried to switch kernel versions to no avail and even tried firefox nightly 90, but the problem is the same as for firefox 89.

set MOZ_X11_EGL=1
Upgraded from Firefox 88 to firefox 89
disabled kwin compositing
enabled kwin compositing
(may need to do it multiple times)

Actual results:

Firefox window becomes unresponsive
Need to close the whole browser and reopen
I tried to open 2 firefox windows and they both hangs.

Expected results:

Nothing at all

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → Widget: Gtk
Blocks: gtk-kde
Priority: -- → P3

For the record, the bug does not depends on kde/kwin.
Just try this in a blank x11 environment:

openbox --replace &
MOZ_X11_EGL=1 firefox &
sleep 10
picom

I mean, as soon as compositing is activated, this time it is picom, firefox just hangs.

I can confirm this bug. I am also using Firefox on KDE.
Note that the menu bar (File, Edit, View...) still works, but not any other thing below that.

I've found a manual workaround for critical tabs.
You can blindly drag them out of the firefox window so that they will be opened in another firefox window.
There they will work again.
If you have just one tab, you can issue ctrl-t to open a new one and then drag the first one out of the window, then hit alt+f4 to close firefox

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Is this really a duplicate of 1685840? 1685840 is the window border issue when changing compositing, while this bug is with Firefox's window freezing when changing compositing.

^^ This.
...also, bug 1685840 has no reference to MOZ_X11_EGL which is required to reproduce this bug.

You need to log in before you can comment on or make changes to this bug.