Ticket #1514 (new enhancement)
Request: Default web browser action "openurl"
|Reported by:||mwtoews||Owned by:||nobody|
|Priority:||minor: annoyance||Milestone:||Version 1.7.0|
|Keywords:||browser, open, url||Cc:|
|Must Fix for Release:||No||Awaiting user input:||no|
The most common function for a layer action is to open a particular web site in a browser. However, the present solution is to use a specific command (e.g., iexplore, firefox, konqueror) to open a web browser, which is not cross-platform compatible and does not adhere to the default web browser as chosen by the user or computer administrator. This makes actions hard to implement among several users with different computer setups that share a common QGS file.
I've done some quick research, and new since Qt 4.2 is a function "openUrl()" to do this trick. See:
- http://lists.trolltech.com/qt-interest/2006-09/thread00676-0.html - discussion
- http://doc.trolltech.com/4.4/qdesktopservices.html#openUrl - documentation
I'd like to propose a cross-platform compatible action command named "openurl" to simply open a URL in the default web browser.