Toggling the details pane does not preserve the scrolling position of the list
Pamac --version
Pamac 10.3.0-6
Variant in use
GUI
Distribution
Manjaro
Desktop environment
GNOME
What's not working
For example, I am viewing the Photos & Video category. Without the details pane, 3 items per row are displayed. I scroll down so that the 15th row becomes the top visible line. The first item on that row is "Gcolor2" That is, it is the 3 x 14+1 = 43rd item in the list. Now, I click the details pane button. The first visible becomes "DisplayCAL" and Gcolor2 is no longer even visible in the list. DisplayCal is the 29th item in the list, So, the problem is that the list restores the line number "15th", but the presence of the details pane made the list display 2 items per row. So 2 x 14+1 = 29th item.
Instead of restoring the row number, it should be the first item's index. I mean, in this case, the first visible item was the 43rd item. Now that the list displays 2 items per row, ceiling of 43 / 2 = 22, it should be displaying the 22th row.
How to reproduce?
- Scroll down a large list.
- Click the details pane button on the top-right.