Bug 160949 - When editing an OLE object but not taking any action - undo edit
Summary: When editing an OLE object but not taking any action - undo edit
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2024-05-06 08:37 UTC by Eyal Rozenberg
Modified: 2026-05-07 17:43 UTC (History)
1 user (show)

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 Eyal Rozenberg 2024-05-06 08:37:44 UTC
Some OLE objects are editable in LO in a way with is rather destructive. Example: PDF documents. When one:

1. Adds a PDF document as an OLE object.
2. Right-clicks, and chooses Edit on the context menu
3. Clicks outside the edit frame without having taken any "editing actions"

it would be better if LO would just discard any changes it had made automatically, rather than saving the "trivial edit", which again may be quite destructive.
Comment 1 Heiko Tietze 2024-05-06 12:12:06 UTC
How would you know what happend in the other module or even external application? Or do we open only in LibreOffice.

Anyway, if nothing happens it would be nice to see it in the undo stack as well. But low priority.
Comment 2 QA Administrators 2026-05-07 03:14:28 UTC Comment hidden (obsolete)
Comment 3 Eyal Rozenberg 2026-05-07 17:43:14 UTC
Bug still manifest with nightly from 2026-04-28:

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: b1e601a83dc811319353499f023a11ecb710f8e5
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: CL threaded

Note that "trivial edits" don't necessarily always have a visible effect - but sometimes they do, e.g. by changing which part of the (larger) PDF page is visible in the rectangle of the OLE object in Writer.