Bug 160962

Summary: Protecting OLE object content does not disable context menu Edit item
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: stephane.guillou
Priority: medium    
Version: 24.8.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=160950
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108589    

Description Eyal Rozenberg 2024-05-06 13:49:20 UTC
(Noticed by Heiko Tieze)

1. Create a document (e.g. in Writer)
2. Insert an OLE object, not as icon
3. In the object's context menu, choose Properties > Options
4. Under Protect, click Contents
5. Right-click the object to observe its context menu

Expected result: "Edit" is disabled on the menu

Actual result: "Edit" is enabled on the menu - and works; so does double-clicking. But the changes don't 'take' after leaving the edit mode.
Comment 1 Stéphane Guillou (stragu) 2024-05-21 23:20:39 UTC
(In reply to Eyal Rozenberg from comment #0)
> Actual result: "Edit" is enabled on the menu - and works; so does
> double-clicking.
Reproduced.
> But the changes don't 'take' after leaving the edit mode.
I tested with en embedded spreadsheet and the edit is persistent.
What type of OLE object and in which component exactly?

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ae798781ef4df7a1fdef13af0bc459bf4f6e7b4c
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 2 Eyal Rozenberg 2024-05-24 16:13:56 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> What type of OLE object and in which component exactly?

Say, PDF file in Writer.