Layer List select shifts list

Summary:

When the Layer and Object list has several objects the list will shift/scroll to the visible center. once selecting gets to the center the list will just select and deselect the center object over and over again unless the mouse is moved off the object in the center of the list. also if you select one object at the top or bottom of the list then select a another object at the bottom of the list it will shift the list so the selected object is in the middle of the list.

Steps to reproduce:

  • open Inkscape
  • create several objects that over fill the layer and object list
  • start to select objects in the list from the bottom or the top

What happened?

the list will shift up or down depending which direction you start to select new objects.

What should have happened?

the list should stay "static" until manually scrolled by the user. at least the next object should be selected instead of deselected.

I apologize if I didn't explain this very well or I am doubling up on an already submitted issue.. hopefully the gif will show it better.

Sample attachments:

Layer_and_Objects Layer_and_Objects_1

Version info

Inkscape 1.3-dev (602e4f11, 2022-09-30)

    GLib version:     2.74.0
    GTK version:      3.24.34
    glibmm version:   2.66.4
    gtkmm version:    3.24.7
    libxml2 version:  2.9.14
    libxslt version:  1.1.35
    Cairo version:    1.17.6
    Pango version:    1.50.10
    HarfBuzz version: 5.2.0

    OS version:       Windows 10 21H2

Edited by Adam Belis