[regression] sidepane scrolls even if not necessary
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
High
|
Unassigned |
Bug Description
My sidepane index has more entries than the Gtk.Treeview can show. Now with Zim rev447 when I click on an entry, the Treeview is *always* scrolled so that the selected entry is about 10% above the bottom of the sidepane. This is annoying e.g. when jumping between 2 pages which are little more than 10% apart in the index, since the lower of them scrolls out of sight whenever the upper is clicked.
I checked rev437 which does not show this misbehavior. I hunted down this bug to the call of self.scroll_
As a workaround I changed the parameter "use_align" to False. Now my sidepane is scrolled as seldom as possible, which is nice IMHO! I understand what "use_align=True, row_align=0.9" should do, and I consider the current behavior as a bug of Gtk.TreeView.
This bug can be quite an inconvenience at times.