Skip to content

Scrollbar trails increasingly behind mouse pointer position while scrolling Library Manager #1381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
per1234 opened this issue Sep 1, 2022 · 0 comments · Fixed by #1385
Closed
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Sep 1, 2022

Describe the problem

The Arduino IDE Library Manager view displays a list of libraries matching the user's search query. Due to the large total number of libraries, the list will often be much longer than can fit in the vertical dimensions of the view, in which case the user may scroll through the list of results using the scrollbar on the right side of the view.

🐛 The scrollbar trails increasingly behind mouse pointer position while scrolling.

To reproduce

  1. Open the "Library Manager" view.
  2. Type servo in the "Filter your search..." field.
    This is only an arbitrary example of a common search query that might return enough results to require scrolling.
  3. Click and drag the scrollbar downwards.

🐛 The position of the scrollbar trails increasingly behind the mouse pointer position. If the Arduino IDE window is near the bottom of the screen, it may even become necessary to stop and "grab" the bar once more in order to move it all the way to the bottom position.

image

Expected behavior

Scrollbar position always matches mouse pointer position.

Arduino IDE version

2.0.0-rc9.2.snapshot-0d545be

Operating system

Windows, Linux

Operating system version

Windows 10, Ubuntu 20.04

Additional context

The issue was introduced in #1361


Related: #1380

@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Sep 1, 2022
kittaakos pushed a commit that referenced this issue Sep 2, 2022
kittaakos pushed a commit that referenced this issue Sep 3, 2022
kittaakos pushed a commit that referenced this issue Sep 3, 2022
 - Fixed scrollbar does not reach end of list widget.
 - Estimated row heights to provide better scroll UX.
 - Last item's `<select>` must be visible.

Closes #1380
Closes #1381
Closes #1387

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Sep 3, 2022
 - Fixed scrollbar does not reach end of list widget.
 - Estimated row heights to provide better scroll UX.
 - Last item's `<select>` must be visible.

Closes #1380
Closes #1381
Closes #1387

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Sep 4, 2022
 - Fixed scrollbar does not reach end of list widget.
 - Estimated row heights to provide better scroll UX.
 - Last item's `<select>` must be visible.

Closes #1380
Closes #1381
Closes #1387

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Sep 5, 2022
 - Fixed scrollbar does not reach end of list widget.
 - Estimated row heights to provide better scroll UX.
 - Last item's `<select>` must be visible.

Closes #1380
Closes #1381
Closes #1387

Signed-off-by: Akos Kitta <[email protected]>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants