Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94266 - -remote handler in mozilla-launcher
Summary: -remote handler in mozilla-launcher
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-28 03:55 UTC by Daniel Herzog
Modified: 2005-06-09 05:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Herzog 2005-05-28 03:55:47 UTC
If you too, find the following usefull, i can sit down and write a patch for it:

for instace:
If you set plain "firefox" as your default browser in kcontrol and open a link
via konversation your old location on the web will be gone, because no new
tab/window was opened.
Since firefox as the -remote option, it is possible to make it open a new
tab/window instead of "overwriting" the old one.
The problem is the following:
"No running windows found
Error: No running window found
firefox-bin exited with non-zero status (2)"
It should not be too hard to write a handler for this in mozilla-launcher via
using the firefox -remote "ping()" command, so if no running window is found we
can fallback to opening a new one.
you see?

Reproducible: Always
Steps to Reproduce:
Comment 1 Mike Nerone 2005-06-08 22:30:39 UTC
I may be misunderstanding you - my apologies if so.

What mozilla-launcher does is use xremote if a currently running window is
found, and starts a new one if not, just as you requested. As for controlling
overwriting of the current window/tab or causing a new one to open, it just
honors whatever preferences you've got set for firefox/mozilla (refer to bug
#82653). In Firefox, see "Edit/Preferences/Advanced/Tabbed Browsing/Open links
from other applications in..." Personally, I use the Tab Mix extension
(http://tab-mix.info.tm/) to give me finer control. When I open links from other
apps (I haven't tried konversation, but I do use other KDE apps),
mozilla-launcher opens new tabs for me, because that's how I have my
firefox/Tab-Mix prefs set. I *think* the same would be true if I weren't using
Tab Mix.
Comment 2 Daniel Herzog 2005-06-09 05:08:50 UTC
You're right, bug's invalid.
Thanks. Seems like i missed this setting in preferences...