[Libreoffice-bugs] [Bug 105441] styles don't resize shape with "resize shape to fit text"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 25 15:34:55 UTC 2018


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

--- Comment #4 from Justin C <charetjc at gmail.com> ---
Tested again with LibreOffice Beta.

Perhaps I don't understand what the bucket tool in the Styles pane is for.  In
LO 5.3, the icon was a bucket and the tooltip, if I recall correctly, was
"Apply".  In LO 6.0 and 6.1 beta, the bucket icon is replaced with a Paint
Brush and tooltip of "Fill Format Mode".  My expectation was that the tool
would apply the selected style to any shape I later clicked on (allowing for a
style to be quickly applied to multiple shapes), but the behavior of the tool
suggests that might not be the case.  E.g.  "Fill Format Mode" is disabled
until I select a shape on the page.

If I enable resize, then apply the style by 1) selecting the shape, then 2)
double-clicking the style, the shape resizes to fit the text as expected.

=== Revised steps that work (enable resize then apply style)

1.  Open LibreOffice Draw
2.  Start with a new document.
3.  Draw a square on the page.
4.  Add text to the square, e.g. "Hello world".
5.  Open "Styles and Formatting" sidebar.
6.  Right click on "Default" style and create New style named "Test".
7.  In Style Editor, select "Text" tab, then...
  a) Enable "Resize shape to fit text"
  b) Enable "Fit width to text"
  c) Click "OK"
8.  Select the square with the select tool.  Resize handles should appear on
    the shape.
9.  In "Styles and Formatting" sidebar...
  a) Double-click the "Test" style to apply it to the square.
10.  Observe that the shape DOES resize around the text:
  a)  immediately after applying the text, or
  b)  after editing the text, or
  c)  after attempts to resize the shape manually.


=== About

Version: 6.1.0.0.beta1
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 8;
OS: Linux 4.15;
UI render: default;
VCL: gtk2; 
Locale: en-US (en_US.UTF-8);
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180625/bbf929ec/attachment.html>


More information about the Libreoffice-bugs mailing list