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: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Size
  Show dependency treegraph
 
Reported: 2021-06-11 11:39 UTC by Eyal Rozenberg
Modified: 2023-10-24 20:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


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

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: 7.2.0.0.alpha1+ / 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: 7.1.5.2 (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
Comment 5 QA Administrators 2023-08-10 03:05:38 UTC Comment hidden (obsolete)
Comment 6 Eyal Rozenberg 2023-09-30 15:46:41 UTC
(In reply to Natali Eroshenko from comment #4)

I can't manage to reproduce this, with:

Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US

Can you provide specific reproduction instructions?
Comment 7 QA Administrators 2023-10-01 03:17:46 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2023-10-24 11:14:19 UTC
Eyal: if you don't see this anymore, feel free to close as worksforme
Comment 9 Eyal Rozenberg 2023-10-24 20:39:29 UTC
Can't reproduce at the moment - but this is mostly for lack of trying :-(

Anyway, closing.