Bug 463906 - New note from clipboard doesn't 'paste' the content correctly
Summary: New note from clipboard doesn't 'paste' the content correctly
Status: REPORTED
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: 5.22.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 02:34 UTC by Dean
Modified: 2023-01-06 02:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean 2023-01-06 02:34:18 UTC
SUMMARY

When copying/cutting multi-line text content, and use the `New note from clipboard` tray icon menu, the content is not pasted properly (not retaining the new line), but when creating and pasting manually, it does correctly paste the content.

STEPS TO REPRODUCE
1. Create multi-line text content in other app, e.g. KWrite
2. Copy the whole content
3. Right-click the KNote tray icon -> Select New note from clipboard
4. New note created and appeared
5. The content is appeared in one line separated by a single space instead of a new line

OBSERVED RESULT

The content that being 'pasted' is appeared in a single line text separated by a single space where a new line should be

EXPECTED RESULT

The content should be 'pasted' properly as if it was pasted manually, retaining the multi-line form.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Kernel: 6.1.1-1-MANJARO
Graphics Platform: X11