Closed Bug 1766524 Opened 2 years ago Closed 2 years ago

Consistently style all menupopups across platforms to respect TB themeing and Density variation

Categories

(Thunderbird :: Theme, enhancement)

enhancement

Tracking

(thunderbird_esr91 unaffected, thunderbird101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
thunderbird_esr91 --- unaffected
thunderbird101 --- fixed

People

(Reporter: aleca, Assigned: Paenglab)

References

(Blocks 1 open bug)

Details

Attachments

(6 files)

We have various menupopups used around the application, some have the cui-widget-panel class, some don't.

Those that don't are styled by the OS, those that have that class come with a consistent style across platforms, as well as properly respecting light/dark variation and density variation.

I think we should make a decision and aim for visual consistency and enforce the same style to all our menupopup elements.
https://searchfox.org/comm-central/rev/5e4def2a2afe978ffeeed96e2f3c0d4a8a80d816/mail/base/content/mainMailToolbar.inc.xhtml#228-229

On Mac the popups opened through openPopupAtScreen() have still the system appearance. Look at AB's bookContext or cardContext.

Keywords: leave-open
Summary: Use the cui-widget-panel class for all menupopups → Consistently style all menupopups across platforms to respect TB themeing and Density variation
Target Milestone: --- → 102 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f530dd9a9552
Use contextMenu.css to style all menus in main window. r=aleca
https://hg.mozilla.org/comm-central/rev/4ead5714d4be
Remove the cui-widget-panel class from menupopups in main window. r=aleca

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5353e5b783fb
follow-up, fix linting. rs=eslint DONTBUILD
Target Milestone: 102 Branch → 101 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/912202005e04
Mac: Hide the second checkmark on main window menu. r=aleca

Blocks: tb-super-css

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/11708dc825f8
Remove the cui-widget-panel class from menupopups in composer window. r=aleca

(In reply to Pulsebot from comment #9)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/11708dc825f8
Remove the cui-widget-panel class from menupopups in composer window. r=aleca

Uplift to comm-beta? It fixes missing check-marks in the OpenPGP compose toolbar button dropdown. (Earlier patches are already on comm-beta.)

Flags: needinfo?(richard.marti)

Comment on attachment 9274676 [details]
Bug 1766524 - Remove the cui-widget-panel class from menupopups in composer window. r=aleca

[Approval Request Comment]
User impact if declined: Inconsistent appearance and PGP popup missing checkmarks
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): should be not too risky

Flags: needinfo?(richard.marti)
Attachment #9274676 - Flags: approval-comm-beta?
Flags: needinfo?(rob)

Comment on attachment 9274676 [details]
Bug 1766524 - Remove the cui-widget-panel class from menupopups in composer window. r=aleca

[Triage Comment]
Approved for beta

Attachment #9274676 - Flags: approval-comm-beta? → approval-comm-beta+
Flags: needinfo?(rob)

Is this bug finished?

Status: NEW → ASSIGNED

No, I need to add more dialogs like Events.

If we find other dialogs we can do this in separate bugs.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/fbaef6eb7701
Convert more dialogs to contextMenu.css. r=aleca
https://hg.mozilla.org/comm-central/rev/bad91e465d3d
Cleanup after using contextMenu.css. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: