[snap] Unmaximized but not unfullscreened

Bug #1969509 reported by vasdi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Fix Released
Unknown
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 21.10
Firefox 99.0.1-1 from snap

With title bar hidden:
 maximize Firefox window
 set it full-screen
 move cursor to the upper edge of the screen
 double-click the bar

The window ends up in unexpected state

Tags: impish snap
Revision history for this message
vasdi (vasdi) wrote :
Revision history for this message
Paul White (paulw2u) wrote (last edit ):

Thank you for taking the time to report this bug and help make Ubuntu better.

The Firefox snap is now provided by Mozilla and not by Canonical or Ubuntu developers, and they may not be aware of this issue. If this you are still experiencing this problem then please contact them via https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla and link the bug report here so it can be further tracked. Thank you!

tags: added: impish
tags: added: snap
summary: - Unmaximized but not unfullscreened
+ [snap] Unmaximized but not unfullscreened
Olivier Tilloy (osomon)
Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
In , vasdi (vasdi) wrote :

Created attachment 9279747
firefoxbug.png

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

Steps to reproduce:

Ubuntu 21.10
Gnome 42.1, X11
Firefox from snap, reproducible in Nightly build 20220604092742

With title bar hidden:
   maximize Firefox window (by double-click on top bar)
   set it full-screen (by pressing F11 key)
   move cursor to the upper edge of the screen
   double-click the bar

Actual results:

The window ends up in unexpected state. It behaves as fullscreen window but it's not one.

Expected results:

I expect window to stay maximized.

Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Changed in firefox:
status: Unknown → New
Revision history for this message
In , Emilio (emiliocobos) wrote :

Created attachment 9279753
Bug 1772693 - Fix transition from fullscreen to maximized. r=stransky

We don't call MakeFullScreen(false), causing weirdness. This is needed even
with the next patch because otherwise other things like grabbing the tabbar
cause the same kind of weirdness.

Revision history for this message
In , Emilio (emiliocobos) wrote :

Created attachment 9279754
Bug 1772693 - Don't transition from fullscreen -> maximized on double-click. r=stransky

It's probably unexpected (even though after the patch above it behaves
properly).

Depends on D148340

Changed in firefox:
status: New → In Progress
Olivier Tilloy (osomon)
Changed in firefox (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
In , Phab-bot (phab-bot) wrote :

Comment on attachment 9279753
Bug 1772693 - Fix transition from fullscreen to maximized. r=stransky

Revision D148340 was moved to bug 1773118. Setting attachment 9279753 to obsolete.

Revision history for this message
In , Pulsebot (pulsebot) wrote :

Pushed by <email address hidden>:
https://hg.mozilla.org/mozilla-central/rev/844584297b2c
Don't transition from fullscreen -> maximized on double-click. r=stransky

Revision history for this message
In , Nfay (nfay) wrote :
Changed in firefox:
status: In Progress → Fix Released
Revision history for this message
In , Oana-ardelean (oana-ardelean) wrote :

I managed to reproduce this issue on a 2022-06-04 Nightly build on Ubuntu 22.04 using the steps from the Description. Verified as fixed on Firefox 103.0b9(build ID: 20220714185732), Nightly 104.0a1(build ID: 20220717190235) and Nightly 104.0a1 Snap build(build ID: 20220718020349) on Ubuntu 22.04.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.