You should be able to remove the listener from within your own code

var popupMan = qx.ui.popup.Manager.getInstance();
qx.bom.Element.addListener(window, "blur", popupMan.hideAll, popupMan);

HTH, Matt

Jean-Noël Rivasseau wrote:
> Hi,
> 
> In the popup manager there is a 'feature' which I strongly dislike:
> 
>     // Hide all popups on window blur
>     qx.bom.Element.addListener(window, "blur", this.hideAll, this);
> 
> This causes all popups to disappear when switching tabs on the browser, 
> applications on the system, etc. I prefer them to stay (I think this can 
> be quite confusing to the user) so I commented out the line, but could 
> this be made configurable?
> 
> This would allow me to continue to use Qx upstream version unpatched. Is 
> this doable?
> 
> Thanks
> 
> Jean-Noel
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to