[Libreoffice-ux-advise] [Bug 155494] Cursor goes beyond margins when typing spaces at the end of a line

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 30 14:43:38 UTC 2023


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

--- Comment #19 from William Friedman <will.friedman at gmail.com> ---
Thank you everyone for the engagement around this issue.

I agree with V. Stuart Foote's comment #18: "we really should be breaking lines
at paragraph/object margins--wrap like other sane word processors and text
editors."

As for what should be done with the "extra" spaces: 

1) I tend to oppose imposing unnecessary limitations on users, even if I can't
imagine any use case for manually inserted spaces at the end/beginning of
lines. My preference would be to treat spaces at the end of a line like any
other character, wrapping them and displaying them on the next line. 

2) If this is a problem, then second best would be to ignore the attempt to
insert spaces at the end/beginning of lines, and to truncate such spaces
automatically when importing Word documents (or to offer a compatibility option
to delete or retain them, but *not* display them, as was the behavior prior to
LO 7.5).

3) Alternatively, in the interest of maximizing user flexibility/customization,
a checkbox could be added somewhere under Tools | Options | LibreOffice Writer:
"Allow trailing/leading spaces" -- when checked, spaces would be treated as
regular characters, wrapped at the end of lines, and displayed normally (as I
suggested in 1 above); when unchecked, no trailing/leading spaces would be
permitted, and pressing space at the end or beginning of a line would have no
effect (as I suggested in 2 above).

4) Regarding the issues caused by such spaces with centered/justified
alignments, I would advocate for a checkbox somewhere under Tools | Options |
LibreOffice Writer: "Truncate trailing spaces in center/justified alignments."

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


More information about the Libreoffice-ux-advise mailing list