You are not logged in.


Wednesday, January 31st 2007, 11:08pm

switching desktops and screen focus?

i have two separate X screens, one is a crt and the second is tv-out. the problem that i have is that sporadically, when i switch virtual desktops, the focus would leave my primary screen (the crt) and go to the tv-out screen. i haven't been able to find any pattern, it appears that the switches are random, it happens perhaps one of every 5-10 desktop switches. also, when i play video with mplayer, on the crt screen, when mplayer terminates (either due to the end of the video, or if i quit it manually) the focus would jump to the tv-out screen almost every time. this behavior did not occur with XFCE, which i used before i switched to kde, so i'm pretty sure it is kde-related (kwin?). it is extremely annoying, as i usually switch virtual desktops with the keyboard, but when the crt loses focus, i have to reach for the mouse and click somewhere on the crt screen in order to bring back focus to it. the mouse still remains in the crt screen when the focus is lost, it is not moved to the tv-out screen. i tried asking google about this and searching this forum, but either there is nothing about such a problem, or i have trouble defining it concisely enough to get search results.
can anybody give me some pointers?


Saturday, February 3rd 2007, 3:29pm

i forgot to mention, i'm running kde 3.5.5, xorg 7.1, on a gentoo box. the video card is geforce 6200, with the proprietary driver from nvidia, 1.0.8776.

This post has been edited 1 times, last edit by "lanzz" (Feb 3rd 2007, 3:30pm)



Posts: 1

Location: Praha

  • Send private message


Sunday, January 13th 2008, 5:42pm

the same problem

Hi, I'm having the same problem. Aparently randomly loosing focus when changing desktops by keyboard. It also often occurs when a window closes, not just with mplayer. Very annoying!

I'm sure it's a KDE related problem, as I've been using other window managers before without this problem.

This bug is also discussed at

[I'm running KDE 3.5.8 on Debian, x86_64, Xorg 1.3.0, GeForce 7300LE, NVIDIA-Linux-x86_64-169.07 proprietary drivers.]