Bug 144721 - Resizing fonts in Text Boxes does not adjust Text Box size correctly
Summary: Resizing fonts in Text Boxes does not adjust Text Box size correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox
  Show dependency treegraph
 
Reported: 2021-09-25 14:24 UTC by Rafael Lima
Modified: 2023-09-18 21:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Video capture (123.49 KB, image/gif)
2021-09-25 14:24 UTC, Rafael Lima
Details
Same workflow in MS PowerPoint (150.37 KB, image/gif)
2021-10-01 14:43 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-09-25 14:24:52 UTC
Created attachment 175267 [details]
Video capture

In Impress and Draw, changing the font size of the text inside a Text Box does not adjust the box size correctly (see attached screen capture).

I could not get any hint of why this happens... initially I thought it might be that the internal spacing was not considered while resizing, but removing the internal spacing in the text box did not solve the issue.

It is probably something related to rounding when calculating the new size.
Comment 1 Heiko Tietze 2021-10-01 06:54:36 UTC
Are you looking for the option Text Attributes > Drawing Object Text: Fit width to text and Fit height to text?

Or is it the height of the text box, which would be Position and Size or Text Attributes > Drawing Object Text: Fit height to text.

Anyway, you have drawn an object and modify now it's content. Think of a larger shape place carefully in a collection of objects and you add some text to it. You don't want the shape to change it's size according the containing text by default.
Comment 2 Rafael Lima 2021-10-01 14:43:07 UTC
Created attachment 175446 [details]
Same workflow in MS PowerPoint

(In reply to Heiko Tietze from comment #1)
> Are you looking for the option Text Attributes > Drawing Object Text: Fit
> width to text and Fit height to text?
> 
> Or is it the height of the text box, which would be Position and Size or
> Text Attributes > Drawing Object Text: Fit height to text.

Hi Heiko... see the attached video showing the same workflow in MS PowerPoint. Notice that the text box resizes accordingly.

This is a very common workflow for many people: (1) insert a text  box (2) enter some text and (3) increase/reduce font size. In Impress this is not as productive as in MS PowerPoint because it always requires the user to do additional manual adjustments.

Again, I know that this is not a technical bug, but this is something that can be improved to provide a better experience for users.
Comment 3 Heiko Tietze 2021-10-04 11:06:22 UTC
Okay, the text box size does not increase smoothly => bug

It works nicely in Writer. Maybe related: bug 115328
Comment 4 Kira Tubo 2023-09-18 21:30:33 UTC
Reproducible in current daily master build. Also reproducible in LO 3.3. Updating version from 7.2.0.4 to "Inherited from OOo"
Comment 5 Kira Tubo 2023-09-18 21:30:45 UTC
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 36163d269bd8f77a86605e4c5ff5adce17b4c66c
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded