Connector tool: Cannot access connection point when another object is overlapping
#### Summary: When trying to connect to the center of an object which is overlapped by another object, no connection is made. Related issue: https://gitlab.com/inkscape/inbox/-/issues/1985 Possible related / causative? MR: https://gitlab.com/inkscape/inkscape/-/merge_requests/2148 #### Steps to reproduce: - open Inkscape - draw two rectangles - one of them overlaps the center of another object - try to connect the centers #### What happened? The center of the bottom object jumps away as soon as I try to reach it. The center is currently only available for the topmost object that the mouse is hovering above. This is unproblematic in most cases, as diagram elements rarely overlap. It's still very frustrating when they do. #### What should have happened? The nearest connection point should be highlighted. Code that does that is available in the snapping code (needs to be activated in preferences, something like 'snap to target closest to cursor'). #### Sample attachments: (expected result at the end) ![connector](/uploads/6180873f9ce8b674b5ef0aaf646b6591/connector.mp4) #### Version Info: ``` - Inkscape Version: 1.1-dev (0a34ce105a, 2020-11-17) - Operating System: LM 20 ```
issue