Closed
Bug 192849
Opened 23 years ago
Closed 22 years ago
[Mach-O] Mozilla, on receiving URL from another application while shut down, launches and displays blank page rather than URL
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Shawn.Vrabel, Assigned: ccarlen)
References
Details
Attachments
(1 file)
1008 bytes,
patch
|
lordpixel
:
review+
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3b) Gecko/20030211
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3b) Gecko/20030211
Clicking on links in Mail.app or typing "open http://mozilla.org" will open
Mozilla but will not open the link.
Reproducible: Always
Steps to Reproduce:
1.Quit Mozilla.
2.Click on link in Mail.app
3.Observe nothing happening.
Actual Results:
A blank browser window appeared.
Expected Results:
Opened the browser and loaded the page.
Comment 1•22 years ago
|
||
*** Bug 194039 has been marked as a duplicate of this bug. ***
Comment 2•22 years ago
|
||
-> XP Apps & confirming
Also, I can't imagine this has only been reported one other time, I just
couldn't find another dupe on my searching
Assignee: asa → jaggernaut
Status: UNCONFIRMED → NEW
Component: Browser-General → XP Apps
Ever confirmed: true
QA Contact: asa → paw
Whiteboard: DUPEME
Comment 3•22 years ago
|
||
*** Bug 194307 has been marked as a duplicate of this bug. ***
Comment 4•22 years ago
|
||
*** Bug 193944 has been marked as a duplicate of this bug. ***
Comment 5•22 years ago
|
||
*** Bug 194491 has been marked as a duplicate of this bug. ***
Comment 6•22 years ago
|
||
*** Bug 195349 has been marked as a duplicate of this bug. ***
Comment 7•22 years ago
|
||
*** Bug 195646 has been marked as a duplicate of this bug. ***
*** Bug 195719 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Whiteboard: DUPEME
Comment 10•22 years ago
|
||
*** Bug 195779 has been marked as a duplicate of this bug. ***
Comment 11•22 years ago
|
||
Revising summary.
Summary: [Mach-O] Browser does not open URLs from other applications on first load → [Mach-O] Mozilla, on receiving URL from another application while shut down, launches and displays blank page rather than URL
Comment 12•22 years ago
|
||
not gonna hold 1.3 for this. Hopefully 1.4a
Flags: blocking1.4a+
Flags: blocking1.3?
Flags: blocking1.3-
Comment 13•22 years ago
|
||
*** Bug 197532 has been marked as a duplicate of this bug. ***
Comment 14•22 years ago
|
||
*** Bug 197725 has been marked as a duplicate of this bug. ***
Comment 15•22 years ago
|
||
*** Bug 198332 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Flags: blocking1.4a+ → blocking1.4a-
Comment 16•22 years ago
|
||
*** Bug 200268 has been marked as a duplicate of this bug. ***
Comment 17•22 years ago
|
||
*** Bug 197650 has been marked as a duplicate of this bug. ***
Comment 18•22 years ago
|
||
*** Bug 200747 has been marked as a duplicate of this bug. ***
Comment 19•22 years ago
|
||
*** Bug 200946 has been marked as a duplicate of this bug. ***
Comment 20•22 years ago
|
||
Going on two months now and this still hasn't been assigned. Can we please get
this fixed?
Comment 22•22 years ago
|
||
Well, I don't have a fix, but I think I might have narrowed this down a little.
This is my first time touching Mozilla source code, so be gentle if I'm off-base ;)
In nsNativeAppSupportForCocoa.mm, there is a bunch of code for dealing with the
splash screen which is commented out because the splash screen doesn't actually
work in MachO. If I uncomment that code, then the 'open location' event that
causes Mozilla to launch works (even though no splash screen is displayed, since
the splash screen stuff is actually broken). With it commented out, it doesn't.
This seems to imply to me that the initial "process any pending events the
system sent us as we launched" code must be tied into the splash screen somehow...
Assignee | ||
Comment 23•22 years ago
|
||
Dave, nsNativeAppSupportForCocoa.mm isn't used in any working build. That file
is only compiled in toolkit=cocoa builds. Mach-O mozilla isn't built with cocoa.
Comment 24•22 years ago
|
||
OK... /me wonders what the hell else was different between my two builds then,
since I did get it to work once...
Comment 25•22 years ago
|
||
Some apps will dispatch URLs to Mozilla that don't work (they are old-style CFM
urls). Give us an example of one that breaks for you.
Comment 26•22 years ago
|
||
$ cat - | osascript
tell application "MozillaDebug"
open location "http://www.google.com/"
end tell
^D
Works fine if Mozilla is already running. If Mozilla wasn't running and has to
launch, it doesn't work (you get your default home page instead of the one
specified in the script).
Comment 27•22 years ago
|
||
(Related to bug 197643?)
Assignee | ||
Comment 28•22 years ago
|
||
We get to here:
http://lxr.mozilla.org/seamonkey/source/xpfe/bootstrap/nsAppRunner.cpp#1220, and
processedArgc == 3 (nsCommandLineServiceMac is putting the url into the command
line properly) and defaultStartup == FALSE. Something goes wrong after that point.
This seems like a pretty major usability issue. Taking.
Assignee: jgleigh → ccarlen
Assignee | ||
Comment 29•22 years ago
|
||
Adding a url string to the command line without the "-url" arg doesn't work.
Assignee | ||
Comment 30•22 years ago
|
||
Comment on attachment 119701 [details] [diff] [review]
patch
I could have sworn this file had been detabbed. Oh well, I'd like to detab it
on this checkin.
Attachment #119701 -
Flags: superreview?(sfraser)
Attachment #119701 -
Flags: review?(lordpixel)
Assignee | ||
Comment 31•22 years ago
|
||
Another thing I noticed when working on this: While Camino gives the option of
what to do when asked to open a URL (new window, new tab, etc.), not mozilla. Am
I missing something?
Updated•22 years ago
|
Attachment #119701 -
Flags: superreview?(sfraser) → superreview+
Comment 32•22 years ago
|
||
No, but we could add it to Mozilla.
Comment 33•22 years ago
|
||
That might be bug 121969.
Comment 34•22 years ago
|
||
tested patch locally, it works. :)
Updated•22 years ago
|
Attachment #119701 -
Flags: review?(lordpixel) → review+
Assignee | ||
Comment 35•22 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 36•22 years ago
|
||
*** Bug 203804 has been marked as a duplicate of this bug. ***
Comment 37•22 years ago
|
||
*** Bug 203140 has been marked as a duplicate of this bug. ***
Comment 38•22 years ago
|
||
*** Bug 206139 has been marked as a duplicate of this bug. ***
Comment 39•22 years ago
|
||
*** Bug 207297 has been marked as a duplicate of this bug. ***
Comment 40•22 years ago
|
||
*** Bug 232461 has been marked as a duplicate of this bug. ***
Comment 41•22 years ago
|
||
Fine, that the bug should be fixed but when I install Mozilla from an official
page and this bug is still apparent and nothing is to be found in the actual bug
thread I would guess that some clever individuals know how to avoid this problem
but fixing would imply to my understanding to change sourcecode to avoid this
bug. Sorry for this arrogant comment but I am no expert and even reading all the
comments and threads which eventually inform me how to correct the problem
myself is too much for leisure time or weekend. If this problem is ***really***
solved as a compiled actual version I would be greatful to get a note.
bye
dirk
Comment 42•22 years ago
|
||
Dirk: note that this bug is resolved/fixed.
The issue in question was fixed on 2003-04-08, which would have made it into
every build since 1.4ish.
What version are you using that it's still broken in?
Comment 43•22 years ago
|
||
I have had this problem repeatedly with Eudora. Reinstalling Eudora fixed the
problem every time. This might indicate that the problem is not always with Mozilla.
Comment 44•22 years ago
|
||
Yes, I would agree in that case. I use Eudora myself. Eudora doesn't use the
standard system mechanism for launching a URL (which is what got fixed here).
Eudora has its own hack of a system for doing it (which "happens" to work with
most browsers).
Eudora's a nice powerful client, but its authors have a habit of fighting Apple
tooth and nail against any change they ever make to the operating system. (See
their comments in the "Internet Dialup" settings panel for an example). They
also tend to publicly blame Apple for many of their bugs, when really it means
they didn't follow the docs when they originally wrote it.
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•