8 Feb
2010
8 Feb
'10
8:18 p.m.
Hi everyone,
I spent a lot of time this weekend trying to wrap my head around how an object gets selected to no avail. My goal is to fix this bug: https://bugs.launchpad.net/inkscape/+bug/365458
Currently selection of clipped objects is horribly broken - see http://launchpadlibrarian.net/31755891/clip-selection-bug.ogv
Anyway, can someone explain: 1. What handles click events on the canvas 2. Where is the logic that decides what gets selected
From what I can tell, display/sp-canvas.cpp:1505 sp_canvas_button
(GtkWidget *widget, GdkEventButton *event) handles click events. Within this function I don't see any calls to anything that resembles "is this point within this object".
Help! Thanks! - Alex