Bug 838368 - ooviewdoc / libreoffice --view doesn't work
ooviewdoc / libreoffice --view doesn't work
Product: Fedora
Classification: Fedora
Component: libreoffice (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Caolan McNamara
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-07-08 17:09 EDT by Ville Skyttä
Modified: 2012-07-19 05:05 EDT (History)
6 users (show)

See Also:
Fixed In Version: libreoffice-
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-07-19 05:05:08 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ville Skyttä 2012-07-08 17:09:45 EDT
Even though --view is documented in libreoffice --help, it doesn't actually work (libreoffice

$ libreoffice --help | grep -- --view
--view <documents...>

$ libreoffice --view foo.doc
Unknown option --view
Run 'soffice --help' to see a full list of available command line options.

This also makes /usr/bin/ooviewdoc useless as it just invokes libreoffice --view:

$ ooviewdoc foo.doc
Unknown option --view
Run 'soffice --help' to see a full list of available command line options.
Comment 1 Caolan McNamara 2012-07-09 07:57:43 EDT
-view accepted while --view discarded, and script uses --view, bah.

fix will be in >= libreoffice-
Comment 2 Fedora Update System 2012-07-10 04:31:54 EDT
libreoffice- has been submitted as an update for Fedora 17.
Comment 3 Ville Skyttä 2012-07-10 15:14:33 EDT
ooviewdoc is now fixed, but the issue remains in --help output in, it still says --view, not -view:

$ libreoffice --help | grep -A 1 -- -view
--view <documents...>
      open the specified documents in viewer-(readonly-)mode.
Comment 4 Fedora Update System 2012-07-10 16:52:27 EDT
Package libreoffice-
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreoffice-'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 5 Caolan McNamara 2012-07-11 07:07:38 EDT
The help saying --view is ok by me, both -view and --view should now be accepted and --view should be the preferred I guess seeing as whoever changed all the -longoptions to --longoptions presumably wanted that to be the case
Comment 6 Ville Skyttä 2012-07-11 11:02:23 EDT
Oh, I didn't notice --view works now as well, just thought the script had been modified. No problem then.
Comment 7 Fedora Update System 2012-07-19 05:05:08 EDT
libreoffice- has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.