Bug 80931 - VIEWING: Size of caption depending on amount of description text & above/below object
Summary: VIEWING: Size of caption depending on amount of description text & above/belo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Caption
  Show dependency treegraph
 
Reported: 2014-07-04 22:28 UTC by Dominik
Modified: 2020-08-14 21:35 UTC (History)
1 user (show)

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


Attachments
three demonstrations (22.49 KB, application/vnd.oasis.opendocument.text)
2014-07-04 22:28 UTC, Dominik
Details
LibreOffice 4.2.5 vs 4.3.0 (106.67 KB, image/png)
2014-07-06 01:32 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik 2014-07-04 22:28:23 UTC
Created attachment 102288 [details]
three demonstrations

Problem description: 
the size of the caption is different in at least 3 ways.

if the object is small enough and/or the description is long enough and you select above as location of the desc. the object is below the border of the caption.

if there's just some text a part of the object is within the borders (when selecting above)

if below is selected, there is some (unnecessary?) whitespace above the object, but the whole object is within the caption.

Steps to reproduce:
1. create object
2. create caption
3. select above as location for description

Expected behavior:
consistent enclosure.

Guessed problem:
it seems like the height of the caption isn't recalculated / extended when text joins the object within the captions borders, when "above" is selected.

              
Operating System: All
Version: 4.3.0.2 rc
Comment 1 Yousuf Philips (jay) (retired) 2014-07-06 01:32:18 UTC
Created attachment 102317 [details]
LibreOffice 4.2.5 vs 4.3.0
Comment 2 Yousuf Philips (jay) (retired) 2014-07-06 01:58:32 UTC
Confirmed in Linux Mint in 4.1.6, 4.2.5, 4.3.0 and master that when inserted above, the frame size isnt enlarged to fit the text added above and when inserted below, it adds a space between the top of the frame and the image. Wasnt able to reproduce on lower versions as the position drop down was disabled.
Comment 3 QA Administrators 2015-07-18 17:43:07 UTC Comment hidden (obsolete)
Comment 4 Gordo 2015-07-20 15:52:51 UTC
Still reproducible.

Frame does not surround object when caption is above.

Windows Vista 64
Version: 4.4.4.3
Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8

Version: 5.1.0.0.alpha1+
Build ID: fcdddbd30a8b5cf6a5cc4d2ff28b7d4a20f8ec6b
TinderBox: Win-x86@39, Branch:master, Time: 2015-07-20_05:21:02
Comment 5 QA Administrators 2016-09-20 10:18:24 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-12-03 14:17:03 UTC Comment hidden (obsolete)
Comment 7 Thomas Lendo 2020-08-14 21:35:27 UTC
Still reproducible with
Version: 7.1.0.0.alpha0+
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: de-AT (de_AT.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-08-05_04:03:50
Calc: CL