[Drawkit] Selecting Objects on Layers Inside LayerGroups

Graham Cox graham.cox at bigpond.com
Tue Jul 14 17:45:20 PDT 2009


On 15/07/2009, at 2:15 AM, Allan Daly wrote:

> Any thoughts on this? I can make my quick demo app available if you  
> think that would help you understand what's going on. Alternatively  
> I could do some screen shots to help explain this. At it's root it  
> seems to me that DK is treating objects on Layers inside Groups  
> differently than Layers held directly by the Drawing. Is that  
> correct? What should be happening?
>


Hi Allan,

What you have here is what we call in the trade a "bug". ;-)

That's the bad news - the good is that I found exactly the same  
problem a while back (my 'real' app also has an outline view for  
layers) and fixed it, along with a couple of others having to do with  
layer grouping. FYI, the problem you're seeing here is that the hit  
testing isn't being propagated down through layer groups as it should  
be, so it fails when a layer is inside a deeper group than the root  
group.

Looks like I really need to get the latest build out to you guys. I  
think I'll do that this morning.

--Graham




More information about the Drawkit mailing list