Bug 158166 - image contour isn't updated when an image is replaced with another
Summary: image contour isn't updated when an image is replaced with another
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2023-11-10 14:54 UTC by Paolo Benvenuto
Modified: 2024-07-10 06:12 UTC (History)
1 user (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 Paolo Benvenuto 2023-11-10 14:54:42 UTC
Description:
Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (C.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.3
Calc: threaded

Solution: 

Steps to Reproduce:
- you have an odt document with an image, the image wrap option contour is enabled
- click on the image
- menu: Insert - Image, and select a new image that will replace the existing one


Actual Results:
the new image seems to retain the contour data of the previous one.

Expected Results:
If contour is enabled, always recalculate it when inserting an image.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Dieter 2023-11-26 12:57:46 UTC
Paolo, thank you for reporting the bug. Could you please retest with actual version 7.6? If the bug is still present please attach a sample document as that makes it easier for us to reproduce the bug.

Thank you

=> NEEDINFO
Comment 2 Paolo Benvenuto 2024-04-19 16:25:16 UTC
confirmed
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (C.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.2~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 3 Stéphane Guillou (stragu) 2024-07-10 05:35:01 UTC
Testing in:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a74d99644626421fa8e4ba0728f876afe72f28e4
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Results:
- the image disappears completely
- the original contour persists (until object is moved)

Same in 5.0.0.5.