Bug 93178 - the F12 key of vt420pc seems to not emit the esc-sequence any more
Summary: the F12 key of vt420pc seems to not emit the esc-sequence any more
Status: RESOLVED FIXED
Alias: None
Product: khotkeys
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 18:17 UTC by Ferdinand Gassauer
Modified: 2005-01-07 18:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2004-11-12 18:17:19 UTC
Version:           1.4 (using KDE 3.3.89 (CVS >= 20041104), compiled sources)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.3-smp

Hi!
this worked before

I think I got a message that soemthing has been rewritten, but I can not reproduce this message.

all other keys seem to emitt the defined ESC-sequences
cu
ferdinand
Comment 1 Ferdinand Gassauer 2004-11-12 18:21:07 UTC
the message was about accelerator keys, but I do not see how this could be related to this problem
Comment 2 Ferdinand Gassauer 2004-12-14 22:07:21 UTC
have changed from  konsole to khotkeys
see Waldos remark at
http://lists.kde.org/?l=konsole-devel&m=110297454620486&w=2
cu
ferdinand
Comment 3 Waldo Bastian 2005-01-07 18:02:29 UTC
CVS commit by waba: 

Don't eat F12 unless configured to do so.
BUG: 93178


  M +4 -4      kcheckaccelerators.cpp   1.11


--- kdelibs/kdecore/kcheckaccelerators.cpp  #1.10:1.11
@@ -78,9 +78,9 @@
 
 KCheckAccelerators::KCheckAccelerators( QObject* parent )
-    : QObject( parent, "kapp_accel_filter" ), block( false ), drklash(0)
+    : QObject( parent, "kapp_accel_filter" ), key(0), block( false ), drklash(0)
 {
     parent->installEventFilter( this );
     KConfigGroupSaver saver( KGlobal::config(), "Development" );
-    QString sKey = KGlobal::config()->readEntry( "CheckAccelerators", "F12" ).stripWhiteSpace();
+    QString sKey = KGlobal::config()->readEntry( "CheckAccelerators" ).stripWhiteSpace();
     if( !sKey.isEmpty() ) {
       KShortcut cuts( sKey );
@@ -97,5 +97,5 @@ bool KCheckAccelerators::eventFilter( QO
         return false;
     if ( e->type() == QEvent::Accel ) {
-        if ( static_cast<QKeyEvent *>(e)->key() == key ) {
+        if ( key && (static_cast<QKeyEvent *>(e)->key() == key) ) {
             block = true;
             checkAccelerators( false );