Closed Bug 1613801 Opened 4 years ago Closed 4 years ago

macOS' Window menu has the brand-full-name suffix repeated at the end of every browser window title

Categories

(Firefox :: Menus, defect, P1)

All
macOS
defect

Tracking

()

RESOLVED FIXED
Firefox 75
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- disabled
firefox73 --- wontfix
firefox74 --- fixed
firefox75 --- fixed

People

(Reporter: MattN, Assigned: zbraniecki)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Every window listed in the macOS "Window" menu now duplicates the -brand-full-name causing the menu items to be longer and more noisy.

Last good revision: eb874118621070fa4ef69cb951b2dd7a51f93d66
First bad revision: bff9eef8191f12cee9af275966a563517dcdf429
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=eb874118621070fa4ef69cb951b2dd7a51f93d66&tochange=bff9eef8191f12cee9af275966a563517dcdf429

From skimming bug 1591328 and the Phabricator reviews I don't think this was intentional, or was it?

Flags: needinfo?(gandalf)

Looking at browser-main-window-content-title it seems like an intended outcome.

Gijs - is that something worse reconsidering?

Flags: needinfo?(gandalf) → needinfo?(gijskruitbosch+bugs)

(In reply to Zibi Braniecki [:zbraniecki][:gandalf] from comment #1)

Looking at browser-main-window-content-title it seems like an intended outcome.

Gijs - is that something worse reconsidering?

I don't really understand; the macOS window menu prior to the changes didn't have the suffix (I just checked), and now it does. That doesn't seem like an intended outcome to me, just something that got missed when reviewing...

Looking into it, it seems this is because although the titlemodifier was set to the brand name by default, it wasn't on macOS, cf. https://searchfox.org/mozilla-esr68/rev/bbc55d9f112cc053352a979463fc3ae2b516e1a9/browser/base/content/browser.xul#47-58 .

I expect the FTL here need a check for macOS and should omit the brandname in that case.

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(gandalf)

I don't really understand; the macOS window menu prior to the changes didn't have the suffix (I just checked), and now it does. That doesn't seem like an intended outcome to me, just something that got missed when reviewing...

Ah, then it's my fault. I noticed that outcome out of our brainstorm in the original migration bug and assumed that you're suggesting intentional coalescing of behaviors (prior to the migration there was a high number of permutations possible).

I expect the FTL here need a check for macOS and should omit the brandname in that case.

Gotcha, yep.

Flags: needinfo?(gandalf)
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by zbraniecki@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e5c72e92c4dc
Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Backout by shindli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5df075b6a6bb
Backed out changeset e5c72e92c4dc for causing bc permafailures in browser_privatebrowsing_windowtitle.js  CLOSED TREE
Attachment #9125728 - Attachment is obsolete: false

Thank you! Had to update a single test to expect different title between Mac and others.

Flags: needinfo?(gandalf)
Pushed by zbraniecki@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/021e98de289d
Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75

Please nominate this for Beta approval when you get a chance.

Flags: needinfo?(gandalf)

Comment on attachment 9125728 [details]
Bug 1613801 - Don't include brand name in the window title on Mac.

Beta/Release Uplift Approval Request

  • User impact if declined: Unnecessary product name in a list of windows on MacOS.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • 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):
  • String changes made/needed: browser-main-window-content-title-default, browser-main-window-content-title-private
Flags: needinfo?(gandalf)
Attachment #9125728 - Flags: approval-mozilla-beta?

(In reply to Zibi Braniecki [:zbraniecki][:gandalf] from comment #14)

  • String changes made/needed: browser-main-window-content-title-default, browser-main-window-content-title-private

Just to confirm, it's OK to uplift this.

Comment on attachment 9125728 [details]
Bug 1613801 - Don't include brand name in the window title on Mac.

Looks safe, uplift approved for 74.0b8, thanks.

Attachment #9125728 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: