[Tkinter-discuss] Modal dialog behavior

Michael Lange klappnase at web.de
Tue Mar 22 21:22:31 CET 2005

Hello list,

I encoutered a strange behavior of modal dialog windows on linux, which depends on
the window manager I use.
I use a message box to notify the user that a process that takes a while has finished.
Now when I switch to another workspace while this process is running, the dialog box
should ideally pop up on the current workspace; this worked as expected with tk-8.3.3,
now with tk-8.4.5 I get the following:

XFCE: it still works as expected

GNOME: the dialog pops up for a split second on the current workspace and then disppears,
when I switch back to the main window's workspace the dialog is there.

KDE: dito

IceWM: here it is worst; the dialog pops up for a split second and then disappears again,
but as soon as I try to switch to the main window's workspace IceWM "automagically" switches
back to the workspace where the dialog *should* be. There's no way to get back to the application,
except of opening the window list and move the main window to the current workspace
(that's most annoying, because Icewm is usually my preferred wm :-( 
I don't think that it is a IceWm bug, because it worked correctly with tk-8.3.3)

Has anyone else encountered similar problems, and is there a way to fix it?

Thanks in advance


More information about the Tkinter-discuss mailing list