Closed Bug 1914826 Opened 24 days ago Closed 5 days ago

Top of screen cut off when exiting full screen

Categories

(Fenix :: Toolbar, defect, P2)

Firefox 131
All
Android
defect

Tracking

(firefox129 wontfix, firefox130 wontfix, firefox131 affected, firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- affected
firefox132 --- fixed

People

(Reporter: giwayume, Assigned: mavduevskiy, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(4 files, 1 obsolete file)

Steps to reproduce:

Tested in nightly 131.0a1

  1. Enable the "secret settings" menu, and use it to uncheck (disable) "Enable Navigation Toolbar"
  2. Visit any website that has the functionality to enter full screen. Example: https://www.youtube.com/watch?v=EngW7tLk6R8
  3. Enter full screen, on youtube press the full screen button to make a video full screen
  4. Exit full screen.

Actual results:

The top of the screen is cut off, by about the amount of space the "navigation toolbar" would have taken up if it were showing at the bottom of the screen.

Expected results:

The top of the screen should not be cut off after exiting full screen.

The Bugbug bot thinks this bug should belong to the 'Fenix::Toolbar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Toolbar

Can you attach a sky record with this error? what phone model are you using?

Flags: needinfo?(giwayume)

This error is visually visible when exiting full screen from the video, it happens very quickly and I noticed it.

Flags: needinfo?(royang)
Flags: needinfo?(cpeterson)
Status: UNCONFIRMED → NEW
Ever confirmed: true

And at the beginning of video input in full screen you see something like a trace on the screen, but when you exit full screen you see a trace from the keyboard, I think.

Actual results:

The top of the screen is cut off, by about the amount of space the "navigation toolbar" would have taken up if it were showing at the bottom of the screen.

eclaudiu64, can you please attach a screenshot (or share the video timestamp) of the moment the top of the screen is cut off? I can't tell when watching the video.

Is this bug reproducible in Fx Beta 130? Since this bug happens when Nightly's new toolbar is disabled, I'm worried this is a regression that we will ship to release users.

Flags: qe-verify+
Flags: needinfo?(royang)
Flags: needinfo?(cpeterson)

I have the address bar on the top. I see you attached a video somehow but I don't see how to do that here.

https://www.youtube.com/watch?v=GpebWfYj_M0

Device is Google Pixel 3a XL, on Android 9.

Flags: needinfo?(giwayume)

In case it is not clear in the video, after exiting full screen the youtube black bar at the top of the screen (has the logo and the search icon) are cut off. This problem persists even if I refresh the page. If I use the address bar to navigate to a new website, the problem fixes itself. I have reproduced on multiple websites that enter fullscreen, not just youtube and not just videos.

Yes, I just installed Firefox Beta, moved the address bar to the top. The issue still occurs there. With the address bar on the bottom, the issue does not present itself.

Sorry, I attached another error, I will post a new bug. In this error I think the author is saying that the bar where the logged in account is, the logo , etc disappears after exiting a full screen video.

Flags: needinfo?(cpeterson)
Flags: needinfo?(cpeterson)
Attached video slow motion.mp4

Thank you for the report!
I was not able to detect the issue.
I've tested on the latest Fenix Nightly 131.0a1 from 8/30 with a Samsung Galaxy Note 8 (Android 9), Xiaomi Mi8 Lite (Android 10), and a Google Pixel 6 (Android 15).

The only difference between Fenix and Chrome, is that on Fenix the toolbar is displayed when exiting fullscreen, and on Chrome it doesn't. Is this the issue?

PS: from the .mp4 uploaded by the reporter, I was not able to observe the cut-off.

Flags: needinfo?(giwayume)
Flags: qe-verify+

I was able to reproduce on another phone.

Samsung Galaxy S20, Android 13.

It appears "Scroll to hide toolbar" also needs to be disabled.

In summary

  1. In "Customize" menu, set "Address bar location" to "Top".
  2. In "Customize" menu, disable "Scroll to hide toolbar".
  3. In "Secret Settings" menu, disable "Enable Navigation Toolbar".
Flags: needinfo?(giwayume)

Thanks for your patience and the new recording. Roger can reproduce the bug now. In this screenshot (of the recording), you can see that YouTube's header is hidden behind Firefox's address bar. The video is flush with the address bar, but should be lower.

This issue is only reproducible when the dynamic toolbar hiding is disabled.

This bug is a navbar beta blocker.

Severity: -- → S3
Priority: -- → P2
Assignee: nobody → mavduevskiy

reinitializeEngineView called inside fullScreenChanged would be picking up the wrong value from the fullScreenFeature, as the feature would updated the value after the callback is executed. hense, propogating the value from the fullScreenChanged callback into the reinitializeEngineView directly.

Pushed by mavduevskiy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d7dbd351ded Fix top margin during fullscreen rotation for static toolbar r=android-reviewers,Roger

einitializeEngineView called inside fullScreenChanged would be picking up the wrong value from the fullScreenFeature, as the feature would updated the value after the callback is executed. hense, propogating the value from the fullScreenChanged callback into the reinitializeEngineView directly.

Comment on attachment 9424742 [details]
Bug 1914826 - Fix vertical spacing after exiting fullscreen (video) mode

sorry, wrong bug

Attachment #9424742 - Flags: approval-mozilla-release?
Attachment #9424742 - Flags: approval-mozilla-beta?

Comment on attachment 9424742 [details]
Bug 1914826 - Fix vertical spacing after exiting fullscreen (video) mode

Revision D222164 was moved to bug 1917932. Setting attachment 9424742 [details] to obsolete.

Attachment #9424742 - Attachment is obsolete: true
Attachment #9424742 - Flags: approval-mozilla-release?
Attachment #9424742 - Flags: approval-mozilla-beta?
Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch

The patch landed in nightly and beta is affected.
:mavduevskiy, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox131 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(mavduevskiy)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: