Closed Bug 1854131 Opened 8 months ago Closed 3 days ago

Three-dot main menu falls off screen, disappears in landscape mode

Categories

(Fenix :: Toolbar, defect, P3)

All
Android

Tracking

(firefox117 wontfix, firefox118 wontfix, firefox119 wontfix, firefox124 wontfix, firefox125 wontfix, firefox126 verified, firefox127 verified, firefox128 verified)

RESOLVED FIXED
126 Branch
Tracking Status
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- wontfix
firefox124 --- wontfix
firefox125 --- wontfix
firefox126 --- verified
firefox127 --- verified
firefox128 --- verified

People

(Reporter: killercontact1.7.4.0, Assigned: mcarare, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [ux-fun-2024] [fxdroid] [group1] [qa-triaged] [s2-list25?] [fxdroid])

Attachments

(12 files)

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

Steps to reproduce:

Force landscape mode, Samsung OneUI 5.1 Android 13

Actual results:

Orientation is wrong, it disappears off-screen. Tapping the fragment still visible takes it back.

See Also: → 1854258

Thanks for the bug report!

Which Firefox version are you using? Is this bug a recent regression or something you've seen before?

Flags: qe-verify+
Keywords: regression
Component: General → Toolbar

Hello,

I was able to reproduce the issue on the latest Nightly build (119.0a1), as well as on the latest Beta and RC builds, as well as on the RC 117 and RC 116. When the toolbar position is set to top, no issues are encountered and the UI looks just fine. The issue only occurs when using the "bottom" option for the toolbar position.

Devices used for testing:

  • Samsung Galaxy S22 Ultra (Android 13)
  • Samsung Galaxy S22 (Android 13)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: qe-verify+
Whiteboard: [qa-triaged]

