Bug 147312 - Undo of anchor position change does brake object position (ODT)
Summary: Undo of anchor position change does brake object position (ODT)
Status: RESOLVED DUPLICATE of bug 148719
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-09 10:44 UTC by Telesto
Modified: 2024-05-17 02:45 UTC (History)
3 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 Telesto 2022-02-09 10:44:32 UTC
Description:
Undo of anchor position change does brake object position (ODT)

Steps to Reproduce:
1. Open attachment 169076 [details]
2. Save as ODT
3. File reload
4. Select 'Details' frame (Frame 1 in navigator)
5. The anchor shows up after 'Hughes'
6. Drag it to 'authoring' 
7. Press undo (notice content being squeezed)

There is also a problem when doing this with DOCX itself (bug 147311). However likely different commit causing the problem

Actual Results:
Frame squeezed or not properly positioned

Expected Results:
Same as on file open


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ca657b98e49eb2282775f7919827062a7a0b4bfe
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

And in (but differently, whole frame on a different position)
6.1

and in (but differently, whole frame on a different position)
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and in (but again different, frame moving down)
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

fine  in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Comment 1 Dieter 2022-02-23 15:40:17 UTC
I confirm it with

Version: 7.3.0.3 (x64) / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 2 Stéphane Guillou (stragu) 2024-05-17 02:45:56 UTC
Repro in:

Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Squeezing resolved in 7.5.9.

Bibisected the fix with linux-64-7.5 repo to first _good_ build [d20ec87fcdc542f92d0d38c9b729350434d2f322] which is:

commit 24122c202149761121ffde6788d1b28b6f3ca8f1
author	Noel Grandin 	Mon Nov 07 13:18:35 2022 +0200
committer	Noel Grandin 	Mon Nov 07 13:52:48 2022 +0100
tdf#148719 Moving caption frame & undoing is shrinking caption frame
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142371

At that commit, the layout below the title was not restored to its original state, but it is now fixed in recent versions.

Thank you Noel!

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