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)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: Caption
  Show dependency treegraph
Reported: 2014-07-04 22:28 UTC by Dominik
Modified: 2022-08-15 03:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

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

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: 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
Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8

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
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
Comment 8 QA Administrators 2022-08-15 03:44:47 UTC
Dear Dominik,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team