Closed
Bug 553073
Opened 15 years ago
Closed 15 years ago
CFBundleIdentifier in /browser/app/macbuild/Contents/Info.plist.in is hardcoded as "org.mozilla.firefox"
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3.7a4
People
(Reporter: christian, Assigned: reed)
References
Details
Attachments
(1 file)
3.00 KB,
patch
|
jaas
:
review+
|
Details | Diff | Splinter Review |
The CFBundleIdentifier in /browser/app/macbuild/Contents/Info.plist.in is hardcoded as "org.mozilla.firefox", which could potentially cause default browser issues when running minefield and firefox on the same machine.
Running:
$ /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -C 4 org.mozilla.firefox | grep -i path: | grep -v Volumes | uniq
path: /Applications/Minefield.app
path: /Users/legnitto/src/mozilla-central/obj-x86_64-apple-darwin10.2.0/dist/Minefield.app
path: /Applications/Firefox.app
shows me the paths launch services associates with org.mozilla.firefox (notice minefield in there).
There are other hardcoded references to firefox in Info.plist.in which may need to be changed as well.
Comment 1•15 years ago
|
||
(In reply to comment #0)
> The CFBundleIdentifier in /browser/app/macbuild/Contents/Info.plist.in is
> hardcoded as "org.mozilla.firefox", which could potentially cause default
> browser issues when running minefield and firefox on the same machine.
Definitely does cause issues (at least I'll believe this is the root cause). Links from external apps will open in whichever you've opened first. Open Minefield, open Firefox (different profile), restart Minefield - links from external apps will open in Firefox even though I want them to open in Minefield (and expect them too - Safari shows it as the default browser).
Assignee | ||
Comment 2•15 years ago
|
||
Something like this?
Comment 3•15 years ago
|
||
Comment on attachment 433185 [details] [diff] [review]
patch - v1
I'd rather josh took a look at this. It sounds reasonable, but I'm not sure what effect it has on remoting etc.
Attachment #433185 -
Flags: review?(ted.mielczarek) → review?(joshmoz)
Comment on attachment 433185 [details] [diff] [review]
patch - v1
I'm fine with what this appears to do, but I'm not a good reviewer for the mechanics of the patch. That looks alright to me, fwiw though.
Attachment #433185 -
Flags: review?(joshmoz) → review+
Assignee | ||
Comment 5•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a4
Comment 8•15 years ago
|
||
My Minefield build (20100324) is now identified as "Unknown Application" in the Spaces prefs (and probably elsewhere that I haven't noticed) -- is this intended?
Comment 9•15 years ago
|
||
Minefield also asked me to set it as the default when I started it up, to which I responded 'yes' - but now all my links in external apps open in Safari :(
Comment 10•15 years ago
|
||
I'm nearly certain that Minefield isn't supposed to identify as "Unknown Application", and certain that setting it as my default browser should work. Re-opening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 11•15 years ago
|
||
(In reply to comment #10)
> I'm nearly certain that Minefield isn't supposed to identify as "Unknown
> Application", and certain that setting it as my default browser should work.
http://beardendesigns.com/blogs/permalink/38-Get_Spaces_and_Netbeans_working_together talks about a similar problem. Based on what the post mentions, maybe try moving the entire Minefield folder out of Applications and deleting its association in Spaces. Once that's done, then move it back and see if it works.
I don't even own a Mac or have OS X, so not much I can personally do to debug this myself.
Comment 12•15 years ago
|
||
(In reply to comment #11)
> (In reply to comment #10)
> > I'm nearly certain that Minefield isn't supposed to identify as "Unknown
> > Application", and certain that setting it as my default browser should work.
>
> http://beardendesigns.com/blogs/permalink/38-Get_Spaces_and_Netbeans_working_together
> talks about a similar problem. Based on what the post mentions, maybe try
> moving the entire Minefield folder out of Applications and deleting its
> association in Spaces. Once that's done, then move it back and see if it works.
This fixed both Spaces, and the default browser problem. I think we need to stop from every happening though, if we ever want to ship it ;-).
Comment 13•15 years ago
|
||
I filed bug 554997 for those issues.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 14•15 years ago
|
||
(Would be good to get someone to test the patch before landing in the future...)
Comment 15•15 years ago
|
||
The initial report was about something that "could potentially cause default-browser issues". We've landed an untested patch that definitely does cause default-browser issues. Bug 554997 doesn't have a solution for this issue yet. Shouldn't we just back this out?
Reporter | ||
Comment 16•15 years ago
|
||
I don't believe this should be backed it. This fix is correct, there is a workaround to the "regression" and the fix to bug 554997 should be trivial.
I'm new though so I am not sure about the general way of Bugzilla (back this out and wait until bug 554997 lands or keep this in and use the workaround/wait for bug 554997).
I also posted to planet with the workaround in bug 554997.
Comment 17•15 years ago
|
||
I don't think it's reasonable to expect that our users will research or use a workaround like this. We should back out the regressing bug until the workaround isn't required.
Reporter | ||
Comment 18•15 years ago
|
||
Again, bug 554997 will not impact any users of a branded build. Aren't nightly/trunk testers assumed to be reasonably tech-savvy?
I don't really care all that much, just playing devil's advocate.
You need to log in
before you can comment on or make changes to this bug.
Description
•