Bug 143631 - Image dimensions not retained after cut/paste from caption frame to document
Summary: Image dimensions not retained after cut/paste from caption frame to document
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks:
 
Reported: 2021-07-31 07:53 UTC by Telesto
Modified: 2021-09-29 07:38 UTC (History)
3 users (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 Telesto 2021-07-31 07:53:57 UTC
Description:
Image dimensions not retained after cut/paste from caption frame to document

Steps to Reproduce:
1. Open attachment 173985 [details]
2. Right click the image
3. insert caption frame
4. Type a name: say a
5. press OK
6. select the image (not the frame)
7. Cut
8. Paste somewhere in the document

Actual Results:
Page filling image

Expected Results:
Size prior adding a caption frame


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2a151d1d5bc055d5e0011460b6ec42ea9f34f880
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

and in

Versie: 5.1.6.2 
Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909
CPU Threads: 4; Versie besturingssysteem:Windows 6.2; UI Render: GL; 
Locale: nl-NL (nl_NL); Calc: CL

still OK in
Versie: 5.0.0.1 
Build ID: 9a0b23dd0ab9652e0965484934309f2d49a7758e
Locale: nl-NL (nl_NL)
Comment 1 Dmitrii A 2021-08-03 02:41:05 UTC
confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 16; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 2 raal 2021-09-29 06:21:47 UTC
bisected to
bibisect-win32-5.2

commit 6400159dffd928c66d43822e7bf8fa702df11909
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Sun Dec 6 21:18:07 2015 -0800

    source 568029bf360e70080d71c5b73fd01464a2d3adc6

https://git.libreoffice.org/core/+/568029bf360e70080d71c5b73fd01464a2d3adc6
  tdf#88443: set relative width to objects with captions except formulas

Adding CC to: Oliver Specht
Comment 3 Oliver Specht (CIB) 2021-09-29 07:38:23 UTC
Copy/Paste copies the object with it's attributes. 
In this case an image with relative width set to 100%


That has not been changed with commit  6400159dffd928c66d43822e7bf8fa702df11909
So it is no regression.

The commit makes sure the image within the caption frame fills that frame - also if it is resized later.