Ted Bracht wrote:
> I've noticed an issue with losing the 'default' functionality of a button a
> while back, and been trying to find out when it occurs.
> [...]
> Has anyone seen this problem before?
Yes. I do get the problem with <enter> not activating the default button
on dialogs. But I haven't noticed the confusion in shortcuts that you
report.
For me the problem arises (with good regularity) after working the
development image for some number of hours. It takes quite a while, so
I've never gotten a good handle on just how long it is. I have some
intuition that it might be related to how many (complex?) windows have
been opened and closed, but nothing concrete.
It appears to be some sort of issue with running out of, or exceeding
some limit, related to Windows resources. (I'm on Win2K). Since after
the problem appears, I can save the image, exit, and restart the image
to get the <enter> key working again.
I put together the following snippet that will exhibit the problem, once
it has occurred. I was hoping that running it would initiate the
problem, but haven't had any luck with that.
count := 0.
[ count := count + 1.
Transcript space; show: count printString.
Shell show exit.
[View active postMessage: (Win32Constants at: 'WM_KEYDOWN')
wParam: 13 lParam: 16r1C0001.
View active postMessage: (Win32Constants at: 'WM_KEYUP') wParam:
13 lParam: 16r1C0001.
] postToInputQueue.
(Prompter prompt: 'test') notNil
] whileTrue.
I'd try to look into it further when it arises (because I know it will),
but I'm not too sure what to look for.
-Bill
-------------------------------------------
Bill Dargel
[hidden email]
Shoshana Technologies
100 West Joy Road, Ann Arbor, MI 48105 USA