Skip to content

Install interface of last item in Library/Boards Manager may not be accessible #1387

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
3 tasks done
per1234 opened this issue Sep 3, 2022 · 0 comments · Fixed by #1385
Closed
3 tasks done

Install interface of last item in Library/Boards Manager may not be accessible #1387

per1234 opened this issue Sep 3, 2022 · 0 comments · Fixed by #1385
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 3, 2022

Describe the problem

The IDE's Library Manager and Boards Manager list the libraries and boards platforms that are available.

Since there are >5000 libraries, and even the primary package index alone contains a significant number of boards platforms, the length of the list will often exceed the vertical display area of the view, meaning the user will scroll down to reach items lower on the list.

When the mouse pointer is hovered over one of the list items, a version menu and "INSTALL" button are added at the bottom of the item.

🐛 The interface elements are not accessible for the last item on the list when the list height is equal to or greater than the vertical dimensions of the view.

To reproduce

  1. Open the Library Manager view in the Arduino IDE.
  2. Type servo in the "Filter your search..." field.
    This is only an arbitrary example of a list that exceeds the height of the view.
  3. Scroll to the bottom of the list.
  4. Hover the mouse pointer over the last item on the list
    🐛 The version menu and "INSTALL" button are not accessible.
  5. Use the mouse wheel to scroll the list down farther.
    🐛 The list does not scroll down farther.

image

Expected behavior

The installation interface is accessible on all Library Manager and Boards Manager items.

Arduino IDE version

2.0.0-rc9.2.snapshot-20cc34c

Operating system

Windows, Linux

Operating system version

Windows 10, Ubuntu 20.04

Additional context

I bisected the introduction to 5cb9166 (does not occur with the build for 7828cc1)


Even prior to the regression, the scrollbar didn't scroll the list down far enough for the interface to be visible on hover. However, previously you could use the mouse wheel to scroll it farther to reach the interface.


After the changes made in #1385 to fix other scrolling-related issues, I find that it is sometimes possible to reach the interface, but not reliably:

last1


Related:

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Sep 3, 2022
kittaakos pushed a commit that referenced this issue Sep 3, 2022
Closes #1387

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
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 <a.kitta@arduino.cc>
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 <a.kitta@arduino.cc>
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 <a.kitta@arduino.cc>
@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