Bug 164213 - In a read-only presentation, editing of formulas (and other OLE objects) is possible
Summary: In a read-only presentation, editing of formulas (and other OLE objects) is p...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:25.8.0 target:25.2.0.0.beta2
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-06 08:53 UTC by Mike Kaganski
Modified: 2024-12-19 10:36 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-12-06 08:53:03 UTC
Create a new Impress document; insert a formula. Save as ODP, and reopen in read-only mode. Double-click the formula.

It is expected that the formula is not edited. In fact, it opens in edit mode, allows changes, the result is shown in the document, and it marks the document modified, asking to save on close.
Comment 1 Mike Kaganski 2024-12-06 08:56:01 UTC
https://gerrit.libreoffice.org/c/core/+/177930
Comment 2 Commit Notification 2024-12-06 10:09:53 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5950fe86b84bb062e88034e382fc5df90bb1e98c

tdf#164213: don't activate OLE objects in read-only mode

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2024-12-19 10:36:33 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/1070d93d7536470d9beed29c7a458646029fb40e

tdf#164213: don't activate OLE objects in read-only mode

It will be available in 25.2.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.