[Psi-devel] 0.11 popup notifications steal focus

textshell-I1QKlO@neutronstar.dyndns.org textshell-I1QKlO at neutronstar.dyndns.org
Thu May 11 16:07:28 PDT 2006


On Fri, May 12, 2006 at 01:56:30AM +0300, Mircea Bardac wrote:
> On Friday 12 May 2006 00:21, textshell-I1QKlO at neutronstar.dyndns.org wrote:
> > If you like to test a beta version of the patch. It works for me but i
> > did test it only at my linux PC...
> > see darcs patch attached...
> 
> > -POPUP_FLAGS = Qt::Popup | Qt::WindowStaysOnTopHint; // | 
> > Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint;
> > +POPUP_FLAGS = Qt::ToolTip | Qt::WindowStaysOnTopHint; // |
> > Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint;
> 
> Reading the attachment I couldn't help asking myself:
> Since when a Popup window steals focus? If it steals focus, why is it a popup 
> window and not a simple window? Or... popup means steal focus? AFAIR, this is 
> not.

The documentation says, Popup is at least application modal per
definition... and that's definivly not what we want here... Popup seems to
be designed for popup menus and things like that...

ToolTip seems to be a much better fit for psi's fancypopups, both should be
nonintrusiv.

And it works for me... But it needs testing on OS X and Windows i think...

> 
> Maybe this is a Qt4 bug?
> 

I don't know.


 - Martin H.


More information about the psi-devel mailing list