Version: 1.2.1 (using KDE 3.1.0) Installed from: Mandrake Linux Cooker i586 - Cooker Compiler: gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) OS: Linux (i686) release 2.4.21-0.13mdkenterprise I have configured Ctrl+Insert as a shortcut to copy in Settings->Configure Shortcuts, however when I select some text and press Ctrl+Insert it is not copied to the clipboard, and the Warning bell is displayed. This is a default Mandrake 9.1 install with no modifications.
I can confirm this bug, and also know its cause. In fact, you cannot use any Ctrl+something key sequence as a shortcut for any sort of action ( app-local or global ) in konsole, because of the following piece of code in TEWidget.cpp: // Override any Ctrl+<key> accelerator when pressed with the keyboard // focus in TEWidget, so that the key will be passed to the terminal instead. bool TEWidget::event( QEvent *e ) { if ( e->type() == QEvent::AccelOverride ) { QKeyEvent *ke = static_cast<QKeyEvent *>( e ); KKey key( ke ); int keyCodeQt = key.keyCodeQt(); if ( ke->state() == Qt::ControlButton ) { ke->accept(); return true; } This causes any Ctrl+something keypresses to be overridden, and not tested for containing a shortcut. This is confusing for users, as they do not know that this is the case, and I am working on another bug report on the Debian BTS about the same thing. It was also about Ctrl+Insert, this seems to be a common key sequence among our users. I don't know how this should be solved. I know the override is there for a reason. Perhaps Ctrl+Insert should not be overridden as a special case. I can provide you with a patch that does that if you want it. cheers domi
Note: this bug was also reported as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=203709 cheers domi
See http://bugs.kde.org/show_bug.cgi?id=48103 and http://bugs.kde.org/show_bug.cgi?id=41601 Those two bugreports deal with konsole embedded as part though. I don't think it is strictly necessary to block ctrl-key shortcuts in a stand-alone konsole as well. That should then be combined with a dialog as in http://bugs.kde.org/show_bug.cgi?id=74396 that explains that using a control-key shortcut may have unintended consequences.
*** Bug has been marked as fixed ***.
This is behaviour still exists in 3.2.3.
Fixed for KDE 3.3, has/will not be fixed KDE 3.2.x