Bug 116475 - The image is shrinking at the right side when adding a note caption to an image crossing the page margins
Summary: The image is shrinking at the right side when adding a note caption to an ima...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Caption
  Show dependency treegraph
 
Reported: 2018-03-18 18:52 UTC by Telesto
Modified: 2021-02-17 17:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (10.54 KB, application/vnd.oasis.opendocument.text)
2018-03-18 18:52 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2018-03-18 18:52:32 UTC
Description:
The image is shrinking at the right side when adding a note caption to an image crossing the page margins

Steps to Reproduce:
1. Open the attached file
2. Insert -> Caption
3. Press OK

Actual Results:  
The image shrinks in size; frame size looks as it should be

Expected Results:
No change in image size


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 6.1.0.0.alpha0+
Build ID: e5bc7fa4e83b33fc3eee343e560a4f8cb91eacd6
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-14_23:37:38
Locale: nl-NL (nl_NL); Calc: CL

and in
5.1.6.2

but not in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL


User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Telesto 2018-03-18 18:52:45 UTC
Created attachment 140694 [details]
Example file
Comment 2 Dieter 2018-03-18 20:04:43 UTC
Reproducible for me in

Version: 5.4.6.2 (x64)
Build-ID: 4014ce260a04f1026ba855d3b8d91541c224eab8
CPU-Threads: 4; BS: Windows 6.19; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 3 Xisco Faulí 2018-03-20 01:04:47 UTC
Regression introduced by:

author	Oliver Specht <oliver.specht@cib.de>	2015-12-01 10:01:32 +0100
committer	Oliver Specht <oliver.specht@cib.de>	2015-12-01 11:56:52 +0000
commit 568029bf360e70080d71c5b73fd01464a2d3adc6 (patch)
tree 6902bc07be4cab0fd06b1672995800fcb1938647
parent c5c3a1414b52a08ef5701e83e3c1cdcb4c6f7d5a (diff)
tdf#88443: set relative width to objects with captions except formulas
a fix to aoo issue 51453 switched off relative with to all objects
with captions to solve a problem related to formulas
now all objects with captions get relative width except math formulas

and

author	Oliver Specht <oliver.specht@cib.de>	2015-12-01 16:19:24 +0100
committer	Oliver Specht <oliver.specht@cib.de>	2015-12-01 16:20:01 +0100
commit 9ae2d9ff4be259ad60bbb10a7488e38ca4eefc11 (patch)
tree 0ea567adee63f867e48b111d128e3cbac3b40b65
parent 8cf2c1353cfa5f95d1aa9551035fda721d5345d8 (diff)
tdf#88443:percent value fixed

Bisected with: bibisect-linux-64-5.2

Adding Cc: to Oliver Specht
Comment 4 Oliver Specht (CIB) 2018-03-21 18:32:12 UTC
The strange behavior has not been introduced with the fix mentioned in comment #3.
It has been there before. (OOo 3.3)
The images has 100% relative width. This should result in the full width of it's surrounding frame but it is actually is the width of the paragraphs of the page.

Just modify the page left/right margins before inserting the caption.
Comment 5 QA Administrators 2019-03-22 04:04:39 UTC Comment hidden (obsolete)
Comment 6 Dieter 2019-03-22 06:48:35 UTC
Still repro in 

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 91cdf22b88a4f7bec243c8fb187627e766d3294c
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-08_00:38:10
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 7 QA Administrators 2019-03-23 03:18:01 UTC Comment hidden (obsolete)
Comment 8 Dieter 2021-02-17 17:47:12 UTC
Still present in

Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL