Bug 95283 - Undo does not work on OLE formula object changes in Writer (outside of formula edit mode)
Summary: Undo does not work on OLE formula object changes in Writer (outside of formul...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 132449 161226 (view as bug list)
Depends on:
Blocks: 82535 Undo-Redo
  Show dependency treegraph
 
Reported: 2015-10-23 21:38 UTC by Gan
Modified: 2024-06-12 06:51 UTC (History)
4 users (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 Gan 2015-10-23 21:38:40 UTC
1-I insert a formula (Insert, Object formula) in writer 5.0.2.2, and type in a formula as one does.
2-Then if I make changes later that I want to immediately undo, the Undo does not undo. Works great for everything else.
Comment 1 Linus 2015-10-24 14:05:22 UTC
Same here Linux 5.0.2.2
Comment 2 Jacques Guilleron 2015-10-24 21:39:13 UTC
Hi Gan, linus,

LO 5.1.0.0.alpha1+ Build ID: 186f32f63434e16ff5776251657f902d5808ed3d
TinderBox: Win-x86@39, Branch:master, Time: 2015-10-16_09:42:47
Windows 7 Home.
Once writed the "a<>b" formula,
deleting formula is possible, but after multiple Undo operations:
"Undo: Change style: Oject1", 6 times
Next, "Undo: Insert formula" is available.
Do you reproduce?
Comment 3 QA Administrators 2016-11-08 11:37:49 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2019-01-18 09:42:53 UTC
(In reply to Jacques Guilleron from comment #2)
> Hi Gan, linus,
> 
> LO 5.1.0.0.alpha1+ Build ID: 186f32f63434e16ff5776251657f902d5808ed3d
> TinderBox: Win-x86@39, Branch:master, Time: 2015-10-16_09:42:47
> Windows 7 Home.
> Once writed the "a<>b" formula,
> deleting formula is possible, but after multiple Undo operations:
> "Undo: Change style: Oject1", 6 times
> Next, "Undo: Insert formula" is available.
> Do you reproduce?

It's so, I repro in LO 6.3 alpha 0

But it's a bug anyway, because I didn't make any "Change style: Oject1" after inserting of formula
Comment 5 keddad 2020-05-02 15:39:00 UTC
*** Bug 132449 has been marked as a duplicate of this bug. ***
Comment 6 QA Administrators 2022-05-03 03:41:33 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2024-05-03 03:16:55 UTC Comment hidden (obsolete)
Comment 8 Stéphane Guillou (stragu) 2024-06-12 06:45:04 UTC
Steps:
1. Open Writer
2. Enter some text
3. Insert and edit Formula object
4. Exit formula edit mode, add some text to Writer document
5. Enter Formula again, add some characters
6. Exit formula edit mode, add some text to Writer document
7. Enter formula again, try to undo
8. Redo all steps, but don't enter edit mode at step 7. Compare results.

Result at step 7:

It is possible to undo changes to an OLE formula by entering the object's edit mode. However, back in OOo 3.3 and since LO 3.3, there were all sorts of brokenness depending on version. For example, in those early version, the formula contents might still be displayed while the editor is cleared as expected. This works better now.

Result at step 8:

If staying out of edit mode, LO gives the impression that it can undo changes to the formula, listing oddly named "Change style: Object1" steps, but they don't actually undo anything (they do however select the formula object).

Still the case in recent daily build:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5a75414d1772d1fd998f405e3b9bd80b1f10c51f
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

Equivalent request for charts is bug 62595.
Comment 9 Stéphane Guillou (stragu) 2024-06-12 06:51:03 UTC
*** Bug 161226 has been marked as a duplicate of this bug. ***