Bug 134369 - Enable word-wrap by default for shapes
Summary: Enable word-wrap by default for shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 18:48 UTC by Rafael Lima
Modified: 2020-07-02 15:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2020-06-28 18:48:29 UTC
Text wrapping in Impress is only working in basic shapes as rectangles. However, on other shapes as Callouts it does not work, even when I check the "Word wrap text in shape" option.

I posted a video on Youtube showing the problem.
https://youtu.be/SzBm5gq1ym0
Comment 1 Telesto 2020-06-29 11:42:26 UTC
Repro
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 006c65bbd472cb1d7d44e095714e28190b76be0d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

also with
6.0

and with
4.4.7.2

and with
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b


It works using a different route
1. Inserting a shape
2. Entering the shape
3. Right Click context menu -> Text
4. Text tab -> Wrap
Comment 2 Rafael Lima 2020-06-29 19:08:17 UTC
I tried this route and indeed it worked. However, I find it counter-intuitive to have "Word wrap" disabled by default. Most users (including myself) will have trouble finding out that this is the way to wrap text in shapes.

I would recommend LO enabling "Word Wrap" by default in all shapes. Also, a more intuitive way to switch "Word Wrap" could be implemented.

My suggestion is to add to the shape's context menu a "Text Area Properties" function that would appear without having to "enter the shape" before right-clicking it.
Comment 3 Heiko Tietze 2020-06-30 10:21:05 UTC
Any potential side-effect of having word wrap on by default?
Comment 4 Regina Henschel 2020-06-30 12:35:40 UTC
If word wrap is enabled in the default-style, then it would likely solve bug 113926 too. [It is not duplicate, because different kind of shapes are affected.]

ODF has no explicit default value, the underlying XSL has "wrap" as initial value. Current MS Office uses "wrap" as default. I think, it would be good to use "wrap" as default in LibreOffice too.

(In reply to Heiko Tietze from comment #3)
> Any potential side-effect of having word wrap on by default?

I don't know. But fixing the problem should include examining the imports/exports, especially with OOXML and with binary MS Office formats, whether they presume any default.
Comment 5 V Stuart Foote 2020-06-30 13:42:08 UTC
Wait, for these controls on all Draw shape objects, their Text... dialog, Text tab, Custom Shape text--doesn't the outcome of 'Word wrap text in shape' interact with 'Resize shape to fit text' control?

Both are disabled by default for new draw shape text.
Comment 6 Cor Nouws 2020-07-02 12:13:32 UTC
I think it is more occurring that people want text wrapped, also in shapes, then run out. So IMO good to change this.
Comment 7 Heiko Tietze 2020-07-02 15:29:04 UTC
We discussed the RFE in the design meeting and agree that having text wrapped by default makes sense. It might be an easyhack. Implementation should check the patch to not affect existing documents.