[Bug 162388] New: Customizing drawing shape size with "Resize shape to fit text" option enabled

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 7 14:58:04 UTC 2024


https://bugs.documentfoundation.org/show_bug.cgi?id=162388

            Bug ID: 162388
           Summary: Customizing drawing shape size with "Resize shape to
                    fit text" option enabled
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: needsUXEval
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kelemeng at ubuntu.com
                CC: libreoffice-ux-advise at lists.freedesktop.org
            Blocks: 156920

Created attachment 195754
  --> https://bugs.documentfoundation.org/attachment.cgi?id=195754&action=edit
Manually adjusted box height in an autofit box, from PP 2016

This is followup to bug 156857

MS Office allows the resizing of text boxes which have the "Resize shape to fit
text" property. LO on the other hand does not really support this, this was the
source of the PPTX import bug 156857 - LO resizes shapes always, while PP does
so only when one types a letter into the textbox.

LO on the other hand has the respective UI elements enabled in the Position and
Size dialog and also on the sidebar too, they just don't apply the manually set
size to the shape (at least not visibly, maybe the resize option instantly
resets it...). Which does not make much sense: either allow the manual resize,
or disable the spinboxes.

1. Open attached file (it was made in PP, but inserting a shape and Format -
Text box and Shape - Text Attributes -> enabling "Resize shape to fit text"
does the same)
2. Click on either blue textboxes
3/a. In the sidebars Position and Size section try to change the Height of the
shape
3/b. Press F4 to open the Position and Size dialog and try to change the Height
of the shape
-> the values in the spin boxes change, but the shape height stays the same
(width on the other hand, can be changed)

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f7197e574cdbd7410fcadab1632bcce2626dca5a
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default;
VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

So we have at least an inconsistent UI and a choice to solve the issue:

- Allow the manual resizing of shape height even if the "Resize shape to fit
text" attribute is enabled, and apply resizing only when text in the box is
actually changed. This is what MSO does.

- Disable the Height box in the sidebar and Position and Size dialog, if the
"Resize shape to fit text" attribute of the text box is enabled. This would
resolve the inconsistency of ineffective UI elements and not change current
behavior.

I don't have a strong opinion this time. UX team please review.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=156920
[Bug 156920] [META] Textbox/Drawing Object autofit functionality
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list