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
Created attachment 189746 [details] frametest.odt
Created attachment 189747 [details] screenshot.png
Works fine for me with kf5 and gtk3. Could it have been some issue in master that got fixed after you tested? Arch Linux 64-bit, X11 Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 6d57c8f4bbfb4bee20ad2581b2b65d8e31af4fbf CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 3 October 2023
@Buovjaga - I still see the same results (frame is only wide enough for the first line, not the widest line) in master build downloaded today. Identical results as with 7.5.6.2. Would you please attach a screenshot of what you see when opening the "frametest.odt" file? Is the frame wide enough for the "BBBBBBBBBB" line to not wrap? Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f95c3994f0b6a82a3bc2ddfb68822b74479ae185 CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
There was a MISTAKE in original the "Steps to Reproduce". You should type SHIFT-Enter (not Ctrl-Enter) to insert a line-break. Using Ctrl-Enter starts a new paragraph, which is not the bug condition. You can also do Insert->More Breaks->Manual Break... Line Break. My apologies. (P.S. I wish Calc and Writer used the same keyboard shortcut for inserting line breaks!)
[Automated Action] NeedInfo-To-Unconfirmed
Thanks, repro already in oldest of Linux 43all bibisect repo.