Bug 25778 - /usr/bin/netscape should use "openURL ($url, new-window)"
Summary: /usr/bin/netscape should use "openURL ($url, new-window)"
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: netscape
Version: 7.0
Hardware: i386
OS: Linux
high
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL: http://home.netscape.com/newsref/std/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-02 23:30 UTC by Aleksey Nogin
Modified: 2014-03-17 02:18 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-02-02 23:31:34 UTC
Embargoed:


Attachments (Terms of Use)
A patch to fix /usr/bin/netscape (506 bytes, patch)
2001-02-02 23:31 UTC, Aleksey Nogin
no flags Details | Diff

Description Aleksey Nogin 2001-02-02 23:30:51 UTC
Currently the newbrowser() function in the /usr/bin/netscape has the
following fragment:

$netscape $defsrem "xfeDoCommand(openBrowser)" 2>/dev/null && \
   $netscape $defsrem "openURL($url)" 2>/dev/null 

This is extremely suboptimal. The correct way of doing it would be

$netscape $defsrem "openURL($url,new-window)" 2>/dev/null

This way we only start new netscape process once instead of twice and the
new netscape window would go directly to $url instead of going to home page
first.

Comment 1 Aleksey Nogin 2001-02-02 23:31:30 UTC
Created attachment 8819 [details]
A patch to fix /usr/bin/netscape

Comment 2 Bill Nottingham 2001-02-02 23:43:22 UTC
This is already fixed in the current netscape package.

The xfeDoCommand stuff also breaks pretty badly if mozilla happens
to be running on the same display.


Note You need to log in before you can comment on or make changes to this bug.