FS#21425 - [libreoffice] unable to open sophisticated paths on double-click

Attached to Project: Arch Linux
Opened by SkyBon (SkyBon) - Saturday, 23 October 2010, 10:39 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 10 December 2010, 16:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Subj. Tested with latest GNOME.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 10 December 2010, 16:48 GMT
Reason for closing:  Fixed
Comment by SkyBon (SkyBon) - Saturday, 23 October 2010, 10:43 GMT
For example, if the path contains space then LO will divide it in two and try to open as two files.
Comment by Andreas Radke (AndyRTR) - Saturday, 23 October 2010, 14:49 GMT
Can you try the LibO binary pkg from AUR andcheck if it's an upstream issue? How does vanilla OOo behave?
Comment by AA (dicaiopolis) - Monday, 01 November 2010, 14:44 GMT
Hi, Andreas,

I've got the same problem here. I tested the AUR pkg and there's not such a problem.
I downloaded the ABS and installed it and got the same problem. Could you pls verify that?
Another issue: there's an empty bar and I can't get rid of it. I close it and the next document I open, the bar is there.
By the way: I'm using KDE.
Comment by AA (dicaiopolis) - Tuesday, 02 November 2010, 16:25 GMT
Hi, Andreas,

I've just tested the new package (after having deleted the old config files) and got the same problems.
Comment by AA (dicaiopolis) - Tuesday, 02 November 2010, 17:35 GMT
Hi, Andreas,

I've just tested the new package (after having deleted the old config files) and got the same problems.
Comment by Tony Upton (celticmusicguy) - Friday, 05 November 2010, 00:31 GMT
I've noticed the same issue with the current version of libreoffice in [extra] (3.2.99.2-2) - double-clicking a file which has spaces in the path fails to open that file, as does attempting to do it from the command line. The problem appears to be in the /usr/lib/ooo-3.3/program/soffice file - replacing this file with the equivalent file from the openoffice-base package (/usr/lib/openoffice/program/soffice) seems to resolve this issue. Don't know if this will cause other problems, though.
Comment by Hok Asch (hokasch) - Friday, 05 November 2010, 08:37 GMT
I can't reproduce this with libreoffice x86_64 from extra. AA, what config files did you delete?
Comment by Andreas Radke (AndyRTR) - Friday, 05 November 2010, 19:04 GMT
please try to use OOo internal file open dialog and the one from your desktop (gtk/qt). does it make a difference?
Comment by AA (dicaiopolis) - Friday, 05 November 2010, 23:11 GMT
Hok: I deleted the whole LibreOffice under ~/.config.

Andreas: using the internal open dialog works just fine. The problem is when I try to open a file in Dolphin.
Comment by Lone_Wolf (Lone_Wolf) - Saturday, 06 November 2010, 14:54 GMT
Same problem here on x86_64 , KDE .
Note : i removed ooo completely before installing libreoffice

Using Krusader :
double click on 'oolite ships.ods' gives 2 errors : oolite.ods doesn't exist , ships.ods doesn't exist .
right-click on file and 'open with' works, so does opening from within libreoffice programs.

to me this suggests that the problem is in the start command.

Update : folders with spaces in the name also break the loading.

I don't have the quickstarter installed afaik.
Comment by Hok Asch (hokasch) - Saturday, 06 November 2010, 15:29 GMT
It's the systray-quickstarter thing. After deleting libreofice & openoffice config folders from .config, same bug happend here (had go-oo installed previously). But it always worked once the first time after login, and failed afterwards. So I disabled the quickstarter in settings, and it opens "test test" again. Please try if it is the same for you.

My theory is that libreoffice somehow picked up my old options from go-oo when I run it the first time (had quickstart disabled on previous go-oo install).

Should be taken upstream I guess? Can try the binary in AUR later.
Comment by Tony Upton (celticmusicguy) - Saturday, 13 November 2010, 00:32 GMT
According to the thread on this issue in the forum, changing line 88 in /usr/lib/ooo-3.3/program/soffice from the following:

if "$sd_prog/$sd_binary" $*; then

to the following:

if "$sd_prog/$sd_binary" "$@"; then

appears to work. Double-clicking on a file with spaces in the path works as expected after making this change.
Comment by Andreas Radke (AndyRTR) - Monday, 15 November 2010, 18:36 GMT
suggest the change upstream. this is of major interest and shouldn't be done downstream.
Comment by Francisco Pina (Stunts) - Thursday, 09 December 2010, 13:31 GMT
This is not a problem for me with the latest version.
Was it fixed upstream or on Arch's package?
Comment by Andreas Radke (AndyRTR) - Thursday, 09 December 2010, 20:23 GMT
Is it fixed for all of you?
Comment by Lone_Wolf (Lone_Wolf) - Friday, 10 December 2010, 16:27 GMT
fixed for me, looks like an upstream change

Loading...