[Libreoffice-bugs] [Bug 122052] New: Undo Sequence Seems Incorrect When Undo-ing Auto Link/Email Formatting Created on Enter/Newline

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 12 17:59:14 UTC 2018


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

            Bug ID: 122052
           Summary: Undo Sequence Seems Incorrect When Undo-ing Auto
                    Link/Email Formatting Created on Enter/Newline
           Product: LibreOffice
           Version: 6.1.2.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sclark100 at gmail.com

Description:
The Undo step for undoing auto-formatting of email addresses/links after a
newline seems like it is in the wrong order with the enter/new line action.
User can’t undo auto formatting and continue with next paragraph as expected.

The undo action for auto-formatting seems to work correctly when the link is
not at the end of the paragraph.

I’m using version 6.1.2.1 on Fedora 29

Steps to Reproduce:
1) Write a paragraph with a link or email address at the end. Last sentence may
have closing punctuation or it may not. For example as the last sentence in the
paragraph:

My email address is somebody at libreoffice.org

LibreOffice is a cool project. Their website is http://libreoffice.org

LibreOffice is a cool project. Their website is http://libreoffice.org.

2) Type “Enter” to move to new line/paragraph
- LibreOffice performs auto-formatting at this point

3) Realize that auto-formatting of link/email is not desired.
4) Click Undo to remove auto formatting.

Actual Results:
5) On first undo, LibreOffice undoes the enter/newline.
6) formatting still remains. Undo again.
7) On second undo, if there was closing punctuation, LibreOffice skips the
cursor back one character but still does not undo the formatting. If there was
no closing punctuation, LibreOffice appears to do nothing.
8) formatting still remains. Undo again.
9) On third undo, formatting is removed.
10) Attempt to continue with document. Press enter to move to new line as was
originally desired in step 2.
- As in step 2, LibreOffice again auto-formats the link/email
12) User does not want auto formatting but now realizes they are in a loop.
They want to undo the auto formatting and also create a newline at the end of
the paragraph but there isn’t a way to do this short of creating the newline
prior to writing the end of the paragraph, and then going back to the paragraph
to add the link.

Expected Results:
5) auto-formatting is removed
6) continue with work


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.1.2.1
Build ID: 6.1.2.1-3.fc29
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group threaded

-- 
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/20181212/86c53e5f/attachment.html>


More information about the Libreoffice-bugs mailing list