Bug 158618 - Picture made with draw and pasted in Writer disappear when you modify or/and register Writer file
Summary: Picture made with draw and pasted in Writer disappear when you modify or/and ...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-09 22:27 UTC by david.vantyghem
Modified: 2023-12-12 20:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
File to test this bug (8.64 MB, application/vnd.oasis.opendocument.text)
2023-12-09 22:28 UTC, david.vantyghem
Details
On of the the Draw pictures I copied and pasted in the Writer document (88.01 KB, application/vnd.oasis.opendocument.graphics)
2023-12-09 22:32 UTC, david.vantyghem
Details
Help screeshot (206.98 KB, image/png)
2023-12-11 17:31 UTC, david.vantyghem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david.vantyghem 2023-12-09 22:27:37 UTC
Description:
I made pictures with Draw and copy-paste them in a Writer document. When I modify or simply save the file, close it and reopen it, the picture in the third page before end of the document disappears.

Steps to Reproduce:
1.Download and save the joined Writer file on your desktop.
2.Open this file. Look at the last three pages, there are pictures in it, made with Draw.
3.Modify the document and save it or simply save it without modifying it.
4. Close the document and reopen it.
5. Go to the third page before end : the picture as disappeared.

Actual Results:
The picture at the third page before end disappears.

Expected Results:
The picture at the third page should not disappear.


Reproducible: Always


User Profile Reset: No

Additional Info:
I can reproduce this bug on two different computers.
Comment 1 david.vantyghem 2023-12-09 22:28:28 UTC
Created attachment 191336 [details]
File to test this bug
Comment 2 david.vantyghem 2023-12-09 22:32:25 UTC
Created attachment 191337 [details]
On of the the Draw pictures I copied and pasted in the Writer document
Comment 3 m_a_riosv 2023-12-10 23:14:27 UTC
I can't reproduce with:
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

Please paste here the information on Menu/Help/About LibreOffice (There is an icon to copy)

Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 4 david.vantyghem 2023-12-11 17:31:22 UTC
Created attachment 191365 [details]
Help screeshot
Comment 5 david.vantyghem 2023-12-11 17:35:32 UTC
I opened and saved the document in safe mode and opened it again in safe mode, the bug is here too.
Comment 6 m_a_riosv 2023-12-11 22:04:04 UTC
Please test:
Create a new Writer document.
In the original document:
Selecting all [Ctrl+A] Menu/Edit/Select all.
Select the new document and paste.
Everything seems fine.

There are several threads in Ask like https://ask.libreoffice.org/t/unhide-hidden-images/19361
Comment 7 david.vantyghem 2023-12-12 20:52:35 UTC
Indeed, it works after copying the content in a new empty document.
Thank you very much for this solution.

Does this MS Office document importation bug will be solved in next versions of LibreOffice?
Comment 8 m_a_riosv 2023-12-12 20:55:31 UTC
If some developers take care.
Cross the fingers.