Bug In GF/ST SelectionTool?

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

Bug In GF/ST SelectionTool?

Stew MacLean

Hi,

 

I’ve been adapting GF/ST and using the Organisational Tree as a model.

 

I’ve noticed that there appears to be a bug when the background is selected – it is getting stuck grabbing the mouse.

 

After a lot of poking around and infinite walkbacks, I think it the problem is that getting the rectangle from the user somehow doesn’t let go of the mouse tracking.

 

Consequently once you’ve clicked on the background, you have to select a tree node to get out of rectangle from user mode.

 

I was wondering if anyone has encountered this and has a fix for it?

 

Cheers,

 

Stewart

 

GFSelectionTool>> selectGroup

"Copyright (C) 1993-1995 Polymorphic Software, Inc.  All Rights Reserved"

 

    "Private"

    | aRectangle aCollection |

    interface noSelections.

    aRectangle := "0@0 corner: 1@1."  self rectangleFromUser.

    aCollection := interface graphicObjectsIn: (interface unscaledRectangle: aRectangle).

    interface shiftDown ifFalse: [interface selections: aCollection]

        ifTrue: [interface toggleSelections: aCollection]

 

 

To replicate:

 

Smalltalk.Polymorphic.GFOrgChartEditor open.

Select Digittalk from the list of organisations.

If using Cairo as per Henrik you’ll need to resize or overlay the window to display the tree (not sure why?).

Click on tree nodes, they turn red.

Then click on background, and the system goes into “Rectangle from user” mode.

Click on a node to exit mouse grabbing.

 


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