Interacting with the scrollbar and other non-reset items in the left pane of the Bookmark Library incorrectly resets the scrollbar for the right pane to the beginning
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
People
(Reporter: inaba, Unassigned)
Details
Steps to reproduce:
In the bookmark Library window:
- Create enough folders and subfolders so that the left pane has a scrollbar
- Create enough bookmarks in a folder so that the right pane has a scrollbar
- Scroll down in the right pane so the right pane is at some distance from the top
- Interact with something in the left pane that doesn't change the selected folder (and thus shouldn't reset the right pane). This includes
** Clicking on the left pane scrollbar in any way
** Expanding/collapsing bookmark folders using the ">" triangle
** Clicking on the folder item in the left pane that is already selected
(This process also seems to work with History if you have enough present. It also must be a click action - mere mouse scroll bar usage does not trigger it.)
Actual results:
- The scroll amount of the right pane is reset to 0
Expected results:
- The scroll amount should not have reset
I believe this bug is caused by the right-side scroll bar reset process triggering on any click action whatsoever in the left pane (including the scrollbar). Adding a check for "did the selected folder change after this mouseclick" should fix it.
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•3 years ago
|
Apologies, I can't seem to edit my bug report - "mere mouse scroll bar usage" should be "mere mouse wheel scrolling".
Comment 4•3 years ago
|
||
I was able to reproduce this issue in all versions of Firefox except our latest Nightly build, Please note that in order to reproduce this issue I would scroll the Right Panel and would also click one of the created folders from the Right Panel and only then I would Click the scroll bar from the left panel.
Comment 5•3 years ago
|
||
This is very likely a dupe of bug 1774799, what happens is that clicking on the scrollbar or changing folder collapse state is moving focus from the right pane to the left one, and that caused some scroll reset code to run.
Updated•3 years ago
|
Description
•