[konsole] [Bug 499492] New: unexpected behavior when select / copy a long text which is displayed in multi-line

wangsitan bugzilla_noreply at kde.org
Tue Feb 4 08:01:27 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=499492

            Bug ID: 499492
           Summary: unexpected behavior when select / copy a long text
                    which is displayed in multi-line
    Classification: Applications
           Product: konsole
           Version: master
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: wangsitan at aliyun.com
  Target Milestone: ---

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list