[Psi-devel] 0.11 popup notifications steal focus

Iain MacDonnell dseven-psi at dseven.org
Thu May 11 15:45:52 PDT 2006



textshell-I1QKlO at neutronstar.dyndns.org wrote on 05/11/06 02:21 PM:
> On Thu, May 11, 2006 at 06:47:38PM +0200, Remko Troncon wrote:
>>> Not sure if this is a Qt4 problem or a Psi 0.11 one, but popup
>>> notifications now steal my input focus - it's really annoying if a
>>> contact connects or disconnects while I'm typing. This didn't happen
>>> with 0.10. (X11/Solaris)
>> This is a known problem. There's a patch fixing it, but i think misha
>> needs to review it.
>>
> 
> 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... 

> [Prevent FancyPopup from grabbing focus on Linux: Changed window type from Qt::Popup to Qt::ToolTip
> Martin H. <textshell-I1QKlO at neutronstar.dyndns.org>**20060501004020] {
> hunk ./src/widgets/fancypopup.cpp 322
> -POPUP_FLAGS = Qt::Popup | Qt::WindowStaysOnTopHint; // | Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint;
> +POPUP_FLAGS = Qt::ToolTip | Qt::WindowStaysOnTopHint; // | Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint;
> }

Cool - works for me too.

Thanks!

     ~Iain




More information about the psi-devel mailing list