[Libreoffice-bugs] [Bug 139963] New: "Delete spaces and tabs at end and start of paragraph" option in AutoCorrect needs critical evaluation

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 28 11:00:41 UTC 2021


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

            Bug ID: 139963
           Summary: "Delete spaces and tabs at end  and start of
                    paragraph"  option in AutoCorrect needs critical
                    evaluation
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sdc.blanco at youmail.dk

According to:
https://help.libreoffice.org/7.2/en-US/text/shared/01/06040100.html

  Delete blanks and tabs at end and start of lines

  Removes spaces and tabs at the beginning of each line. To use this option,
  the Apply Styles option must also be selected. 

0. Tools > AutoCorrect > AutoCorrect Options - Options tab
   uncheck all [T] and [M] options, except for following two
   [T] options.
   "Delete spaces and tabs at end and start of line"
   "Apply Styles"

1.  Make sure:  Tools > AutoCorrect > While Typing (is enabled)

2.  Use "Default Paragraph Style" or "Text Body" PS for all tests.

3.  Enter some text with spaces and/or tabs at beginning and end, press Enter

Expected result:  any spaces and tabs at beginning of line (according to
"help") and at end ("according to option label") should be removed, and no
change to PS.

Actual result:  converted to "Text Body Indent" but no tabs or spaces are
removed (at beginning or end).


Additional information:

1. Also tested with [M]  ("Apply Styles" is not needed in this case).
Same results.

2. Afaict, this option is functionally equivalent to "Delete spaces and tabs at
beginning and end of paragraph"   

3. Both options have been present since at least OOo 1.1.0, 

Critical question:  What is "intention" or "utility" or "value added" of this
AC option in the bigger picture of other options? (I could not imagine
anything).

Forgive my cynicism, but looks like: 

"Delete spaces and tabs at end and start of line" was a precursor to 
"Delete spaces and tabs at beginning and end of paragraph" (and did not work), 
and then someone forgot to remove the precursor, after the "paragraph" version
was implemented.

Maybe this "option" should be removed?  or its true intention/value
rediscovered and re-enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210128/f44d3022/attachment.htm>


More information about the Libreoffice-bugs mailing list