Closed Bug 1751143 Opened 4 years ago Closed 4 years ago

Firefox 96 window (without title-bar) shrinks on cinnamon when exiting full-screen video

Categories

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

Unspecified
Linux
defect

Tracking

()

RESOLVED MOVED
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- wontfix
firefox97 --- wontfix
firefox98 --- wontfix

People

(Reporter: stransky, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=2040877

Bug with firefox 96.
Under cinnamon, a firefox window with maximum height shrinks by about 1 cm top and 1 cm bottom when exiting a full-screen video.

Firefox 96 (note that Firefox 95 doesn't show this bug).

Cinnamon 5.2.7, but Firefox 95 worked on this cinnamon version so it's probably irrelevant.

How reproducible:

Steps to Reproduce:
1.First ensure that the Firefox window is maximum height, but not completely maximized (i.e. not maximum width).
2.Now play a video and then go full-screen.
3.Exit full-screen video.

Actual results:

When exiting full-screen, the firefox window has lost about 1 cm from the top and 1 cm from the bottom - in other words, it's no longer maximum height. If you maximize the firefox window now, it appears offset by 1 cm left and 1 cm top. (see attachments).

Expected results:

Window doens't resize.

Additional info:

Bug happens in trouble-shooting mode, and even with a completely new profile once the title bar is hidden.

Works correctly in Gnome. It also works correctly in cinnamon if the title bar is shown.

The mozregression tool gives:

17:45.40 INFO: No more integration revisions, bisection finished.
17:45.40 INFO: Last good revision: cbdc222a3346371f2f9c60135f18108c2bf1bd91
17:45.40 INFO: First bad revision: e4f54b8aab646425e35ab5a810cb1f3b73f72eca
17:45.40 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=cbdc222a3346371f2f9c60135f18108c2bf1bd91&tochange=e4f54b8aab646425e35ab5a810cb1f3b73f72eca

MOZ_GTK_TITLEBAR_DECORATION=system firefox
solves this titlebar problem - it works whether the titlebar is enabled or not. It should be noted though that this gives the sharp corner artifacts in addition to rounded corners, that the original bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1746486
was intended to solve.

MOZ_GTK_TITLEBAR_DECORATION=client firefox
does NOT work, and still shows the bug.

Michael, can you confirm that?
Thanks.

Flags: needinfo?(miketwebster)
Priority: -- → P3

Set release status flags based on info from the regressing bug 1746486

Hi, I can reproduce, although this appears to be a previously undiscovered issue with Cinnamon, as I can reproduce this with other client-decorated apps as well, using the same steps (tested on tilix, celluloid, chromium).

I don't really consider this a regression from bug 1746486, and would prefer to keep that as is - that is the correct behavior for client-decorated windows in Cinnamon. I'll open an issue with Cinnamon/muffin and link it here.

Flags: needinfo?(miketwebster)
Status: NEW → RESOLVED
Closed: 4 years ago
OS: Unspecified → Linux
Resolution: --- → MOVED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.