History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-19492
Type: Bug Bug
Status: Open Open
Assignee: Alexey Pegov
Reporter: Stephen Friedrich
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

IDEA fails to open Safari and Opera from the new context popup

Created: 07 Sep 08 01:04   Updated: 12 Sep 08 15:47
Component/s: HTML.Editing

File Attachments: None
Image Attachments:

1. browsers.png
(3 kb)

Build: 8,778


 Description  « Hide
On my 64 bit Vista IDEA can open both Firefox and IE, but trying to open Safari or Opera results in an error dialog
Both are installed to the default location:
C:\Program Files (x86)\Opera\opera.exe
and
C:\Program Files (x86)\Safari\Safari.exe

IDEA more or less succeeds after I added "C:\Program Files (x86)\Opera\;C:\Program Files (x86)\Safari\" to the PATH environment variable, but there still is one problem with Safari:
Safari cannot load the file at the location specified by IDEA:
file://D:/projekte/html-prototypes/box/box-plain.html
Safari needs the URL to start with "file:///" (three slashes).

IMHO you should also add "Google Chrome" - it's a pretty easy guess that it will soon be more widespread than Opera, and probably also Safari.

My apologies if these issues were known to you anyway and planned to deal with. There have been no changes (that I could see) for some time, so I thought I post this issue.



 All   Comments   Work Log   Change History      Sort Order:
Bas Leijdekkers - 09 Sep 08 17:55
I actually think Google Chrome is already more popular than Opera

Alexey Pegov - 11 Sep 08 19:12
Stephen, path to certain browser's executable file can be tweaked at settings->web browsers.

Stephen Friedrich - 12 Sep 08 00:27
Hm thanks.
IMHO to make it more usable it would be nice to
  • check if the exe is on the PATH
  • if not check some common locations like C:\Program Files and C:\Program Files (x86) and pre-fill the paths to the correct value
  • when the user clicks on a browser and thew path is incorrect, tehn give a sensible error message and offer an option to configure the path now (much like the image plugin's action "Jump to External Editor" does.

Alexey Pegov - 12 Sep 08 15:47
Stephen, default behavior is to try to run browsers with OS commands, such as "open -a Safari" for OS X, which will run any application with such name from the default location, same way is used for Windows, for Linux we're try to run browser which possibly is in the PATH. Such a way makes browser running much simpler cause we don't need a path-to-an-executable-file, etc. And the options allows you to tune something if you wish. So, the only problem I can see is a strange error message (or no message at all) if the certain browser can not start.