Open Bug 1497588 Opened 6 years ago Updated 2 years ago

macOS "updater" is missing the word Firefox in the binary name

Categories

(Toolkit :: Application Update, defect, P3)

defect

Tracking

()

REOPENED

People

(Reporter: Atoll, Unassigned)

References

Details

On macOS, when I opened Nightly today, instead of a Firefox process in my command-tab menu, I got a process whose name was shown as simply "updater" with two gray arrows in a circle.

This process should be shown to the user as "Firefox Updater" or "FirefoxUpdater" or "firefox_updater" (or even the maximally-useful name "Updating Firefox" and its variants), so that if it gets stuck or hangs or breaks, users know that it's the _Firefox_ updater that's having issues and not just some random process called "updater" with a weird gray icon.
https://github.com/mozilla/gecko-dev/blob/43969de34f5d4b113133d090f024e5eed7a82af0/toolkit/mozapps/update/tests/browser/head.js#L13

It looks like this is where we decide that name:

    const FILE_UPDATER_BIN = "updater" + (IS_MACOSX ? ".app" : BIN_SUFFIX);

And the changes I propose are to the string constant "updater" here.
Component: General → Application Update
Product: Firefox → Toolkit
That's actually a test file and not where the name is determined. I think that OS X provides this info via other mechanisms which is why this hasn't come up previously in the past 13+ years of it being named updater so I'm cc'ing one of the OS X devs.

spohl, could I get your take on this request? What methods are there available on OS X for determining the application other than the path's leafname?
Flags: needinfo?(spohl.mozilla.bugs)
The updater app's name can be changed by replacing `updater.app` by something like `$(MOZ_APP_DISPLAYNAME)-updater.app` in the Makefile [1]. However, note that it is very likely that the app name will have to be changed in several other places and there is a risk of breaking updates altogether. From a quick test, the app does not seem to get the proper app icon applied for example. Any such change would have to be tested carefully, including updates by an `updater.app` to a build with `$(MOZ_APP_DISPLAYNAME)-updater.app`.

[1] https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/updater/Makefile.in
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.