[Upstream] Cannot open OLE object when the document is opened in read-only mode

Bug #790354 reported by Danilo Piazzalunga
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
Wishlist
libreoffice (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: libreoffice

1) lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.4.3-3ubuntu2
  Candidate: 1:3.4.3-3ubuntu2
  Version table:
 *** 1:3.4.3-3ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen in LibreOffice Writer via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/790354/+attachment/2148178/+files/Container1.doc && chmod -wxXst Container1.doc && lowriter --nologo Container1.doc

double primary click on the OLE object and it is opened as it does in MS Word.

4) What happens instead is one may not open the contained object.

ORIGINAL REPORTER COMMENTS: Using Ubuntu Maverick 10.10 and LibreOffice 3.3.2 installed from ppa:libreoffice/ppa (3.3.2-1ubuntu2~maverick1).

Tags: lo33
Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :
Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

The attachment is a minimal test case which can be used to reproduce the bug. It was created with Office 2007 on a Windows system.

Revision history for this message
penalvch (penalvch) wrote :

Danilo Piazzalunga, the issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at http://wiki.documentfoundation.org/BugReport . If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

description: updated
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
description: updated
Changed in df-libreoffice:
status: New → Incomplete
Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Created attachment 52309
Example document with OLE object as an icon, created with MS Office 2007

I have a MS Word document which contains an OLE object (for example, an Excel sheet or another Word document) attached as an icon. If I open the containing document in read-only mode, I cannot open the contained object.

* What is expected to happen in LibreOffice Writer:

Double primary click on the OLE object and it is opened as it does in MS Word.

* What happens instead:

One may not open the contained object.

Tested both with LibreOffice 3.3 on Ubuntu 11.04 and with LibreOffice 3.4.3 on Windows 7.

