Closed Bug 372246 Opened 18 years ago Closed 17 years ago

[Mac] XULRunner profile dir misses vendor name

Categories

(Toolkit :: Startup and Profile System, defect)

x86
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: BenB, Unassigned)

References

Details

Reproduction: 1. Create application.ini with [App] ; This field specifies your organization's name. This field is recommended, ; but optional. Vendor=TomTom ; This field specifies your application's name. This field is required. Name=HOME 2. Start on Windows, Linux and Mac and look at profile location Actual result: Mac: Just .../Application Support/HOME/Profiles/.... This makes no sense whatsoever to the user. Linux and Windows as expected. * Windows: Windows user profile\AppData\TomTom\HOME\feiguikjsb.default\ * Linux: /home/username/.tomtom/home/feiguikjsb.default/ * Mac: /Users/username/Library/Application Support/HOME/Profiles/feiguikjsb.default Expected result: Mac: Vendor included somewhere, e.g. * .../Application Support/TomTom HOME/Profiles/... * .../Application Support/TomTom/HOME/Profiles/... Importance: This is a real app, it really is called "TomTom HOME". No, I don't want ...\TomTom\TomTom HOME\ on Windows. Related: bug 365023.
I believe that this is intentional and certainly seems to line up with how other apps place their preferences on Mac. See http://mxr.mozilla.org/seamonkey/source/toolkit/xre/nsXREDirProvider.cpp#866
Indeed, it is intentional. Though if you're interested in adding an directory name override setting to application.ini, I'd consider taking it.
How about UniqueName, which will default to AppName and be used in places where the Vendor will not be used? That seems to be the core problem here: "Firefox" and "Adium" are unique and expressive, but "HOME" is not, it's only unique and expressive with the vendor name. There are a lot of apps in both classes. There are also a lot of instances - not just the profile - where you want to use only "Firefox", not "Mozilla Firefox", but you do want to use "TomTom HOME", not just "HOME".
(In reply to comment #2) > Indeed, it is intentional. Though if you're interested in adding an directory > name override setting to application.ini, I'd consider taking it. Presumably this would be something along the lines of: ProfileFolder=TomTom HOME And then exactly that folder name (or entire path if it contains /'s) would appear under Application Data/Application Support/~ depending on platform
More specifically "MacProfileFolder=TomTom HOME" since Windows/Unix already use the Vendor/Appname. Thunderbird may be going to need something like this also.
bsmedberg, I was proposing UniqueName, because there are probably many places where you use AppName where I want "TomTom HOME". They should all be changed to UniqueName (when I trip over them :) ), not just the profile.
I am not prepared to add a general setting at this point to solve a specific case.
Assignee: benjamin → nobody
Component: XULRunner → XRE Startup
QA Contact: xulrunner → xre.startup
Blocks: tomtom
Fixed by bug 396209
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: XRE Startup → Startup and Profile System
QA Contact: xre.startup → startup
You need to log in before you can comment on or make changes to this bug.