[konsole] [Bug 504228] New: Pasting selection from a hung terminal causes Konsole to freeze.
Samuel Plavec
bugzilla_noreply at kde.org
Wed May 14 18:59:19 BST 2025
https://bugs.kde.org/show_bug.cgi?id=504228
Bug ID: 504228
Summary: Pasting selection from a hung terminal causes Konsole
to freeze.
Classification: Applications
Product: konsole
Version: 22.12.3
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: copy-paste
Assignee: konsole-devel at kde.org
Reporter: samuelplavec at gmail.com
Target Milestone: ---
SUMMARY
Pasting selection using middle-click from a hung terminal causes Konsole to
freeze; see the below steps for more details.
STEPS TO REPRODUCE
1. In the settings of the current profile, in the "Mouse" section, set the
setting "Middle-click pastes:" to "From selection".
2. Open two Konsoles. I will call them "Konsole #1" and "Konsole #2".
3. In Konsole #2, type "konsole" and press enter. This will open Konsole #3.
4. Select some text in Konsole #3.
5. In Konsole #2, press ^Z. This will suspend Konsole #3.
6. In Konsole #1, press the middle button.
OBSERVED RESULT
Konsole #1 now freezes until Konsole #3 is resumed or terminated.
EXPECTED RESULT
Konsole #1 should not freeze. A possible solution would be that after a
timeout, Konsole #1 should stop waiting for the frozen Konsole to send the
selected text, and possibly send a notification to the user that the paste was
unsuccessful.
SOFTWARE/OS VERSIONS
Linux: Debian 12 (Kernel: 6.1.0-34-amd64 (64-bit))
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: X11
ADDITIONAL INFORMATION
It may be non-evident the the middle-click caused the freeze of Konsole #1, so
the user may not know how to revive it, possibly losing their work.
This bug is quite unlikely to be trigerred, so its severity may need to be
lowered (to "Minor", even), but it nonetheless fits "Crash" the best.
In the analogous situation, xterm doesn't wait for the frozen terminal to send
to copied text, but instead pastes it as soon as the frozen terminal unfreezes,
without regard to any text that could have been typed in the meantime. This
causes the typed text to precede the pasted text, even though the latter should
have been first. This behavior seems to be related to the Debian bug 2297
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=2297), and is mentioned in
the very last non-spam reply.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list