(Originally reported to: https://bugs.launchpad.net/bugs/790354)

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Created attachment 52309
Example document with OLE object as an icon, created with MS Office 2007

I have a MS Word document which contains an OLE object (for example, an Excel sheet or another Word document) attached as an icon. If I open the containing document in read-only mode, I cannot open the contained object.

* What is expected to happen in LibreOffice Writer:

Double primary click on the OLE object and it is opened as it does in MS Word.

* What happens instead:

One may not open the contained object.

Tested both with LibreOffice 3.3 on Ubuntu 11.04 and with LibreOffice 3.4.3 on Windows 7.

(Originally reported to: https://bugs.launchpad.net/bugs/790354)

Changed in df-libreoffice:
importance: Undecided → Unknown
status: Incomplete → Unknown
Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

I can confirm this is an upstream issue (tested with LO 3.4.3 on Windows). I added the bug watch myself: https://bugs.freedesktop.org/show_bug.cgi?id=41765

penalvch (penalvch)
summary: - cannot open OLE object when the document is opened in read-only mode
+ [Upstream] Cannot open OLE object when the document is opened in read-
+ only mode
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Changed in df-libreoffice:
status: Confirmed → Incomplete
Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Confirmed: tested with LibreOffice 3.5.0 beta2 on Windows 7.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Confirmed: tested with LibreOffice 3.5.0 beta2 on Windows 7.

Changed in df-libreoffice:
status: Incomplete → Confirmed
Revision history for this message
In , Sasha-libreoffice (sasha-libreoffice) wrote :

not reproducible in 3.3.4 , therefore regression since 3.3.4

Revision history for this message
In , Sasha-libreoffice (sasha-libreoffice) wrote :

not reproducible in 3.3.4 , therefore regression since 3.3.4

Revision history for this message
In , Cno (cno) wrote :

(In reply to comment #3)
> not reproducible in 3.3.4 , therefore regression since 3.3.4

Maybe even a change by intention ?

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

(In reply to comment #3)
> not reproducible in 3.3.4 , therefore regression since 3.3.4

I could reproduce it reliably.

Was the document opened in read-only mode?

Revision history for this message
In , Cno (cno) wrote :

(In reply to comment #3)
> not reproducible in 3.3.4 , therefore regression since 3.3.4

Maybe even a change by intention ?

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

(In reply to comment #3)
> not reproducible in 3.3.4 , therefore regression since 3.3.4

I could reproduce it reliably.

Was the document opened in read-only mode?

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

be aware that there has been a problematic (vendor) patch for OLE-editing in Ubuntu/Debian packaging, which had been remove since.

So please specify exactly which version you tested with (version _and_ if it was upstream or a vendor build).

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

be aware that there has been a problematic (vendor) patch for OLE-editing in Ubuntu/Debian packaging, which had been remove since.

So please specify exactly which version you tested with (version _and_ if it was upstream or a vendor build).

Revision history for this message
In , julien2412 (serval2412-6) wrote :

I didn't reprodce the problem with master (future 3.6) updated today and 3.5 branch updated 1 or 2 days ago (so not exactly 3.5.0 rc3).
In both cases, i can open the inner Document.

I'm on pc Debian x86-64.

Danilo: Do you still reproduce the problem with last version ?

Revision history for this message
In , julien2412 (serval2412-6) wrote :

I didn't reprodce the problem with master (future 3.6) updated today and 3.5 branch updated 1 or 2 days ago (so not exactly 3.5.0 rc3).
In both cases, i can open the inner Document.

I'm on pc Debian x86-64.

Danilo: Do you still reproduce the problem with last version ?

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

LibreOffice 3.3.4 (upstream build, on Windows) won't let me view the inner document when I double-click on it. However, I can right click on the OLE document, choose Edit and then edit a copy. Same thing for LibreOffice 3.5.0rc3 (upstream build, on Windows).

I didn't find the workaround (right click, Edit, edit a copy) before. Sorry.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

LibreOffice 3.3.4 (upstream build, on Windows) won't let me view the inner document when I double-click on it. However, I can right click on the OLE document, choose Edit and then edit a copy. Same thing for LibreOffice 3.5.0rc3 (upstream build, on Windows).

I didn't find the workaround (right click, Edit, edit a copy) before. Sorry.

Revision history for this message
In , julien2412 (serval2412-6) wrote :

I tested on Seven with LO 3.4.4, it works.

Could you uninstall completely LO with cleaning registry (for example with ccleaner which is free) + delete (or backup) your profile then install again LO ?

Revision history for this message
In , julien2412 (serval2412-6) wrote :

I tested on Seven with LO 3.4.4, it works.

Could you uninstall completely LO with cleaning registry (for example with ccleaner which is free) + delete (or backup) your profile then install again LO ?

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Does it work if you try to open the inner document with double primary click, or does it work when using the edit-a-copy workaround?

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Does it work if you try to open the inner document with double primary click, or does it work when using the edit-a-copy workaround?

Revision history for this message
In , julien2412 (serval2412-6) wrote :

It works directly with double primary click.

Revision history for this message
In , julien2412 (serval2412-6) wrote :

It works directly with double primary click.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

That's weird. I tested it again on Ubuntu using an upstream build of LibreOffice 3.5.0rc3.

Anyway, since there is a workaround, I believe this bug can be closed or (if confirmed) converted to an enhancement.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

That's weird. I tested it again on Ubuntu using an upstream build of LibreOffice 3.5.0rc3.

Anyway, since there is a workaround, I believe this bug can be closed or (if confirmed) converted to an enhancement.

Revision history for this message
In , julien2412 (serval2412-6) wrote :

Just missed "read-only" option to check, sorry.
I reproduce it now.

Revision history for this message
In , julien2412 (serval2412-6) wrote :

Just missed "read-only" option to check, sorry.
I reproduce it now.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Created attachment 56917
Screencast showing the bug and the workaround

Here is a screencast showing the test steps. The "Container1.doc" file has read-only permissions (as shown by the locket icon in the folder).

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Created attachment 56917
Screencast showing the bug and the workaround

Here is a screencast showing the test steps. The "Container1.doc" file has read-only permissions (as shown by the locket icon in the folder).

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

My guess is that double click invokes an "Edit" action on the OLE document; since "Edit" is not available (the main document is opened as read-only), no action is performed.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

My guess is that double click invokes an "Edit" action on the OLE document; since "Edit" is not available (the main document is opened as read-only), no action is performed.

Changed in df-libreoffice:
status: Confirmed → Incomplete
Changed in df-libreoffice:
status: Incomplete → Confirmed
Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

No bug reproducible with "LibreOffice 3.6.3.2” German UI/ German Locale [Build-ID: 58f22d5]" on German WIN7 Home Premium (64bit)

Steps how to reproduce with reporter's sample document (2011-10-13 15:03 UTC) :
1. Launch Libo
2. from LibO Start Center men 'File -> Open -> (Browse for Sample Document) ->
   Check "Read only" -> <open>
   > Document will be opened as expected in read only mode
3. Double click embedded document (Text "Documento di ..."
   > You can't open the embedded document
4. Click 'Edit File' Icon in Standard Toolbar
   > "Read only" in Window heading disappears
6. Double click embedded document (Text "Documento di ..."
   > Embedded document will be opened in a separate window

Tis is not a bug at all, but intended behavior. Read only means read only, and so no edit operation is allowed.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

No bug reproducible with "LibreOffice 3.6.3.2” German UI/ German Locale [Build-ID: 58f22d5]" on German WIN7 Home Premium (64bit)

Steps how to reproduce with reporter's sample document (2011-10-13 15:03 UTC) :
1. Launch Libo
2. from LibO Start Center men 'File -> Open -> (Browse for Sample Document) ->
   Check "Read only" -> <open>
   > Document will be opened as expected in read only mode
3. Double click embedded document (Text "Documento di ..."
   > You can't open the embedded document
4. Click 'Edit File' Icon in Standard Toolbar
   > "Read only" in Window heading disappears
6. Double click embedded document (Text "Documento di ..."
   > Embedded document will be opened in a separate window

Tis is not a bug at all, but intended behavior. Read only means read only, and so no edit operation is allowed.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

I still think it's a bug, albeit a minor one: I expect the embedded document to be opened (for viewing, not necessairly for editing) when I double click it.

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

I still think it's a bug, albeit a minor one: I expect the embedded document to be opened (for viewing, not necessairly for editing) when I double click it.

Changed in df-libreoffice:
status: Confirmed → Invalid
Revision history for this message
In , penalvch (penalvch) wrote :

Danilo Piazzalunga, while Rainer Bielefeld is correct in this is not a bug, it is an ENHANCEMENT, as you are expecting Writer to do what Word does in the same situation.

Revision history for this message
In , penalvch (penalvch) wrote :

Danilo Piazzalunga, while Rainer Bielefeld is correct in this is not a bug, it is an ENHANCEMENT, as you are expecting Writer to do what Word does in the same situation.

penalvch (penalvch)
Changed in libreoffice (Ubuntu):
importance: Medium → Wishlist
Changed in df-libreoffice:
importance: Medium → Wishlist
status: Invalid → Confirmed
Revision history for this message
In , Cno (cno) wrote :

Open attachment
Click on Edit document in tool bar
Double click the OLE object
 > Nothing happens

As the original report
 > New

Revision history for this message
In , Cno (cno) wrote :

Open attachment
Click on Edit document in tool bar
Double click the OLE object
 > Nothing happens

As the original report
 > New

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in libreoffice (Ubuntu):
status: Triaged → Incomplete
Changed in df-libreoffice:
importance: Wishlist → Unknown
status: Confirmed → Unknown
Changed in df-libreoffice:
importance: Unknown → Wishlist
status: Unknown → Confirmed
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Synchronising bug status with upstream.

Changed in libreoffice (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.