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

            Bug ID: 156918
           Summary: "Autofit text" does not make a textbox change
                    dimensions to fit (shorter) text
           Product: LibreOffice
           Version: 7.6.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Reproduction instructions:

1. Create a new presentation
2. Insert a textbox of size roughly 5cm x 5cm (the exact size doesn't matter
all that much)
3. Type some text into the textbox, e.g. "Hello world. This is some text."
4. (Unnecessary, just for better visualization) set the textbox to have a
border (a contiguous, rather than empty, 'Line Style')
5. Right-click the edge of the textbox
6. Check "Autofit text"

Expected results:

The textbox' height and/or width change, so that it doesn't have empty space
that could fit additional lines of text.

Actual results:

Nothing happens. (But if you type in more and more text, which would otherwise
exceed textbox dimensions, the font size is decreased so that the whole text
fits the box).

So, what's the actual problem here: There are several, actually:

1. "Autofit text" is ambiguous: It can mean "Have the text fit the object,
automatically", but it can also mean "Have the object fit its text,
automatically".
2. An action on the text area appears in the object's context menu (not the
context menu you get when you're editing the text, when the text area is
active/indicated visibly).
3. The user may be expecting to be able to resize the object to fit its text
from the object's context menu, where the user sees additional items affecting
object size, like the "Position and Size..." item.

At the very least and immediately, the menu item should be reworded (in English
and other relevant locales). It could be: "Auto-fitting text" or "Make text
auto-fit" for example. That would address (1.)

But I also believe (3.) should be addressed, by somehow also letting the user
say they want the object size to auto-fit the text from the context menu
without entering a separate dialog.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to