[Libreoffice-bugs] [Bug 138768] New: EDITING Undo auto-capitalization after tab inserts both capitalized and uncapitalized

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 9 10:37:50 UTC 2020


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

            Bug ID: 138768
           Summary: EDITING Undo auto-capitalization after tab inserts
                    both capitalized and uncapitalized
           Product: LibreOffice
           Version: 6.1.5.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: felix+libreoffice at fwdekker.com

Description:
Impress automatically capitalizes the first character of a sentence after
pressing the Tab button. Undoing this by pressing Ctrl+Z causes weird
behaviour: After the first undo the tab is removed (good), but after the second
undo the lowercase character is inserted in front of the uppercase one (bad).
Only after the third undo is the uppercase character removed.

Steps to Reproduce:
1. Create a new presentation.
2. Select a text input in one of the slides.
3. Write "sentence" (lowercase) and then press Tab. You now have "Sentence ".
4. Undo (Ctrl+Z) to remove the Tab character. You now have "Sentence".
5. Undo (Ctrl+Z) to undo the auto-capitalization.

Actual Results:
The second undo changes "Sentence" to "sSentence".

(After an (optional) third undo you have "sentence".)

Expected Results:
The second undo should change "Sentence" to "sentence". The third undo should
not be necessary.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
The issue does not occur when pressing Space or Enter instead of Tab.

The issue does not occur in Writer.

-- 
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/20201209/3b76964e/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list