On Sat, Apr 10, 2010 at 8:57 PM, Guillermo Espertino <gespertino@...400...> wrote:
Please, don't forget bug #365458.
I guess it's somewhat related and it's extremely annoying. 0.47 was released with that important regression, it would be great if it's reverted in 0.48.

It's not related.  Speaking of the clip selection bug, it's currently assigned to me but I just unassigned myself because I don't have time to fix this.  The proposed renderer changes might clear this up.

 - Alex

> The function that selects the object under the cursor is at
> event-context.cpp:1079. Through some indirection it calls the
> find_item_at_point at document.cpp:1197 and this in turn calls
> nr_arena_item_invoke_pick at display/nr-arena-item.cpp:635 which calls
> a GObject virtual function; for shapes it executes nr_arena_shape_pick
> at display/nr-arena-shape.cpp:1078.

> You need to insert the fix into find_item_at_point by also testing the
> mask and clip, either using another call to nr_arena_shape_pick or
> some other method. Note that while masks can be tested in the usual
> way, for clippaths you need to treat them as filled and unstroked
> regardless of their actual style. This requires adding an extra
> parameter to the virtual functions.

> Regards, Krzysztof