Issue 2169 - Opening files from the commandline does not work as expected
Summary: Opening files from the commandline does not work as expected
Status: CLOSED FIXED
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: 638
Hardware: PC Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@ui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-11 10:40 UTC by Unknown
Modified: 2003-03-13 15:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-11-11 10:40:49 UTC
When starting openoffice as follows:
  /OpenOffice/soffice someWord.doc
I expect that it would open an window on someWord.doc . Instead it attempts to 
rewrite someWord.doc as a file:// URL pointing to a completely different 
directory, and fails with a file-not-found.
If a file: URL is already supplied to begin with, it works (but is 
hasslesome...)
  /OpenOffice/soffice file:///`pwd`/someWord.doc

Opening files from the commandline is not only a nice convenience, but also 
important for integrating it into the window manager or desktop environment. 
Indeed many desktop environments call "program document" when doubleclicking 
on document. As it is, a wrapper is needed to make it work.
Comment 1 stefan.baltzer 2001-11-29 17:42:00 UTC
Fixed in 641q.
Comment 2 stefan.baltzer 2003-03-13 15:49:09 UTC
Closed.