[vtk-developers] Python widgets grab focus on enter

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Sat Oct 11 00:07:00 EDT 2003


Hi David and Charl,

Thanks for the feedback.

>>>>> "DG" == David Gobbi <dgobbi at imaging.robarts.ca> writes:

    DG> The 'auto-raise' problem is only an issue on Windows and UNIX

Yes, and the problem was recently demonstrated to me by a friend using
Windows.  It was quite painful to watch dialogs disappearing and in
some cases impossible to get to without using the either the taskbar
(or whatever its called) and activating the dialog from there or
changing the size of the window.

    DG> window managers that have auto-raise turned on.  Otherwise the
    DG> focus-under-mouse behaviour is what people expect (or maybe
    DG> only people like me who cut our teeth on twm and fvwm, before
    DG> the gnome and KDE people decided that X must behave like
    DG> Windows).

Add me to that list.  I haven't yet found a lighter and more
configurable packed window manager than fvwm2.  

    DG> My advice is, switch the default behaviour to click-to-focus,
    DG> but leave the focus-under-mouse as an option.

Yes, that sounds like the best way to do it.  Is an option called
"focus_on_enter=0" to the constructor acceptable to everyone?  If the
value is 1 then focus-follows-mouse if its 0 (default) it will use
click-to-focus?

cheers,
prabhu




More information about the vtk-developers mailing list