(In reply to Chris Peterson [:cpeterson] from comment #1)

Thanks for the bug report!

Which Firefox version are you using? Is this bug a recent regression or something you've seen before?

Reproducible for several months on nightly, plus I see the second confirmation.

The same thing happens in split-screen mode when Firefox is the app at the bottom.
If it's the top app, the issue doesn't happen.
verified on 120.0a1 (2.10.23)
118.1.0 (release) is not affected as far as I can tell, so it's a regression.
Though I found one edge case that release doesn't handle well when I'm split-screen mode, I can use the menu just fine. (edge case where I have to scroll twice to fully open the menu, whatever this is definitely before the regression)
I can also reproduce it on 119.0b4

I managed to reproduce it now with the nightly app at the top of the screen (in split-screen mode)
I'm always using the navigation bar at the bottom. it doesn't happen with navigation bar at the top of the screen

Attached image Screenshot 1
Attached image Screenshot 2

this is the maximum I can scroll from the state in Screenshot 1

Attached image Screenshot 3

I made Firefox smaller, now it won't open a menu at all. the button flashes on click (circle) and that's it.
in all of my Screenshots only the bottom Firefox matters for this bug. the top app could be any other app

See Also: → 1846349

Even worse:

When rotate back to portrait mode, the menu appears like this.

See Also: → 1843565
See Also: → 1833465
See Also: → 1812300
See Also: → 1837932
See Also: → 1809245

Bug 1837932 is not related, I think

I just did some regression testing using Mozregression on my Pixel 7 Pro on Android 14:
2023-10-09T05:39:28.454000: INFO : Narrowed nightly regression window from [2023-05-02, 2023-05-04] (2 days) to [2023-05-03, 2023-05-04] (1 days) (~0 steps left)
2023-10-09T05:39:28.504000: INFO : The bisection is done.
2023-10-09T05:39:28.507000: INFO : Stopped

The rough comission window starts here:
https://github.com/mozilla-mobile/firefox-android/commits/main?before=430a9fd10df0c99789d22f7129c985da463b454a+1466&branch=main&qualified_name=refs%2Fheads%2Fmain

I have to assume the commit since mozregression supports only "opt" so far (no autoland/debug etc. to find an exact commit)

Looks likely to me:
https://github.com/mozilla-mobile/firefox-android/commit/47035e0d1956fa732f12f39e2e95f414627a6803
Bug 1812825

Hey Sergey, sorry to interrupt. Your commit from May might have broken the menu bar. We can't scroll to all entries when in landscape mode or while using Android's splitscreen feature.

You probably have better means to verify that it is or is not your commit. I've never build Firefox for Android before.

Flags: needinfo?(5pspw8qgc)
See Also: → 1865112

With Nightly 1220.a1 2015989218 it is now working better. The menu functions properly while in landscape mode, also in 270°. It closes when transforming from any landscape position into portrait or reverse.

Proposing to close this bug for being duplicate, in favour of https://bugzilla.mozilla.org/show_bug.cgi?id=1846349

Severity: -- → S3
Priority: -- → P3
Duplicate of this bug: 1846349

Forgive me if expanding the scope of this bug is inappropriate.

I can't see the Back Forward Share Reload buttons from the three dot menu when using the Pixel Fold, when unfolded using the widescreen interior screen. The buttons are simply missing. And otherwise the pop-up menu looks fine, and is placed in the corner correctly.

The button reappear from the app, on the outer portrait screen, when I fold the phone.

I have screenshots, though I don't know how to attach yet.

Comment on attachment 9369072 [details]
PixelFold-Missing-ButtonBar.jpeg

NOTICE: This is a wide-screen layout, a landscape layout, not the typical portrait layout. 2208 × 1840.

Duplicate of this bug: 1872538
Duplicate of this bug: 1843565
Duplicate of this bug: 1865112
Duplicate of this bug: 1833465

The severity field for this bug is set to S3. However, the following bug duplicate has higher severity:

:skhan, could you consider increasing the severity of this bug to S2?

For more information, please visit BugBot documentation.

Flags: needinfo?(skhan)

FWIW I think the severity should be S2: this makes the browser chrome unusable in landscape, which is pretty bad (though of course there is a workaround if you can go into portrait mode).

Blocks: 1874709
Assignee: nobody → rebecatudor273
Severity: S3 → S2
Flags: needinfo?(skhan)
Assignee: rebecatudor273 → adriana.maries

I got this issue on 124.0b5 exact same as original post.

See Also: → 1876928
Whiteboard: [qa-triaged] → [qa-triaged][s2-list25?]
Whiteboard: [qa-triaged][s2-list25?] → [qa-triaged][s2-list25?][fxdroid]

When the popup doesn't fit up or down, because both availableHeightToTop and availableHeightToBottom are both smaller than containerHeight choose the highest one to choose menu direction.

Mentor: mcarare
Whiteboard: [qa-triaged][s2-list25?][fxdroid] → [fxdroid][group1][qa-triaged][s2-list25?][fxdroid]
Pushed by mcarare@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/671417c0f761
Compare availableHeightToTop and availableHeightToBottom when positioning menu. r=android-reviewers,twhite
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Flags: needinfo?(szx)

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

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

For more information, please visit BugBot documentation.

Flags: needinfo?(adriana.maries)
Flags: needinfo?(adriana.maries)
Flags: qe-verify+

This issue was verified as fixed on Firefox 126 (2024-03-27) using a Google Pixel 7 (Android), Google Pixel 8 (Android 14) and Xiaomi 12T (Android 12). The main menu is correctly displayed and can be successfully scrolled.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Duplicate of this bug: 1889294
Whiteboard: [fxdroid][group1][qa-triaged][s2-list25?][fxdroid] → [ux-fundamental]
Whiteboard: [ux-fundamental] → [ux-fundamental][fxdroid][group1][qa-triaged][s2-list25?][fxdroid]
Whiteboard: [ux-fundamental][fxdroid][group1][qa-triaged][s2-list25?][fxdroid] → [ux-fun-2024] [fxdroid] [group1] [qa-triaged] [s2-list25?] [fxdroid]
Regressions: 1891729

Reopened to be tested after https://phabricator.services.mozilla.com/D208615 lands.

Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee: adriana.maries → mcarare

Seems to be fixed with 125.0b9.

Flags: qe-verify+

Verified as fixed on the latest Nightly 128.0a1 from 05/15 with Samsung Galaxy S22 Ultra (Android 14) and Samsung Galaxy A53 5G (Android 14) .
The main menu is correctly displayed and works as expected while in landscape mode.
I cannot reproduce the issue on latest Beta 127.0b1 and Release 126.0, either.
I'll close this issue as resolved and mark the latest versions accordingly.

Status: REOPENED → RESOLVED
Closed: 2 months ago3 days ago
Flags: qe-verify+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: