Closed Bug 1751560 Opened 2 years ago Closed 2 years ago

Incorrectly Formatted Menu Bar Items on macOS

Categories

(Core :: Widget: Cocoa, defect, P2)

Firefox 95
defect

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox96 --- wontfix
firefox97 --- fixed
firefox98 --- fixed

People

(Reporter: night, Assigned: mconley)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0

Steps to reproduce:

Option-Click (or right click) on the Firefox icon in the Dock while the application is running.

Actual results:

The context menu opens and lists items for "New window" and "New private window" without the proper capitalisation that is expected for macOS menu item labels.

Expected results:

The items should be capitalised appropriately as "New Window" and "New Private Window", following other applications on the platform and Apple's guidelines. For instance, Safari has the exact same two options with the expected capitalisation.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Cocoa
Product: Firefox → Core

Mike, could you weigh in here? I believe these two menus were supposed to keep title casing, but were changed in bug 1682022.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mconley)
Priority: -- → P2
Regressed by: 1682022

Set release status flags based on info from the regressing bug 1682022

Has Regression Range: --- → yes
Assignee: nobody → mconley
Status: NEW → ASSIGNED

Whoops - yeah, this looks like an oversight on our part. Patch up.

Flags: needinfo?(mconley)
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f42acdeba31a
Use title-cased File menu strings for macOS dock menu items. r=mhowell
Flags: in-testsuite+
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

Does this want beta uplift? Last beta gtb is in a few hours, and this looks pretty safe.

Flags: needinfo?(mconley)

Comment on attachment 9260910 [details]
Bug 1751560 - Use title-cased File menu strings for macOS dock menu items. r?mhowell!

Beta/Release Uplift Approval Request

  • User impact if declined: macOS users will find that some strings in the dock menu for Firefox don't match the casing conventions of the platform (Title Case).
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): We're changing the menu items to use the strings from the native File menu, which are properly cased. This does not require a string change - it's just a really simple string ID change.
  • String changes made/needed: None.
Flags: needinfo?(mconley)
Attachment #9260910 - Flags: approval-mozilla-beta?

Comment on attachment 9260910 [details]
Bug 1751560 - Use title-cased File menu strings for macOS dock menu items. r?mhowell!

Trivial fix switching us over to properly-cased strings. Approved for 97.0b9 and 91.6esr.

Attachment #9260910 - Flags: approval-mozilla-esr91+
Attachment #9260910 - Flags: approval-mozilla-beta?
Attachment #9260910 - Flags: approval-mozilla-beta+

Comment on attachment 9260910 [details]
Bug 1751560 - Use title-cased File menu strings for macOS dock menu items. r?mhowell!

nvm, this would need a different patch for ESR and it's probably not worth someone's effort to do so.

Attachment #9260910 - Flags: approval-mozilla-esr91+ → approval-mozilla-esr91-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: