[vtk-developers] Python widgets grab focus on enter

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Oct 10 15:28:27 EDT 2003


Hi,

Almost all the Python-VTK rendering widgets grab the focus when the
mouse enters the window.  This appears to be incorrect behaviour for
an application.  Almost no application I've seen grabs the pointer in
this fashion.  Usually you need to click on a window to give it
explicit focus.  The current behavior is also quite irritating when
you have a dialog window open and happen to move the mouse over the
renderwindow.  If you have auto-raise enabled on your window manager
the dialog will mysteriously disappear below the application window.

I would like to change this behavior so that the window focus is
grabbed only if a button is clicked on the widget.

Please do let me know if you have objections to this change.

cheers,
prabhu



More information about the vtk-developers mailing list