Scrolling position is not preserved when navigating back and forward
Affected version
- Nightly flatpak: Yes, and worse
- Other: 43.0/43.1 on Fedora 37
Steps to reproduce
- In "Grid View", open a folder (A) with more than one page of items.
- Scroll down to a folder (B) that has more than one page of items.
- Double click to open it, and then scroll down.
- Click the "Back" button in the toolbar go to folder A.
- Click the "Forward" button in the toolbar go to folder B.
- Switch to "List View" and repeat from 1.
- Alternatively in step 4, click folder A in the address bar instead of using the "Back" button.
Current behavior
- After step 4, the scrolling position inside folder A is not the same as before, and now the selected folder B is always at the bottom of the view (version 43) or even out of view (nightly).
- After step 5, the scrolling position inside folder B is not the same as before.
- For step 7, the selected folder B is always at the bottom of the view.
- The behavior is similar for both "Grid View" and "List View".
- Screen recording with nightly version attached.
Expected behavior
- After step 4, the scrolling position in folder A should be the same as at the end of step 2.
- After step 5, the scrolling position in folder B should be the same as at the end of step 3.
- For step 7, the scrolling position in folder A should be the same as at the end of step 2.
- Use case: I want to open files that are in a few consecutive subfolders Currently after entering and leaving each subfolder I have to scroll again to find the next one, which is undesirable.
Additional information
- Navigating with the "Back" and "Forward" button does preserve the scrolling position in version 42. So this is a regression.
screen_recording