[BUG] MorphicWINDOW DISPLACEMENT
arning at charm.net
Sun Sep 10 21:21:31 UTC 2000
On Sun, 10 Sep 2000 16:33:29 -0400 Raymond Asselin <raymondasselin at sympatico.ca> wrote:
>The problem...you click inside the upper PlugableListMorph in the left UIWindow and if you move your mouse
>and clic somewhere else in the same UIWindow you obtain the displacement.jpg
>You can do the same with the right UIWindow except that is harder to do. You must move the mouse over
>while clicking a lot and somehow, sometime a UIWindowMorph will change of place to pick the last place ou
It sounds as if you are experiencing some sort of drag-and-drop behavior. Do you get any visual indication that the hand is picking up something when this happens?
While the precise structure of the pictures you sent is not totally clear (is that 3 UIWindows on the left and 1 on the right?), you might try an experiment to verify this.
1. Get the windows arranged in the "normal" positions.
2. In HandMorph>>dropMorphsEvent:, just after the line
morphToDrop justDroppedInto: newOwner event: evt.
and accept it.
3. Try to generate the error. If you get to the halt, then we may able to tell what was being dropped into what. This will help us understand how it came about and how to fix it.
Note: after making the change in step 2, you won't want to save your image and it will be difficult to pick up anything without getting another halt.
More information about the Squeak-dev