Bug 166634 - Anchoring image to heading and pressing undo puts image above text
Summary: Anchoring image to heading and pressing undo puts image above text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-19 04:19 UTC by Telesto
Modified: 2025-05-20 06:29 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file (44.07 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-05-19 04:19 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2025-05-19 04:19:09 UTC
Description:
Anchoring image to heading and pressing undo puts image above text

Steps to Reproduce:
1. Open the attached file
2. Select the image frame. Anchor becomes visible
3. Drag the image anchor after Liddi
4. Press CTRL+Z (wrong)
5. Save
6. File- Reload -> Fine

Actual Results:
Image above text

Expected Results:
Text layout being refreshed


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5c7b3f5dc1f14081eed380999dc029a500784d55
CPU threads: 8; OS: macOS 14.7.4; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 Telesto 2025-05-19 04:19:24 UTC
Created attachment 200857 [details]
Example file
Comment 2 Telesto 2025-05-19 04:27:13 UTC
Also in
Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Mac OS X 14.7.4; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

Impossible to anchor this way with
Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 3 Andrew Kopf 2025-05-20 02:10:13 UTC
Hello Telesto,

Thank you for reporting the bug. I can confirm that the bug is present in master and a recent alpha build.



Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 22; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

and

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 19f3b72f34c487dc97d582712d21734a7e055fd5
CPU threads: 22; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded