Closed Bug 215428 Opened 22 years ago Closed 21 years ago

openURL() - should be possible to open a new mozilla window even if there is not one already running

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 99945

People

(Reporter: shane.oconnor, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030729 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030729 This is in some part relating to webeyes (a gnome applet) that uses the command "mozilla -remote 'openURL(%s)" to search for a specified string. The problem is that this command (above) only opens a new tab in an existing mozilla window. So if there is no window running then no mozilla window will be opened - this pretty much renders the webeyes applet useless unless mozilla is already running (and in that sense it becomes a bit pointless). In addition I tried using the command "mozilla -remote 'openURL(www.gnome.org, new-window)" from a terminal but this will only open a new window if there is already an existing mozilla window running. Is there any way to use "-remote 'openURL()'" so that a new window can be opened even when there is no mozilla window already running? A bug has also been logged in bugzilla.gnome.org under webeyes applet http://bugzilla.gnome.org/show_bug.cgi?id=119326 Reproducible: Always Steps to Reproduce: 1. execute "mozilla -remote 'openURL(www.gnome.org, new-window)" when there is no existing mozilla window/process running 2. 3. Actual Results: An error message is displayed in terminal "No running window found" Expected Results: Opened a mozilla window regardless of whether there was one running already. If the openURL(%s, new-window) command won't do this then there should be a command that will - sorry for logging the bug if there is but muggins (me) couldn't find it :)
For the RPM builds, just using 'mozilla URL' will either start mozilla or do the xremote thing, as needed...
Whiteboard: DUPEME
Product: Browser → Seamonkey
Dupe of bug 99945 *** This bug has been marked as a duplicate of 99945 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.