Bug 487177

Summary: Copy / Paste for a list item always includes a line break
Product: [Applications] Marknote Reporter: hbr <nepnep>
Component: GeneralAssignee: mbruchert <mbb>
Status: CONFIRMED ---    
Severity: normal CC: carl, mbb
Priority: NOR    
Version First Reported In: 1.2.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hbr 2024-05-18 09:40:04 UTC
SUMMARY
Copy / Paste for a list item always includes a line break

STEPS TO REPRODUCE
1. Create a note, add some text and format it as a list
2. Select a single line from the list and copy it
3. Paste it into another texte editor, a terminal or another note

OBSERVED RESULT
The pasted text includes a line break at the beginning. This makes pasting commands into a terminal especially cumbersome. So far this seems to be limited to text formatted as a list.

EXPECTED RESULT
The text gets pasted without a leading line break

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.9.1-zen1-1-zen (64-bit)
Graphics Platform: Wayland