Bug 40836
| Summary: | /usr/bin/mozilla should have an option to open all URLs in a new window | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Aleksey Nogin <aleksey> |
| Component: | mozilla | Assignee: | Christopher Aillon <caillon> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | Keywords: | FutureFeature |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-03-31 07:59:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Aleksey Nogin
2001-05-16 06:41:09 UTC
This is especially important in light of http://bugzilla.mozilla.org/show_bug.cgi?id=41527 - in the current builds of Mozilla openurl would not work at all without the new-window argument. That's up to the person calling -remote. I don't want to add strange defaults. Plus, the openurl problems have been fixed in 0.9.1 which should be in rawhide shortly. But it's not the caller who specified the -remote option, it's the /usr/bin/mozilla (that comes with the RPM) script that does it! To reproduce: 1) Run /usr/bin/mozilla http://www.redhat.com/ Actual result: One of the current browser windows goes to http://www.redhat.com/ Desired result: A new window is opened with http://www.redhat.com/ Currently, I achieve the desired result by editing /usr/bin/mozilla and replacing $MOZ_PROGRAM -remote "openurl($opt)" 2>/dev/null > /dev/null with $MOZ_PROGRAM -remote "openurl($opt,new-window)" 2>/dev/null > /dev/null Unfortunatelly, I have to do it every time I upgrade the RPM (which I do pretty often). It would be better if /usr/bin/mozilla would consult the environment or some config file to decide whether do openurl($opt) or openurl($opt,new-window) I don't want to have more than one way to specify the same option. If you want, wander over to mozilla's bug tracking system and whip up a patch that ads a real mozilla pref for defaulting all openurl() requests to a new window. It should be 6 lines of C++ and a new pref panel. No, such Mozilla pref would not be the right thing IMHO. What I want is to change behaviour of /usr/bin/mozilla, not of Mozilla. I.e. I want: /usr/bin/mozilla -remote openurl(URL) => URL opened in a current window /usr/bin/mozilla -remote openurl(URL,new-window) => URL opened in a new window /usr/bin/mozilla URL => URL opened in a new window (or current/new depending on some outside preference) OK, simplier request - can you make /usr/bin/mozilla a %config file (or even %config(noreplace) ) so that people like me can mess with it without having to do something about it at each upgrade to latest nightly? Thanks! Default browser is now firefox, and this is fixed there. See bug 138789. Wontfix for this one. |