Bug#697723: read-only mode (libreoffice --view) not working

2013-01-08 Thread Harald Dunkel
Package: libreoffice
Version: 1:3.5.4+dfsg-4

running libreoffice --help I get

LibreOffice 3.5

Usage: soffice [options] [documents...]

Options:
--minimizedkeep startup bitmap minimized.
:
:
--view documents...
  open the specified documents in viewer-(readonly-)mode.
:
:

--view doesn't work as described (but -view does). For
others there is a warning saying I should use --option instead
of -option, so I would guess --view has been forgotten.

To avoid confusion between the old and new version I would suggest
to support both.


Regards
Harri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#697723: read-only mode (libreoffice --view) not working

2013-01-08 Thread Lior Kaplan
Can also reproduce in 3.6.4 in experimental.

The usage output comes from core/desktop/source/app/cmdlinehelp.cxx in the
source code.
Didn't find the source for oosplash which should be the binary handling
this option.

Kaplan

On Tue, Jan 8, 2013 at 11:49 PM, Harald Dunkel harald.dun...@aixigo.dewrote:

 Package: libreoffice
 Version: 1:3.5.4+dfsg-4

 running libreoffice --help I get

 LibreOffice 3.5

 Usage: soffice [options] [documents...]

 Options:
 --minimizedkeep startup bitmap minimized.
 :
 :
 --view documents...
   open the specified documents in viewer-(readonly-)mode.
 :
 :

 --view doesn't work as described (but -view does). For
 others there is a warning saying I should use --option instead
 of -option, so I would guess --view has been forgotten.

 To avoid confusion between the old and new version I would suggest
 to support both.


 Regards
 Harri




Bug#697723: read-only mode (libreoffice --view) not working

2013-01-08 Thread Rene Engelhard
found 697723 1:3.6.4-1
thanks

On Wed, Jan 09, 2013 at 12:55:21AM +0200, Lior Kaplan wrote:
Can also reproduce in 3.6.4 in experimental.

Ah, thanks. Wanted to already try it but then got distracted...

The usage output comes from core/desktop/source/app/cmdlinehelp.cxx in the
source code.
Didn't find the source for oosplash which should be the binary handling
this option.

desktop/unx/source/*

Regards,

Rene


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#697723: read-only mode (libreoffice --view) not working

2013-01-08 Thread Lior Kaplan
On Wed, Jan 9, 2013 at 1:35 AM, Rene Engelhard r...@debian.org wrote:

 The usage output comes from core/desktop/source/app/cmdlinehelp.cxx
 in the
 source code.
 Didn't find the source for oosplash which should be the binary
 handling
 this option.

 desktop/unx/source/*


The view option isn't handled in desktop/unx/source/args.c, so I guess this
is done somewhere else.

Kaplan


Bug#697723: read-only mode (libreoffice --view) not working

2013-01-08 Thread Rene Engelhard
tag 697723 + pending
thanks

Hi,

On Wed, Jan 09, 2013 at 12:35:35AM +0100, Rene Engelhard wrote:
 On Wed, Jan 09, 2013 at 12:55:21AM +0200, Lior Kaplan wrote:
 Can also reproduce in 3.6.4 in experimental.
 
 Ah, thanks. Wanted to already try it but then got distracted...

That said, (at least) a 4.0.0 snapshot from yesterday works here, so this will 
be in
fixed when this gets uploaded.

 The usage output comes from core/desktop/source/app/cmdlinehelp.cxx in 
  the
 source code.
 Didn't find the source for oosplash which should be the binary handling
 this option.
 
 desktop/unx/source/*

Looking at cgit it looks it's cmdlinehelp.cxx which was buggy:

http://cgit.freedesktop.org/libreoffice/core/log/?h=libreoffice-4-0qt=grepq=--view

Should probably backport at least to 3.6.x, no idea whether we still
can get it into wheezy somehow (only when there's more important stuff
coming...)

Regards,
 
Rene


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org