Apache OpenOffice (AOO) Bugzilla – Issue 81282
"Preview in Webbrowser" uses wrong browser
Last modified: 2013-02-07 22:00:33 UTC
The new feature "Preview in webbrowser" uses the wrong browser. I tried the feature using Debian Linux 4.0 with KDE and GNOME. I set the default browser in /etc/alternatives to "iceweasel". In the KDE and GNOME settings (as normal user) I set the default browser also to "iceweasel". OpenOffice.org uses epiphany (in GNOME) and konqueror (in KDE) and I cannot change it. There is no option in OpenOffice.org to change it and both are not the default browsers. This is a definitely a wrong behaviour. There are two possibilities to solve this issue: 1. An option for setting the webbrowser OpenOffice.org uses. This option could be placed in "Tools --> Options --> Internet --> Browser" because there is also the option to define the default e-mail program. 2. Use the default x-www-browser from /etc/alternatives. I think choice 1 would be the best.
Hi, here with not typical configuration: - kubuntu breezy batcher - kde applications driven out of windowmaker (ubuntu <-> asus kernel issues) - nativ mozilla firefox /home installation for easy update puroses - OOo 2.3 rc1 debs build by sun "webbrowswer preview" aka "Vorschau in Webbrowser" works as expected: mozilla firefox shows preview - konqueror stays sleeping in the cave :o)) Friedrich
TM->SBA: please have a look, thanks !
In Ubuntu 7.10 (Gnome) with OO 2.3.1 Pro (Infra) it is all right. Default browser - firefox.
Confirmed on Kubuntu 7.10 + Seamonkey I've registered .html file extension and Web-browser "default application" to Mozilla Seamonkey Local .html files clicked from file manager opens in SM. But OOo (2.3.0-Ubuntu and 2.3.1) launches Konqueror instead.
Confirming as per pmike.
cd->obr: Looks like a problem with the SystemShellExecute service?
OOo passes the URL to gnome-open / kfmclient. Did you configure your preferred web browser in the desktop settings ?
Yes, I did. In Kubuntu 7.10: K - System Settings - Default Application - Web browser. Also, in Konqueror Settings, I've registered .html extension to Seamonkey. No luck either.
I believe the configuration of bitsfritz worked because OOo did not detect a KDE environment. There are actually two problems here: 1) The security fix which introduced proper shell quoting broke the desktop specific -open-url invocation for paths containing any to-be-escaped characters (because an access(.. ,X_OK) is done on an already escaped file name). 2) kfmclient aka konquorer always opens local files (file://) directly, only http urls & co are passed to the default browser. But as the underlying UNO service is named "SystemShellExecute" and not "SystemBrowser", this behavior is perfectly valid (for that service implementation, not for the feature). So I add my preferred solution to the number of options above: 3. Create a dedicated url handler UNO service with the option to force the url to be opened in the browser (or mail client).
SBA->TM: Please proceed, thx.
OpenOffice 3.0RC3 uses the correct browser (Debian Lenny). Was this issue fixed?
Maybe the fix for Issue 88440 makes this feature works more reliable, but I still think it works "by luck".