Bug 490723

Summary: Letter gets deleted and style changes, while trying to delete whiteline
Product: [Applications] Marknote Reporter: Artem <stasyukartem2>
Component: GeneralAssignee: mbruchert <mbb>
Status: REPORTED ---    
Severity: normal CC: carl, mbb
Priority: NOR    
Version First Reported In: 1.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Demonstration of the issue

Description Artem 2024-07-23 18:20:59 UTC
Created attachment 171935 [details]
Demonstration of the issue

SUMMARY
Instead of deleting a line, the last letter on the line above gets deleted. This gives issues with styling of the notes.

STEPS TO REPRODUCE
1. Make for example a Title
2. Write a basic text
3. Leave a whiteline between the title and basic text\
4. Choose the whiteline
5. Press "Backspace"

OBSERVED RESULT
The last letter of the line above gets deleted, because of what the style of the basic text changes to title

EXPECTED RESULT
Only the whiteline must be removed, the text must not change style

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch Linux
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0 
Qt Version: 6.7.2

ADDITIONAL INFORMATION