|
|
Auth |
2002-07-24 : For reasons unknown, sometimes some of the Sailfish GUI windows will freeze. We
suspect that some interaction with VNC might be involved. What happens is that the windows stop
responding to mouse clicks and disappear from the task list (they can't be alt-tabbed to). However,
if you can get focus to the window through some other means (throught Java) you can still type
in the windows. Further
investigation with Spy++ showed that the windows have their WS_DISABLED bit turned
on, which is why the OS is ignoring them. Java doesn't seem to think the windows should be
disabled, and we have no idea why it's happening.
So, I wrote a little utility that looks for windows in this odd state (visible but disabled) and re-enables them. This doesn't seem to fix the problem in our app, as the windows tend to refreeze, but at least our users can save their work and restart.
2002-12-03 : Wouldn't you know they changed the window class in JDK 1.4! Fixed it to work with most recent JDKs.
Usage:
unfreezejwin(takes no command line parameters)
You can get the source via anonymous CVS at
cvs -d :pserver:anon@www.latenighthacking.com:/code-cvsroot co 2002/unfreezejwin
| Louis K. Thomas <louisth@hotmail.com> | Auth | 2003-01-10 (2152 days ago) |