Bug 142795 - Sized-to-fit object sometimes not resized when text font size changes
Summary: Sized-to-fit object sometimes not resized when text font size changes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) alpha1+
Hardware: All All
: medium trivial
Assignee: Not Assigned
Depends on:
Blocks: Font-Size
  Show dependency treegraph
Reported: 2021-06-11 11:39 UTC by Eyal Rozenberg
Modified: 2021-08-09 03:34 UTC (History)
0 users

See Also:
Crash report or crash signature:

A supposedly-auto-resizing box, unresized (12.43 KB, image/png)
2021-06-11 11:39 UTC, Eyal Rozenberg

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2021-06-11 11:39:57 UTC
Created attachment 172814 [details]
A supposedly-auto-resizing box, unresized

In Impress, you can have a box auto-resize to fit its text (via the menus: Format | Object and Shape | Text Attributes, and click Resize Shape to Fit Text). This obviously works. However - in _some_ cases - and I'm having trouble reproducing this - a change to the font size of the text results in the text flowing into a second line within the text block of the box, and now size change for the box.

I'm attaching a screenshot for now, to illustrate, and in case it helps with reproduction.

Version: / LibreOffice Community
Build ID: 162f5a20095c6937030d23ee03fb8f72c51eefa1
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_IL); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-06_16:55:45
Comment 1 psidiumcode 2021-06-16 17:46:39 UTC
Hi Eyal Rozenberg, 

Did you uncheck the “Word wrap text in shape” option in Format >  Object and Shape > Text Attributes… ?
Comment 2 Eyal Rozenberg 2021-06-16 18:15:09 UTC
(In reply to psidiumcode from comment #1)

No, I didn't... that's the point of this bug. Despite the size-to-fit working earlier, and later, at some point it failed to kick-in - without me having changed any settings.
Comment 3 QA Administrators 2021-06-17 03:50:54 UTC Comment hidden (obsolete)
Comment 4 Natali Eroshenko 2021-08-03 14:58:43 UTC
repro in
Version: (x64) / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: threaded