Closed Bug 1687274 Opened 3 years ago Closed 2 years ago

Resizing the browser horizontally while in customize mode does not respect the minimum width

Categories

(Firefox :: Toolbars and Customization, defect, P5)

Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1799426
Tracking Status
firefox-esr78 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- wontfix
firefox87 --- fix-optional

People

(Reporter: atrif, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Affected versions

  • 86.0a1 (20210117214903)
  • 85.0b9 (20210114193053)
  • 84.0.2 (20210105180113)
  • 78.6.1esr (20210105204613)

Affected platforms

  • Windows 10x64
  • MacOS 11
  • Ubuntu 18.04

Steps to reproduce

  1. Open Firefox and go to the Customize menu.
  2. Resize the browser horizontally making it smaller.

Expected result

  • Browser is resized as expected respecting the minimum width.

Actual result

  • On Windows 10x64 the Minimize, Maximize buttons are cut off: screenshot
  • On macOS 11 there is only Back and Forward buttons displayed: screenshot
  • On Ubuntu 18.04 the entire browser can be hidden while resizing (see attached screen recording)

Regression range

Notes

  • Attached a screen recording.
  • The issue can be reproducible only in customize mode.
Has Regression Range: --- → yes
Has STR: --- → yes

This is because the min-width: -moz-fit-content rule in browser.css applied to :root stopped having any effect when we changed the root element in bug 1492582 .

This problem was noticed in bug 1610497 in the phabricator comments but not fixed; as far as I can tell the follow-up bug discussed was not filed.

Severity: S3 → S4
Priority: -- → P5
Regressed by: 1492582
See Also: → 1610497

(In reply to :Gijs (he/him) from comment #1)

This is because the min-width: -moz-fit-content rule in browser.css applied to :root stopped having any effect when we changed the root element in bug 1492582 .

This problem was noticed in bug 1610497 in the phabricator comments but not fixed; as far as I can tell the follow-up bug discussed was not filed.

Not overriding the non-customization minimum width of 450px makes the situation better, but at least on Windows 10 it still leads to the overflow panel in customize mode getting clipped. I experimented a bit but couldn't figure out how to change this.

Dão or Brendan, do you perhaps have ideas here?

Flags: needinfo?(dao+bmo)
Flags: needinfo?(bdahl)

For non-xul root elements we're doing a simple lookup on the style min-width. Emilio had a comment on an alternative way to do this awhile back. I'm not sure if addressing that would fix the issue though.

Flags: needinfo?(bdahl)

Bug 1799426 should fix this too.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1799426
Resolution: --- → DUPLICATE

Confirming that the min-width is now applied inside Customize Menu in Windows 10x64, macOS 12 and Ubuntu 20.04.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: