[PyKDE] Bringing a window into the foreground not working anymore

Detlev Offenbach detlev at die-offenbachs.de
Sat May 15 11:42:00 BST 2004


Am Donnerstag, 13. Mai 2004 12:51 schrieb Joachim Werner:
> Hi!
>
> > does anybody have any idea why the following calls do not bring the
> > window into the foreground as it worked before upgrading to KDE 3.2
> > and Qt 3.3
> >
> >         self.ui.raiseW()
> >         self.ui.setActiveWindow()
> >
> > All that's happening now is, that the button in the window bar is
> > highlighted indicating, that something has happened to the window.
> > However, it is not brought to the front.
> >
> > I am using
> > 	KDE 3.2.2
> > 	Qt 3.3.2
> > 	PyQt snapshot-20040504
>
> I've asked our KDE guys about this. I think the answer is that this is
> a feature, not a bug ...
>
> There is a new option in the KDE Control Center to switch that new
> feature off:
>
> - Go to Desktop/Window Behavior and click the tab "Advanced".
> - The last option is called "Focus stealing prevention level". If
>    you set it to "None" the old behavior should come back.
>
> This new feature is quite useful in many cases, e.g. if you are
> waiting for an authenticated web page to load in the background and
> writing a text. Then you don't want to lose focus in the text editor
> as soon as the authentication box comes up. But in many other cases
> this is a bit annoying ...
>
> Cheers
>
> Joachim

Thanks, I'll try it.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list