Comment 10 for bug 515997

Revision history for this message
EmanueleSabetta (fmuaddib) wrote : Re: Problems selecting objects

PROBLEM: I find the CLICK+ALT option to cycle between the z-ordered objects insufficient. Often there are many objects stacked one over another with the same size, with transparency and other filters applied, and just looking at the outline is not enough to distinguish them.

SOLUTION: Add a new key combination (i.e. CLICK+ALT+Z) that allow to select the objects from a dialog box with the list of all objects found stacked under the mouse cursor. This dialog box can be called "LOCAL Z-ORDERED OBJECT LIST" or "LOCAL OBJECTS Z HIERARCHY", and it should display as a popup dialog near the point where the user clicked. When the user move the mouse on the list entries, while hovering on each object name or id it should hilight the name and at the same time displaying only the hilighted object (or group) on the Inkscape drawing, hiding all other objects (or groups) of the svg tree. This way it is possible to see what object (or group) we are selecting instead of blindly selecting an invisible shape. Then just clicking on the name on the z ordered list of stacked objects would select the object and close the dialog box. If the SHIFT or CTRL modifiers are used, the behaviour it is exactly the same. The only difference is:

- With the SHIFT modifier: all already selected objects are hidden like the others, but they are tagged in the list with a small icon indicating that they have been already selected. This way the user knows that if he click again on those objects names they will be deselected. Also when SHIFT is pressed the dialog box is not closed when the user click on an entry, but multiple selection is allowed inside the list and to close the dialog box the user should press an explicit "Close" or "X" button on the dialog box.

- With the CTRL modifier: instead of listing the groups as single entries, the dialog box lists explicitly all objects inside the groups. When the mouse goes over the listed name of an object inside a group, only the hilighted object is shown and all the other objects of the same group are hidden from the Inkscape drawing.