Closed Bug 1801844 Opened 1 year ago Closed 1 year ago

Remove min-widget-size of some menu items.

Categories

(Core :: Widget: Win32, defect)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

No description provided.

This fixes bug 1799460 for good. You can test this on Win10 with
browser.display.windows.non_native_menus=0 or HCM, but same applies to
Win7/8.

The front-end sets their own sizes anyways, and when the windows sizes
are less than the ones the front-end sets, we see that bug.

This is rather annoying because, even though it's fixable (we can fix
the intrinsic sizing code in the web to deal with this properly), it's
probably not worth fixing, as no web-exposed widget has a min-widget
size other than scrollbars and internal form control parts.

Removing this code altogether just works, since as I said before the
front-end sizes the menu parts anyways, so enforcing a given size in C++
is not necessary.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2be56c37e28d
Remove some min-widget-size for various menuitem bits. r=cmartin
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Attached image 2022-11-23_17h04_26.png

:Emilio, unfortunately, the issue doesn't seem to be fixed. I can reproduce it in both cases, with browser.display.windows.non_native_menus=0 or with high contrast enabled, using the latest Nightly build (20221123094429).

Flags: needinfo?(emilio)

Yes, bug 1801845 will remove all this and make them look non-native.

Flags: needinfo?(emilio)
Regressions: 1802170

Backed out for causing a regression

Status: RESOLVED → REOPENED
Flags: needinfo?(emilio)
Resolution: FIXED → ---
Target Milestone: 109 Branch → ---

Let's do this altogether when I do bug 1801845.

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Flags: needinfo?(emilio)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: