Apache OpenOffice (AOO) Bugzilla – Issue 28720
Parameters not allowed for external programs
Last modified: 2006-04-27 20:37:06 UTC
The value of Tools->Options->OpenOffice.org->External programs->(HTTP|HTTPS|FTP|MAILTO) is treated just like a program name without parameters. This is not sufficient in KDE, where "kfmclient exec URL" is necessary to work properly. When "kfmclient exec" is entered in the dialog, the execution fails, because the input is treated as the space is a part of the filename. It is a very rare case I guess, so I propose the attached patch.
Created attachment 14966 [details] Proposed patch (allow parameters for external programs)
Hi kendy, thanks for using and supporting OpenOffice.Org! @ cp: clear description + proposed patch, set to "NEW"
The patch will be obsolete as soon as CWS defaultbrowser is integrated.
Still, I'd like to use the feature in the 1.1.x codeline... I'd like to reopen the issue (sorry! :) ), but I do not have rights to do that.
Reopened. Sorry for the confusion.
but why me ?
I am a bit concerned your patch might break launching apps with blanks in their name/path. On the other hand I am not aware of any browser with blanks in it's name, so you commiting your patch should be safe. Did releases@ approve this one for 1.1.2 ?
Target 1.1.3 approved by MH and ATR.
CC'ing myself
I don't know the current state of this issue, but I need I could execute External programs as follows: -for HTTP: /opt/mozilla.org/firefox/firefox -remote "openURL(%s, new-tab)" or via shell script, eg: ~/bin/firefox-remote where its content is like: #!/bin/sh /opt/mozilla.org/firefox/firefox -remote "openURL($1,new-tab)" -for MAILTO: /opt/mozilla.org/thunderbird/thunderbird -remote "mailto (%s )" more details how to invoke new Window/TAB using already running instance of Mozilla Mail-ThunderBird/Browser-FireFox Clients are at this URL: http://www.mozilla.org/unix/remote.html Well, I found in OOo.forum a discussion at URL: http://www.oooforum.org/forum/viewtopic.php?p=38475 There's someone "Guest" complains and later find a working way when a user use her script to invoke new FireFox Tab. But it doesn't work for me :-( I'm using Staroffice 7.0 and RedHat FedoraCore 1
The script seems to assume that firefox is already running. Actually you have to test this using the 'ping' command before you know which command line to use. This is all fixed on the SRC680 branch ..
Yes I assume that firefox is already running (and I usualy runs it whole my session at PC:). But with ping command it's good hint to make it more clever"
So we have two options: 1) Applying the patch as it is 2) Backport the more general solution from SRC680 What do you think ?
On a second thought: backporting the SRC680 solution involves UI changes, so this is not really an option.
Patch applied on CWS ooo113fix2.
verified.
closing.