Closed Bug 1828413 Opened 1 year ago Closed 1 year ago

Menus look odd with some GTK themes.

Categories

(Core :: Widget: Gtk, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

Attached image image.png

Bug 1827026 mentions some themes where menus look a bit odd, see screenshot.

I have an idea to improve the looks of our menus a bit more generally, see incoming patch.

This makes our menus closer to GTK4, and depends less on the native menu
rendering etc. Thunderbird already does this to some extent.

Leave the old code behind a pref for now (just in case). Also fix some
code in nsNativeTheme::GetContentState (fixes rendering of radio menu
items).

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c099d64b17e6
Use more non-native rendering of menus. r=stransky
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/df18ff71a63d
Use more non-native rendering of menus. r=stransky
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/45ebaeec775f
Fix a11y tests so that they don't hover over the rounded corner.
Flags: needinfo?(emilio)
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/11678fb487f2
Temporarily disable a test on Linux while I investigate how to reproduce it.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/b00871bc37dd
Ensure menubar menus are non-fractional, and re-enable browser_mouse_enterleave_switch_tab on Linux.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Flags: needinfo?(emilio)
Regressions: 1829260
Blocks: 1708835
Regressions: 1831570
Regressions: 1831754
Depends on: 1831841
Regressions: 1852153
Regressions: 1873033
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: