Bug 503578 - Allow Ctrl+C to send SIGINT OR Copy text
Summary: Allow Ctrl+C to send SIGINT OR Copy text
Status: RESOLVED DUPLICATE of bug 472904
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (other bugs)
Version First Reported In: 25.04.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-30 15:08 UTC by greenscarf005
Modified: 2025-05-14 12:06 UTC (History)
1 user (show)

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 greenscarf005 2025-04-30 15:08:09 UTC
SUMMARY

- Copying text and sending SIGINT is perhaps the most-used shortcut key in terminal.
- It was possible to copy text and send SIGINT with same Ctrl+C key till 24.x. 
- Back then, konsole interpreted Ctrl+C without text selection as SIGINT, and Ctrl+C with text selection as copy.
- This made using Ctrl+C very ergonomic as you never want to copy text without selecting any text.
- starting from 25.x, this is no longer possible.

STEPS TO REPRODUCE
1. set Ctrl+C as copy in shortcuts.
2. press Ctrl+C without selecting any text.

OBSERVED RESULT

SIGINT isn't not being sent.

EXPECTED RESULT

konsole should send SIGINT on Ctrl+C when no text is being selected.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.2-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor 1: NVIDIA GeForce GTX 1660 SUPER
Graphics Processor 2: AMD Radeon Graphics

ADDITIONAL INFORMATION

I'm willing to open a merge request.
Comment 1 John Kizer 2025-04-30 19:23:21 UTC
Merging this in with the existing feature request for this topic, thanks!

*** This bug has been marked as a duplicate of bug 472904 ***
Comment 2 greenscarf005 2025-05-14 12:06:05 UTC
commenting here as here feels more relevant:

> starting from 25.x, this is no longer possible.

https://invent.kde.org/utilities/konsole/-/merge_requests/1087 seems to have solved this issue.
built konsole locally and confirmed that the issue is resolved.