Summary: | the F12 key of vt420pc seems to not emit the esc-sequence any more | ||
---|---|---|---|
Product: | [Plasma] khotkeys | Reporter: | Ferdinand Gassauer <gassauer> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Ferdinand Gassauer
2004-11-12 18:17:19 UTC
the message was about accelerator keys, but I do not see how this could be related to this problem have changed from konsole to khotkeys see Waldos remark at http://lists.kde.org/?l=konsole-devel&m=110297454620486&w=2 cu ferdinand 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 ); |