Closed Bug 1510029 Opened 6 years ago Closed 5 years ago

Pages don't fit the screen after rotating from portrait to landscape

Categories

(Firefox for Android Graveyard :: Session Restore, defect, P2)

All
Android
defect

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: JanH, Assigned: JanH)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1509552 +++

User Agent: Mozilla/5.0 (Android 7.1.1; Tablet; rv:65.0) Gecko/65.0 Firefox/65.0

Steps to reproduce:

1. Open https://github.com/mozilla-mobile
2. Request desktop site
3. Rotate to landscape


Actual results:

The page is smaller than the screen. Zooming in even slightly fixes the issue but then in portrait the page is larger than screen.


Expected results:

The page should adjust correctly.

=================================
See bug 1509552 comment 15 and 16.

The desktopMode property on Fennec's tab object is already being correctly being
preserved when (re)creating a tab [1], but we don't propagate its state to the
content window's desktop viewport mode setting.

[1] When restoring into a fresh tab, the session restore code passes the stored
desktopMode flag to addTab, whereas zombifying an existing tab destroys its
<browser>, but leaves the tab object's properties intact, so we merely need to
re-set the desktop viewport mode on the new <browser>'s content window.

Pushed by mozilla@buttercookie.de:
https://hg.mozilla.org/integration/autoland/rev/1a8b588c2c0b
Correctly set desktop mode viewport when creating a tab. r=esawin
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67

It seems this landed but the issue remains.

Is there more to it?

Flags: needinfo?(jh+bugzilla)

Since it feels different I created a triplet: Bug 1523844

Flags: needinfo?(jh+bugzilla)

Hi!
Tested this on Nexus 9 (Android 7.1.1, Tablet) on Release version 65.0.1, latest Beta build 66.0b7, latest Nightly build 67.0a1 and its not fixed.
We will change the flag for 67 to verified after Bug 1523844 is fixed.
We didn't closed as duplicate Bug 1523844 because there are useful comments related with this issue.

See Also: → 1523844
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: