Bug 141939 - Undo/undo insertion of caption frame moves a shape to all corners of the page
Summary: Undo/undo insertion of caption frame moves a shape to all corners of the page
Status: RESOLVED DUPLICATE of bug 118888
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:
Depends on:
Blocks: Undo-Redo Shapes Caption
  Show dependency treegraph
 
Reported: 2021-04-27 18:06 UTC by Telesto
Modified: 2023-05-20 08:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.68 KB, application/vnd.oasis.opendocument.text)
2021-04-27 18:06 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-04-27 18:06:38 UTC
Description:
Undo/undo insertion of caption frame moves a shape to all corners of the page

Steps to Reproduce:
1. Open the attached file
2. Right click the yellow/green line
3. Insert caption.. type some name
4. CTRL+Z
5. CTRL+Y
6. CTRL+Z

Actual Results:
The green line flying around the page

Expected Results:
Undo/redo working as expected


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 41145efffe9d5af358a52b9e114bb01b98b3d7c2
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 2021-04-27 18:06:54 UTC
Created attachment 171462 [details]
Example file
Comment 2 Telesto 2021-04-27 18:07:34 UTC
Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 3 Telesto 2021-04-27 18:09:57 UTC
And in 4.2

and in
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)

and in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 4 Dieter 2021-05-12 06:55:48 UTC
I confirm it with

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

Additional information:

Shape in attached document
Anchor "to paragraph" = first paragraph of the document
Horizontal position = From left 5,10 cm to paragraph area
Vertical position = From top 9,92 to margin area

Shape after adding capture
Anchor "to paragraph" = paragraph of the caption
Horizontal position = Centre of paragraph area
Vertical: Top to margin area

Shape after undo
Anchor "to paragraph" = first paragraph of the document
Horizontal position = From left 4,85 cm to paragraph area
Vertical: From top 9,92 to margin area
=> More or less O. K.

Shape after redo
Anchor "to paragraph" = paragraph of the caption
Horizontal position = From left -2,00 cm to paragraph area
Vertical: From top -2,00 to margin area (but its the page margin)
=> Wrong
Comment 5 QA Administrators 2023-05-13 03:18:58 UTC Comment hidden (obsolete)
Comment 6 Dieter 2023-05-20 08:47:57 UTC
Still present in

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 4b3d3354119b643ec20aaad187d0a6506ea307fb
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

But I would see this as a duplicate of bug 118888. Telesto, feel free to change it back to NEW with a short reasoning, if you disagree.

*** This bug has been marked as a duplicate of bug 118888 ***