Mantis - Croquet
|Viewing Issue Advanced Details|
|ID:||Category:||Severity:||Reproducibility:||Date Submitted:||Last Update:|
|1251||Any||major||always||05-23-05 19:55||05-24-05 00:13|
|ETA:||none||Fixed in Version:|
|Summary:||0001251: mouse event focus gets lost with Tweak environment|
Essentially, with Tweak active, mouse events only reach the Teapot if the cursor is directly over the croquet window, even if the focus is expected to stick to the window.
This causes some fairly significant user confusion because the state of the mouse buttons is frequently lost.
Compare the behaviour of a TeaTest and a TweakTeapotMorph when you:
1. mouse down to begin driving
2. while driving (mouse still down), drag the cursor out of the croquet window
3. while still outside the window, wiggle th cursor around
4. with mouse still out of window, finally release the mouse button
5. with no buttons pressed, mouse back in to the croquet window
In the TeaTest morph, step 3 results in wiggles to the avatar's driving,
in TweakTeapotMorph, it results in no change to avatar's driving.
In TeaTest, step 4 results in the avatar coming to a stop,
in TweakTeapotMorph, the avatar continues driving.
TeaTest behaves as expected,
TweakTeapotMorph behaves as tho the mouse button were still down, affecting driving.
Another example is dragging around an object in a TEditBox in Tweak.
This is probably a result of the new event handlers installed by #initializeTweakWorld:.
|Steps To Reproduce:|