Zoom isn't restored after exiting fullscreen if browser.ui.zoom.force-user-scalable = true
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: csheany, Unassigned)
References
Details
(Whiteboard: [geckoview:p3][layout:p3])
User Agent: Mozilla/5.0 (Android 7.1.1; Tablet; rv:66.0) Gecko/66.0 Firefox/66.0 Steps to reproduce: With browser.ui.zoom.force-user-scalable set to true 1. Open a page with video (e.g. YouTube) 2. Zoom in 3. Enter fullscreen 4. Exit fullscreen Actual results: The page is zoomed out. Expected results: The page should still be zoomed in.
Comment 1•5 years ago
|
||
Hi and thanks for your report. I tried to reproduce your issue using Samsung Galaxy Tab S3(Android 8.0), Huawei P9 Lite(Android 6.0), OnePlus 5T (Android 8.1.0) and Motorola Nexus 6 (Android 7.1.1) on all branches (Nightly, Beta, Release) but I wasn't able. Can you make a video with your problem? Also if you have any additional information please let us know, thanks.
Edit: The description should have also said that can't be zoomed in otherwise.
It happens consistently and is the only differnce I can think of compared to Bug 1511137.
Comment 3•5 years ago
|
||
I am unable to reproduce this either. After exiting fullscreen, the page is zoomed in to the same level as it was before fullscreen.
Which Nightly were you testing with?
Nightly 66.0a1 (2019-01-14)
Are you entering fullscreen before or after the video is playing?
Is the video auto rotated?
With media.videocontrols.lock-video-orientation it doesn't happen.
Comment 5•5 years ago
|
||
(In reply to csheany from comment #4)
Nightly 66.0a1 (2019-01-14)
Ok, same.
Are you entering fullscreen before or after the video is playing?
I've tried both, no difference in behaviour.
Is the video auto rotated?
Yep.
One possible source of difference is screen size (phoen vs. tablet). Unfortunately, I have not been able to get my hands on a working Android tablet yet.
Comment 7•5 years ago
|
||
I was testing with YouTube. (Mobile site, now that I think of it. Perhaps I should test with "Request desktop site"?)
I thought orientation might have been factor but I can also reprdouce starting in landscape.
Reporter | ||
Comment 10•5 years ago
|
||
What do you experience with w3schools.com/html/html5_video.asp
Updated•5 years ago
|
Comment 11•5 years ago
|
||
(In reply to csheany from comment #10)
What do you experience with w3schools.com/html/html5_video.asp
I can reproduce it on the desktop version of the site. Seems to be independent of browser.ui.zoom.force-user-scalable, which suggests it may a different issue from what you're seeing.
Comment 12•5 years ago
|
||
The issue that I'm seeing is an interaction between code to update the zoom level when changing orientation, and code to update the zoom level when entering/exiting fullscreen. Possibly the code to update the zoom level when changing orientation should be suppressed for orientation changes triggered by fullscreen entry/exit.
Reporter | ||
Comment 13•5 years ago
|
||
Comment 15•5 years ago
|
||
Is this something we want to tackle together with our other viewport fixes? CC Sean.
Comment 16•5 years ago
|
||
(In reply to Liz Henry (:lizzard) (use needinfo) from comment #14)
Botond is this also an issue with geckoview?
Yes, the issue is in code shared by Fennec and GeckoView.
(In reply to Andreas Bovens [:abovens] from comment #15)
Is this something we want to tackle together with our other viewport fixes?
FWIW, this is on my list of viewport-related issues to fix in the coming months, but given the low severity, it's not near the top of the list.
Updated•5 years ago
|
Comment 17•5 years ago
|
||
I'll keep note of it as a lower-priority work item per comment 16.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 18•5 years ago
|
||
This is most likely a layout bug, not a video bug.
Reporter | ||
Comment 19•5 years ago
|
||
Depending on Comment 9...
This may not be about zoom at all.
The summary should probably be edited differently.
I was going to leave it up to Botond.
Comment 20•2 years ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Updated•2 years ago
|
Description
•