ActiveState Powered by ActiveState

ActiveState Community


Windows (or dialogs) always on foreground when they lose focus

Posted by dafi on 2008-05-11 04:07
OS: All / Any

I have a xul window open with window.openDialog(...), when I click on main editor window it correctly loses focus but remains on foreground making usability very low.

I noticed find and find in files standard dialogs don't suffer from this side effect, many other komodo non-modal dialog has my same behavior, but I'm unable to understand where komodo find dialog differs from others.

May you help me?

thanks,

davide

ToddW | Sun, 2008-05-11 09:39

Which OS are you running into this problem upon?

You might want to try using the following call instead:
ko.windowManager.openDialog()

Komodo uses this in some places (such as the find dialog) to try and make the dialog behave like a regular window instead.

On Linux I get the same behaviour in Firefox for the "About" dialog.

Cheers,
Todd

-->