Bug 118488 - Openoffice documents dont open, when open'ed from media:/
Summary: Openoffice documents dont open, when open'ed from media:/
Status: RESOLVED NOT A BUG
Alias: None
Product: kio
Classification: Unmaintained
Component: media (show other bugs)
Version: 3.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-17 02:36 UTC by Sergio Martins
Modified: 2006-04-05 11:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Martins 2005-12-17 02:36:28 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.4 
OS:                Linux

I plug in in my usb pendrive.
Open it with konqueror at media:/
Click on a openoffice document.

I see Openoffice's splash screen. And when it finishes loading
its just closes itself and doesn't show me the document.

If i open from /mnt/pen instead of media:/ everyhing is fine.
Comment 1 Gilles Schintgen 2006-03-23 15:42:53 UTC
Here's a fix/workaround:
Go to Settings/Configure Konqueror/File Associations
Search for .odt and change the Writer commandline from this:
oowriter2 %U
to this:
oowriter2 %F
Note that I'm using a KDE-enabled OOo build (USE="kde"). With this change I can now open files in media:/.

According to the docs,
"%U: A list of URLs; will download the file first and pass a local file to the app (!!)",
"%F: A list of files; use for applications that can open several local files at once."
I'm somewhat astonished that %U doesn't do its job in this case. (Or so it seems.)
Comment 2 Sergio Martins 2006-03-23 16:22:36 UTC
Thanks for your answer. It worked. :)

Still it's just a workaround.
I think this bug should be marked as confirmed.

Another strange thing, if i open a shell script at /mnt/mountpoint it executes, and if i open it at /media/hdaX it opens with a text editor.



Comment 3 Ismail Donmez 2006-04-04 20:05:29 UTC
This is an OpenOffice.org problem and its fixed in 2.0.2 version. If you --enable-kde.
Comment 4 Gilles Schintgen 2006-04-05 11:59:47 UTC
> This is an OpenOffice.org problem and its fixed in 2.0.2 version. If you
> --enable-kde.

I posted this workaround after upgrading to 2.0.2. I've redone the tests:
With %U it fails, with %F it works just fine.
(Of course, closing this bug is ok if it's indeed an OpenOffice issue.)