accel problems: might be qt-copt, might be kdelibs

Alexander Neundorf alexander.neundorf at
Mon Oct 14 10:41:46 BST 2002

On Sunday 13 October 2002 16:59, Ellis Whitehead wrote:
> Hi.  No need for the keyPressEvent() stuff.  The problem was due to an
> oversight in the kaccel code: the keyPress event wasn't being stopped after
> being handled by KAccel.  The attached patch seems to fix it.  It's an ugly
> hack, but it seems to be working fine, and I'll increase the aesthetic
> value later. *grin*  It adds a new class, KAccelEventFilter, which adds
> itself to the kapp x11 event filter list.  KAccelEventFilter then kills the
> keyPress event if it's handled by KAccel.
> Seem ok to commit?

It doesn't compile with --enable-final, due to KeyPress, which is already 
undefined in kapplication.cpp

The problem in konqy still exists.
Pressing alt+left goes back and activates the menubar, which then can't be 
deactivated using Escape.


More information about the kde-core-devel mailing list