Bug 838368

Summary: ooviewdoc / libreoffice --view doesn't work
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: caolanm, dtardon, erack, ltinkl, mstahl, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libreoffice-3.5.5.3-2.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-19 09:05:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville Skyttä 2012-07-08 21:09:45 UTC
Even though --view is documented in libreoffice --help, it doesn't actually work (libreoffice 3.5.4.2-4.fc17):

$ 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 11:57:43 UTC
-view accepted while --view discarded, and script uses --view, bah.

fix will be in >= libreoffice-3.5.5.3-2.fc17

Comment 2 Fedora Update System 2012-07-10 08:31:54 UTC
libreoffice-3.5.5.3-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/libreoffice-3.5.5.3-2.fc17

Comment 3 Ville Skyttä 2012-07-10 19:14:33 UTC
ooviewdoc is now fixed, but the issue remains in --help output in 3.5.5.3-2, 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 20:52:27 UTC
Package libreoffice-3.5.5.3-2.fc17:
* 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-3.5.5.3-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10468/libreoffice-3.5.5.3-2.fc17
then log in and leave karma (feedback).

Comment 5 Caolan McNamara 2012-07-11 11:07:38 UTC
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 15:02:23 UTC
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 09:05:08 UTC
libreoffice-3.5.5.3-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.