Skip to content

IDE2 should not toast an error notification when users cancel the library install dialog #2063

Closed
@kittaakos

Description

@kittaakos

Describe the problem

Suppose users want to install a library that has one or more dependencies. In that case, IDE2 raises a confirm dialog whether only the library should be installed or the library with all its dependencies. When users close the confirmation dialog (clicking on the X), IDE2 toasts an error message: User abort. This should not happen. The regression has been introduced via #2061.

To reproduce

  • If you have ArduinoIoTCloud installed, uninstall it,
  • Install ArduinoIoTCloud,
  • IDE2 raises the confirmation dialog,
  • Close it with the X,
  • See the error notification.
2063.mp4

Expected behavior

When the user closes the library installation confirmation dialog, nothing happens.

Arduino IDE version

278dd4b

Operating system

macOS

Operating system version

12.3.6

Additional context

No response

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions