Project

General

Profile

Bug #2809

Browser Display actor fails for Mac/Linux

Added by Dan Higgins over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
04/03/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2809

Description

Browser Display actor does not detect MacOSX and always uses Netscape for Linux systems. Need to detect the default browser and use that.

see http://www.centerkey.com/java/browser/
for java code that detects default browser and works across multiple OSs

History

#1 Updated by Christopher Brooks over 12 years ago

See also ptII/ptolemy/actor/gui/BrowserLauncher.java, which is based
on fairly old code.

http://www.javaworld.com/javaworld/javatips/jw-javatip66.html (1/99)
http://browserlaunch.sourceforge.net/ is obsolete, replaced by
http://browserlaunch2.sourceforge.net/

It would be nice to have combine code if possible.

_Christopher

#2 Updated by Dan Higgins over 12 years ago

This bug has been fixed by adding code from BareBonesBrowserLauncher (http://www.centerkey.com/java/browser/) to BrowserDisplay actor.

Note that using the existing PtII BrowserLauncher code did not seem to work when trying to open a png file.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2809

Also available in: Atom PDF