Date: prev next · Thread: first prev next last
May 2020 Archives by date, by thread · List index


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

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

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

--- Comment #10 from Heiko Tietze <heiko.tietze@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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.