New application windows sometimes not coming up in the foreground?
It happens pretty often that when you issue a command that calls a GUI application (or typically when you select an icon that calls this command or press a shortcut key that is assigned to it), the new window doesn't come to the foreground, but instead it just blinks in the taskbar. (It's called "requesting attention", I guess.) Then you have to press alt-tab once to bring the window to the foreground.
After a while this phenomenon goes away (new windows start really popping up), but sometimes comes back. (Right after starting the system it almost always is there.) I haven't been able to spot any deterministic logic behind this behavior.
I have experienced this with all three major GUI systems: KDE, Xfce and now with Gnome 2 more or less to the same extent, so I presume it must be something more fundamental in the underlying system (Xorg or whatever the name is). (Although in Xfce with the "focus stealing prevention" option it was as if the situation could have been improved, but maybe it was just an impression--it didn't make it go away entirely, that's for sure.)
Does anyone know a remedy to this? Or at least what might be causing this?
P.S.: Yes, I have googled several times, but it seems that this must disturb surprisingly few people, because I haven't really found anything.