Layers and Objects dialog: Clicking to unselect object in selection unselects all items below it
Summary:
This is a follow-up for this MR: inkscape!3854 (comment 818459815) still some issues can be noticed:
When a set of objects are selected and you click over one object to unselect it (while holding the shift key) it will unselect all the items below it on the list.
Steps to reproduce:
- open Inkscape
- create some objects (e.g 5 rectangles).
- Object > Layers and Objects dialog.
- select all the items in the list.
- Hold Shift key and click on the third object on the list.
What happened?
It unselect all the items below it, in the example above, it will unselect item 4 and item5
What should have happened?
It should unselect only the item that you clicked over.
Sample attachments:
Version info
Inkscape 1.2-dev (8e25dab, 2022-01-22)
GLib version: 2.64.6
GTK version: 3.24.20
glibmm version: 2.64.2
gtkmm version: 3.24.2
libxml2 version: 2.9.10
libxslt version: 1.1.34
Cairo version: 1.16.0
Pango version: 1.44.7
HarfBuzz version: 2.6.4
OS version: Ubuntu 20.04.3 LTS