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

            Bug ID: 157371
           Summary: Frame auto-size ignores content after 1st line-break
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
A frame with the Width set to "AutoSize" expands to match only the first line
of content.  If a line-break is present the frame ignores the width of
subsequent lines (so they don't fit if the first line is narrower than later
lines).


Steps to Reproduce:
Open attached "frametest.odt", or:

1.In Writer, Insert->Frame->Frame... and 
     Check Width "AutoSize" 
     Set the minimu width to 0.02"

2. In the frame, type "X<line-break>YYYYYYY" (Control-Enter to enter
line-break)

Actual Results:
The frame is only wide enough for a single "X" character, not "YYYYYYY"

Expected Results:
Resize the frame so the maximally-wide line fits


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e472b5b557d2b43b41e488c83db2b188de499610
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to