Bug 139091 - Undo/redo steps odd if it includes insertion of a new paragraph style (and redo repeat few times)
Summary: Undo/redo steps odd if it includes insertion of a new paragraph style (and re...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2020-12-20 10:46 UTC by Telesto
Modified: 2023-09-15 04:15 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 Telesto 2020-12-20 10:46:46 UTC
Description:
Undo/redo steps odd if it includes insertion of a new paragraph style

Steps to Reproduce:
1. Open new writer document
2. Sidebar -> PS styles -> Expand headings 
3. Right click heading 1 -> NEW
4. Type a name -> Say AAA
5. Double click AAA
6. Type DDD + Enter + EEE + Enter + FFF + Enter
7. Press arrow up twice (cursor should be top left)
8. Press Enter
9. Style box (formatting toolbar). Pick clear formatting
10. Press and hold CTRL+Z 
11. Press and hold CTRL+Y
12. Repeat 10/11 few times.. at some point the result will be scrabled

Actual Results:
Undo/redo results are corrupted at some point

Expected Results:
This should be happening.. however must admit this steps here are not to common :-).. not sure if there is an real life example


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 315c7570c4a72f4c834086082825533b1e50d1bf
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-12-20 10:48:04 UTC
Even more obvious in
Version: 6.2.9.0.0+ (x86)
Build ID: 5f01fe15eb2661f1f9ce12d1d99dc2a705b462ee
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

So this actually has been improved
Comment 2 Telesto 2020-12-20 10:51:02 UTC
For the record.. do the CTRL+Z CTRL+Y thing step by step.. press and hold strategy seems to procedure the desired results... Kind of timing thing?
Comment 3 Dieter 2021-07-05 06:18:40 UTC
I can't confirm it with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Telesto, could you please retest with actual master? Thank you.
=> NEEDINFO
Comment 4 Telesto 2021-07-05 08:32:55 UTC
1. Open new writer document
2. Sidebar -> PS styles -> Expand headings 
3. Right click heading 1 -> NEW
4. Type a name -> Say AAA
5. Double click AAA
6. Type DDD + Enter + EEE + Enter + FFF + Enter
7. Press arrow up twice (cursor should be top left (before DDD)
8. Press Enter
9. Press Arrow up (the forgotten)
9. Style box (formatting toolbar). Pick clear formatting
10. Press and hold CTRL+Z 
11. Press and hold CTRL+Y
12. Repeat CTRL+Z CTRL+Y hold few times (it's 3 or 4 time failing) (DDD will be unbold)

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c38d0d501f5eca648bdf0fd2914b57e06f505f7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 5 Dieter 2021-07-30 10:15:27 UTC
Still can't confirm with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 6 Buovjaga 2021-09-11 18:55:34 UTC
No repro

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: e6a8d312d3d7e5d81c56d5ccc0508116dd283f1f
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 7 Telesto 2021-09-12 07:23:15 UTC
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 96d1240adf946c443fb2c369a1c84e31e259c7a8
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL
Comment 8 Telesto 2021-09-12 07:44:28 UTC
Attempt 3

1. Open new writer document
2. Sidebar -> PS styles -> Expand headings 
3. Right click heading 1 -> Add new heading  (call it say -> Say AAA)
5. Double click heading AAA (in sidebar)
6. Type AAA+ Enter + BBB+ Enter + CCC + Enter (in document)
7. Place cursor before AAA
8. Style box (formatting toolbar). Pick clear formatting [not clear direct formatting]
9. Press and hold CTRL+Z 
10. Press and hold CTRL+Y (notice AAA being select)
11. Press CTRL+Z 3 times (cursor at end of AAA)
12. Press CTRL+Y 2x
Comment 9 Buovjaga 2021-09-14 09:30:16 UTC
Oh, sorry, I was indeed confused by the style box step. I was using clear direct formatting instead of opening the style drop down.

I do reproduce with the steps in comment 4.

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: e6a8d312d3d7e5d81c56d5ccc0508116dd283f1f
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 10 QA Administrators 2023-09-15 03:05:42 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug