Bug 140065 - Image in frame vanishes after changing anchor of image (and undo doesn't restore)
Summary: Image in frame vanishes after changing anchor of image (and undo doesn't rest...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2021-02-01 15:23 UTC by Telesto
Modified: 2024-08-07 11:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (63.41 KB, application/vnd.oasis.opendocument.text)
2021-02-01 15:23 UTC, Telesto
Details
Screenshot of the original document and its docx version in Writer after anchor change (234.42 KB, image/png)
2021-02-08 09:34 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-02-01 15:23:07 UTC
Description:
Image in frame vanishes after changing anchor of image (and undo doesn't restore)

Steps to Reproduce:
1. Open the attached file
2. Save As DOCX (but similar can produced with ODT)
3. Click the image inside the frame
4. Anchor to 'to character'
5. Press undo

Actual Results:
Image gone at step 4 and step 5 doesn't make any difference

Expected Results:
Should work better


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 66013201749df7d5ac5ddaf377a7b3732518a93b
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-02-01 15:23:19 UTC
Created attachment 169354 [details]
Example file
Comment 2 Telesto 2021-02-01 15:24:13 UTC
Another of those examples related to frames and images.. Maybe solved with
https://gerrit.libreoffice.org/c/core/+/109365
Comment 3 NISZ LibreOffice Team 2021-02-08 09:34:44 UTC
Created attachment 169579 [details]
Screenshot of the original document and its docx version in Writer after anchor change

Repro in:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 380ab85b6594a013f34f5e6ec69fb569336bbb48
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 4 NISZ LibreOffice Team 2021-04-23 12:28:10 UTC
Still happens in:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: db1cf111666847ce5ce93d18ae5ae8c29a4c44d6
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

With ODT format the anchor change makes the image vanish, but Undo restores it.
With DOCX format the anchor change makes the image vanish and Undo does not restore is.
Comment 5 QA Administrators 2023-04-24 03:24:42 UTC Comment hidden (obsolete)
Comment 6 Kira Tubo 2023-09-22 03:00:35 UTC
With .odt file, the issue is reproducible in the daily master build except for the Undo in step 5 (the image is correctly restored) and is seen on v.3.3. 

With the .docx file, the issue is reproducible in the daily master build, including Undo in step 5 (image is not restored). The .docx file does not open with images in v.3.3, so might need to test later versions. 


Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 486ae5db6987411d5e394de94b2b077099d03856
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 7 Buovjaga 2024-08-07 11:39:54 UTC
Bibisected "image gone at anchor change in ODT" with Linux 43all repo to https://git.libreoffice.org/core/+log/a1ac2538e9b287444500618ab4d2f0f06c25cf34..19f4ebd8a54da0ae03b9cc8481613e5cd20ee1e7

Range has some bigger ALv2 merges, but nothing in particular jumps out from them or the other commits.