[Drawkit] Selection behavior with groups

Graham Cox graham.cox at bigpond.com
Fri Aug 8 23:43:39 PDT 2008


Unfortunately, the code you sent is buggy in a couple of ways. First  
it ignores the state of the -dragsAllObjectsInSelection flag, which  
isn't a big problem. However I also found that objects suddenly jump  
around to random locations when dragged or more commonly have the  
mouse offset set to zero so they suddenly jump into alignment with the  
mouse co-ordinates. I couldn't immediately put my finger on the  
problem, so I've backed out the change for now until I have more time.

You might want to check that things are working properly for you - for  
example try dragging an object from somewhere near its edge and see if  
it doesn't jump on top of the mouse or shoot off to some random  
position.

cheers, Graham



On 9 Aug 2008, at 10:35 am, Graham Cox wrote:

> This seems like a good solution, I'll add it to the main code.  
> Subclassing just to get slightly modified behaviour is a bit  
> tedious, so this is good for me ;-)



More information about the Drawkit mailing list