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

--- Comment #49 from William Friedman <[email protected]> ---
(In reply to Heiko Tietze from comment #48)
> Putting all together it sounds reasonable to add an option under Tools >
> Writer > Compatibility and let the user decide whether spaces at the line
> end wrap or not. Enabling the option breaks the layout for old documents and
> the compatibility with MS Word but should be easy to switch on/off.

I applaud this decision. However, I want to raise a few questions:

1) As Attila pointed out, there are two separable (but related) issues here --
the actual underlying treatment of spaces, and the *display of the cursor* when
spaces do not wrap. This decision treats the first but not the second. Will the
cursor behavior remain the same (going off into infinity, not displaying the
full range of selected text, etc.) if spaces do not wrap (i.e., if the current
underlying behavior does not change)? Although this will not affect me
personally, since I will set spaces to wrap, the cursor issue in the
non-wrapping spaces mode will in my opinion remain a bug, as Laszlo pointed out
in comment #46.

2) How will treating spaces as ordinary characters affect center/full
justification (which was one of Attila's concerns)?

3) Would it also be possible the implement an *option* to trim spaces, as V
Stuart Foote advocated for in comment 21 and as I suggested in comment 19? This
could be implemented under the same Tools > Writer > Compatibility tab, e.g.:

Treatment of Leading/Trailing Spaces
[ ] Allow but do not wrap leading/trailing spaces (Compatible with MS Word)
[ ] Wrap leading/trailing spaces
[ ] Trim leading/trailing Spaces
    [ ] always
    [ ] In center/justified alignments only

The tricky part is that if "trim trailing/leading spaces" is selected and "in
center/justified alignments only" is also selected, then either wrap or do not
wrap would also need to be allowable options to control what happens to
leading/trailing spaces in left/right justification.

Thank you again for addressing this issue!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to