Bug 499492 - unexpected behavior when select / copy a long text which is displayed in multi-line
Summary: unexpected behavior when select / copy a long text which is displayed in mult...
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: master
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-04 08:01 UTC by wangsitan
Modified: 2025-02-04 08:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wangsitan 2025-02-04 08:01:27 UTC
SUMMARY

There is a long text without newline character inside of it. It's shown in multi-line due to the width of the Konsole window. When I triple-click on the text, only the whole displayed line (not the complete text) is selected. When I drag mouse cursor to select the whole "multi-line" text and copy it, there are newline characters at the end of each displayed line in the clipboard.


STEPS TO REPRODUCE

1. Output a long text (longer then thw width of the Konsole window), by such as echo "xxxxxxxxx..." .
2. Triple-click on the text.
3. Drag mouse cursor to select the whole text and copy it, then paste to a text editor.


OBSERVED RESULT

1. Triple-click select the displayed line only.
2. The copied / pasted text is not one-line text.


EXPECTED RESULT

1. Triple-click should select the whole text (till a real newline character).
2. Newline characters should not be added at the end of each displayed line. Or there should be options to configure these behaviors.


SOFTWARE/OS VERSIONS

Windows: Windows 10 (20H2 19042.508)
Konsole: 25.03.70 (konsole-master-3822-windows-cl-msvc2022-x86_64.7z)