Library Manager version menu selection changes if user closes dependencies installation dialog #1707
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
An Arduino library can specify dependencies on other libraries via its metadata. When the user installs a library with defined dependencies via Library Manager, Arduino IDE shows a dialog that offers to install these dependencies along with the library.
If the user closes that dialog, the selection in the version menu changes:
If the version the IDE attempts to switch the menu to is currently installed, the current selection is retained, but an install operation will attempt to install the version it attempted to switch the menu to.
To reproduce
Expected behavior
Version menu selection only changes after a successful installation.
Arduino IDE version
2.0.2
Operating system
Windows
Operating system version
10
Issue checklist
The text was updated successfully, but these errors were encountered: