[vw 7.9] Hover help window eats key press

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[vw 7.9] Hover help window eats key press

Terry Raymond

If a hover help window is open over an input field and the user hit a key, the

input field will not receive the key event.

 

Changing InputState>>keyboardFocusWindowOr: to the following will fix the problem.

 

keyboardFocusWindowOr: aWindow

                aWindow class == EmergencyWindow ifTrue: [^aWindow].

                ^self focusWindowOr: aWindow

 

To test:

1.       Open a window with an input field that also has a tooltip specified.

2.       Set focus to the input field.

3.       Move mouse away from field and then back so hover help window appears.

4.       While the hover help window is open, hit a key.

5.       Notice that the input field did not register the key press.

 

Terry

 

===========================================================

Terry Raymond

Crafted Smalltalk

80 Lazywood Ln.

Tiverton, RI  02878

(401) 624-4517      [hidden email]

===========================================================

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc