Bug 138349 - Editing : Issue when replacing an image by another
Summary: Editing : Issue when replacing an image by another
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.5.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2020-11-19 18:55 UTC by Gwenaël Q.
Modified: 2024-05-04 16:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File in wich bug occurs (580.03 KB, application/vnd.oasis.opendocument.text)
2020-11-19 18:57 UTC, Gwenaël Q.
Details
Small JPG file which provokes bug (7.87 KB, image/jpeg)
2020-11-25 07:51 UTC, Andrew Watson
Details
Small PNG file which provokes bug (9.06 KB, image/png)
2020-11-25 07:52 UTC, Andrew Watson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gwenaël Q. 2020-11-19 18:55:33 UTC
Description:
With the attached file, trying to replace an image with a jpeg will replace an other image than the selected one

Steps to Reproduce:
1. Open attached file
2. Select blue shape in the first page then
3. select blue-green rectangle in the first page
4. Rick-click on it > replace, then chose a jpeg file

Actual Results:
image behind tho one selected changed 

Expected Results:
the selected image should have changed !


Reproducible: Always


User Profile Reset: No



Additional Info:
Tried to simplify more the document but the bug disappeared ...
Please note that you must replace with a jpeg one !
Comment 1 Gwenaël Q. 2020-11-19 18:57:33 UTC
Created attachment 167405 [details]
File in wich bug occurs
Comment 2 Andrew Watson 2020-11-25 07:51:30 UTC
Created attachment 167550 [details]
Small JPG file which provokes bug
Comment 3 Andrew Watson 2020-11-25 07:52:14 UTC
Created attachment 167551 [details]
Small PNG file which provokes bug
Comment 4 Andrew Watson 2020-11-25 08:06:58 UTC
Confirmed with both JPEG and PNG files attached (70.png, 70.jpg) in:

Version: 7.0.3.1
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Mac OS X 10.11.6; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

Also confirmed with both JPEG and PNG in:

Version: 6.4.4.2
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 4; OS: Mac OS X 10.11.6; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded

Also confirmed with both JPEG and PNG in:

Version: 5.4.5.1
Build ID: 79c9829dd5d8054ec39a82dc51cd9eff340dbee8
CPU threads: 4; OS: Mac OS X 10.11.6; UI render: default; 
Locale: en-GB (en_GB.UTF-8); Calc: group

In LO 4 the right-click menu doesn't have a "Replace" option, so didn't try to replicate on that version.

Set Status to NEW, earliest version to 5.4.5.1, platform to "All".
Comment 5 Andrew Watson 2021-02-21 10:06:24 UTC
Bug still present with both JPEG and PNG in:

Version: 7.1.0.3 / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded
Comment 6 Gwenaël Q. 2021-10-31 11:11:42 UTC
Bug still present with both JPEG and PNG in:

Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL
Comment 7 Andrew Watson 2022-03-17 19:24:16 UTC
Bug still present with both JPEG and PNG in:

Version: 7.3.1.3 / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded
Comment 8 Gwenaël Q. 2022-07-02 17:37:50 UTC
Still replicated with 7.3.4.2

Thanks for listening
Comment 9 Andrew Watson 2023-05-22 08:07:44 UTC
Bug still present with both JPEG and PNG in:

Version: 7.4.7.2 / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded
Comment 10 Gwenaël Q. 2024-05-04 16:15:43 UTC
Bug still present with both JPEG and PNG in:

Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded