Red Hat Bugzilla – Bug 216665
open office asks with which subpart to open file when opening .ppt over http://
Last modified: 2007-11-30 17:11:49 EST
Description of problem:
If I open a powerpoint file with openoffice through kde, OO asks me what the
filetype is, while I said in kde open with 'presentation'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a ppt file in konqueror and open with 'presentation'.
2. See how OO ask the filetype.
OO should know that if I open a powerpoint file with 'presentation' that it is
a powerpoint file and it should open without questions.
attach the presentation if you can, it might be the case that there's something
special about this specific presentation if it was detected as a .ppt initially
on the simple test, but then not as one on the deeper attempt to open it by OOo
Also output of...
> rpm -q openoffice.org-impress
The file is:
(Actually, all files on that page do this, but I also found other files with
the same behaviour, but I do not have those links anymore)
I just found out that kde tries to open it with:
openoffice.org-2.0 -impress %U
If I open it with ooimpress it does work.
If I open openoffice.org-2.0 -impress from the commandline it does go to
impress without asking (without filename, so empty presentation).
$ rpm -q openoffice.org-impress
openoffice.org-2.0 -impress /path/to/filename should open it as well
That seems to work too, but then I have to save the file first.
If I open the file with: ooimpress %U it fails to detect too, but if I open it
with ooimpress it does work. Same also for openoffice.org-2.0 -impress,
without the %U it works, with it, it asks for the type first.
Maybe a kde bug instead of OOo bug? Or the default setting in fedora should be
changed in the launching to work without the '%U'?
the %U is supposed to be the field that gets replace with the filename by
foome %U twiddle
foome "/tmp/filename.ods" twiddle
Upstreamed as http://www.openoffice.org/issues/show_bug.cgi?id=72068:
seems specific to typedetection of .ppt when passing http://location/foo.ppt to
OOo, problem isn't there for .doc or for .odp