Bug 470006 - Return-key may cause deletion of whole line in tabulator-indented text
Summary: Return-key may cause deletion of whole line in tabulator-indented text
Status: RESOLVED DUPLICATE of bug 468495
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 23.04.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-19 15:32 UTC by psi
Modified: 2023-05-19 17:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Recording of the bug. (23.11 KB, image/gif)
2023-05-19 15:32 UTC, psi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description psi 2023-05-19 15:32:46 UTC
Created attachment 159110 [details]
Recording of the bug.

SUMMARY
Hitting the return key may delete text of remaining line after the cursor if there is a tab character.

STEPS TO REPRODUCE
1. Create a new document with the following content: "\tABC\n\tDEF"
2. Move the cursor before at the beginning of the second line, right before the tab character.
3. Hit <Backspace> and then <Return>. 

OBSERVED RESULT
The text "DEF" vanished.

EXPECTED RESULT
<Return> should reverse the effect of <Backspace>. "DEF" should still be there.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
You can find a recording of the behavior in the attachments.
Comment 1 Paul Worrall 2023-05-19 17:50:11 UTC
*** This bug has been marked as a duplicate of bug 468495 ***