[Libreoffice-ux-advise] [Bug 132928] Optimal wrap wraps mostly at the right even enough room (2cm) at the left

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 19 06:21:07 UTC 2020


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

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|libreoffice-ux-advise at lists |heiko.tietze at documentfounda
                   |.freedesktop.org            |tion.org,
                   |                            |michael.meeks at collabora.com
                   |                            |, vmiklos at collabora.com
           Keywords|needsUXEval                 |

--- Comment #10 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
Some constants are defined in txtfly.cxx [1]:

// #i68520# (see https://bz.apache.org/ooo/show_bug.cgi?id=68520)

// Wrap only on sides with at least 2cm space for the text
#define TEXT_MIN 1134

// MS Word wraps on sides with even less space (value guessed).
#define TEXT_MIN_SMALL 300

// Wrap on both sides up to a frame width of 1.5cm
#define FRAME_MAX 850


Meaning, if the object is <1.5cm it wraps parallel in case of >2cm space to the
border, otherwise left or right. The FRAME_MAX value seems ridiculous small but
it's there since the big bang. From the UX POV I would either always try to
parallel wrap (FRAME_MAX=PAGE_SIZE) or up to PAGE_SIZE-OBJECT_SIZE. However, if
we touch this it breaks the layout of existing documents.

What we could do is to change the default to Parallel (or Page Wrap, see also
bug 86429 for labeling issues) and hide Optimal from the context menu and the
properties dialog. Not least because MSO has no "optimal" wrapping and the
round-trip fails.

[1]
https://opengrok.libreoffice.org/xref/core/sw/source/core/text/txtfly.cxx?r=d7855213#1350

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list