Skip to content

Library/Boards Manager "Install" button sometimes partial or missing #1403

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 6, 2022 · 2 comments
Closed
3 tasks done
Assignees
Labels
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 6, 2022

Describe the problem

When the mouse pointer is hovered over one of the Library/Boards Manager or list items, a version menu and "INSTALL" button are added at the bottom of the item, which increases its vertical size.

🐛 When the length of the listings fits within the vertical dimension of the view when not hovered, but does not fit when hovered, some glitches can occur.

To reproduce

  1. Open the "Library Manager" view.
  2. Resize the horizontal width of the view to the minimum.
    This is the width set by the IDE by default.
  3. Type arduinoiotcloud in the "Filter your search..." field.
    This is only an arbitrary example of a search that produces a suitable length of listings. By chance it has the perfect length for the default window and view dimensions on my machine.
  4. Resize the vertical dimension of the Arduino IDE window so that it is just long enough to show the full listings while in the non-hovered state, without a scrollbar on the Library Manager view.
    image
  5. ❗ Without passing the mouse pointer over any of the other library listings in the view along the way ❗, move the mouse pointer from an area of the Arduino IDE window outside the "Library Manager" view to hover the mouse pointer over "Arduino_ConnectionHandler", .
    🐛 Only half the "INSTALL" button is shown:
    image
  6. ❗ Without passing the mouse pointer over any of the other library listings in the view along the way ❗, move the mouse pointer from an area of the Arduino IDE window outside the "Library Manager" view to hover the mouse pointer over "ArduinoIoTCloud", .
    🐛 The "INSTALL" button is not shown:
    image

Arduino IDE version

2.0.0-rc9.3

Operating system

Windows 10

Additional context

The issue was introduced by #1385 (does not occur when using the build from df3a34e)


The reason why the issue only occurs with the view at or near the minimum width seems to be related to the fact that, at this width, the position of the "INSTALL" button is below the version menu:

image

While at any greater width it is to the side of the version menu:

image

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 6, 2022
@kittaakos
Copy link
Contributor

the position of the "INSTALL" button is below the version menu:

Correct. On a scrollbar visibility change, the position of the INSTALL button changes, and the required height calculation will be incorrect.

@per1234
Copy link
Contributor Author

per1234 commented Oct 26, 2022

Fixed by #1568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants