Version: unknown (using KDE 3.1.4) Installed from: Gentoo Compiler: gcc version 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice) OS: Linux (i686) release 2.4.20-gentoo-r6 Whilst typing in another window the desktop sometimes seems to share the focus with the active window. For example, typing a message in kopete seems to change the current desktop icon selection and hitting return to send the message launches the last selected icon. This may be a kopete bug, feel free to reassign, but it seems to me that the desktop shares keyboard focus when it shouldnt. Tom
That fix didn't make it into 3.1.4, tell the gentoo maintainer RCS file: /home/kde/kdebase/kdesktop/lockeng.cc,v retrieving revision 1.53.2.1 retrieving revision 1.53.2.2 diff -u -3 -p -r1.53.2.1 -r1.53.2.2 --- lockeng.cc 29 Nov 2002 15:09:11 -0000 1.53.2.1 +++ lockeng.cc 16 Sep 2003 13:57:40 -0000 1.53.2.2 @@ -277,6 +277,9 @@ bool SaverEngine::x11Event(XEvent *event { if (!event->xkey.send_event && mXAutoLock && mState == Waiting) mXAutoLock->keyPressed(); + // don't futher process key events that were received only because XAutoLock wants them + if (!event->xkey.send_event && mXAutoLock && !QWidget::find( event->xkey.window )) + return true; break; }
I'm also seeing this behavior with 3.1.4 Slackware build.
The patch fixes the problem.
*** Bug 65531 has been marked as a duplicate of this bug. ***
Bug closed. Kdesktop is no more mantained.