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.
The second undo changes "Sentence" to "sSentence".
(After an (optional) third undo you have "sentence".)
The second undo should change "Sentence" to "sentence". The third undo should not be necessary.
User Profile Reset: Yes
OpenGL enabled: Yes
The issue does not occur when pressing Space or Enter instead of Tab.
The issue does not occur in Writer.
I can reproduce this issue on Windows 10 x86-64, Impress 18.104.22.168.
Thank you for reporting the bug. I can confirm that the bug is present in
Version: 22.214.171.124.alpha0+ (x64)
Build ID: ecb916667b633f8647790e040226b093760e6cfe
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US