Hi,
On Friday 29 January 2010 00:54:35 Krzysztof Kosiński wrote:
W dniu 29 stycznia 2010 00:41 użytkownik Martin Sucha
<martin.sucha-ml@...2313...> napisał:
I believe it is not good idea just to revert this change though, as it would not solve the problem for non rectangular clip/mask and if I understood it correctly it fixed some rendering issues.
Solving this correctly requires either: a) adding extra dependencies on livarot b) fixing path boolean operations in 2Geom
Aren't those libraries related to constructing paths? I don't know how hit testing works in inkscape, but I would like to ask: We can check that mouse pointer is inside a path (or any other selectable object) because we can now select objects, right? So it could be done by asking two questions: Is my mouse pointer inside masked object? Is my mouse pointer inside clip/mask? And select masked object only if both answers would be yes.
I would like to go for b) but it requires some time. Putting the rect kludge back in might be a good in the interim.
Another issue is: what to do if clip/mask completely hides an object - how could you select it then? (Maybe a toggle button or something to change whether you want to be able to select invisible(masked-out) objects?)
The behavior should be the same as for other invisible objects - don't select them. For invisible objects (and for many other things) we need an object browser.
OK
Best regards, Martin Sucha