Closed Bug 1857511 Opened 2 years ago Closed 2 years ago

[Windows] Sub-menu gets cut off when the browser window isn't wide enough

Categories

(Toolkit :: UI Widgets, defect, P1)

Desktop
Windows
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- unaffected
firefox119 --- wontfix
firefox120 --- verified

People

(Reporter: bmaris, Assigned: sclements)

References

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(2 files)

Attached image Gif showing the issue

This bug is an addition to the fix from bug 1855827.

Affected versions

  • Firefox Beta 119.0b5
  • Latest Nightly 120.0a1

Tested platforms

  • Affected platforms: Windows 10 (probably Windows 11 as well)
  • Unaffected platforms: MacOS 13 and Ubuntu 22.04

Preconditions

  • None

Steps to reproduce

  1. Open Firefox and make it wide enough (1878px for example)
  2. Visit 1 or 2 websites
  3. Open Firefox View
  4. Click on ... button next to a URL
  5. Go to "Move Tab" with the cursor of the mouse

Expected result

  • Submenu if fully visible on the left side or the left side.

Actual result

  • Submenu is cut off by the scrollbar at the edge of the window.

Regression range

Additional notes

  • Gif showing the issue is attached.
Flags: needinfo?(sclements)

:bmaris, if you think that's a regression, could you try to find a regression range using for example mozregression?

Thanks Bogdan.

Assignee: nobody → sclements
Status: NEW → ASSIGNED
Flags: needinfo?(sclements)
Priority: -- → P1
Whiteboard: [fidefe-firefox-view]
  • Swap out winWidth for scrollingElement.clientWidth to account for vertical scrollbar width
Pushed by sclements@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/361e571454e9 Modify submenu alignment in panelList r=reusable-components-reviewers,hjones
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

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

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

For more information, please visit BugBot documentation.

Flags: needinfo?(sclements)
Flags: needinfo?(sclements)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: