Created attachment 2807 [details] add button Appears on master: 8578bc17b54da97d42b257b3c8f398ac52b91a9f Step to reproduce: 1. Open toaster 2. Click on a project or create a new one 3. In the text box from layers search for a layer with dependencies like: meta-crystalforest 4. select the suggestion 5. click on the Add button 6. A pop-up will appear telling you about dependencies. Click Cancel The Add button should be inactive. Actually if you click on add button again toaster will try to add the selected layer again.
I think this is by design: if you click cancel in the popup when prompted to add the dependencies, you're cancelling adding the layer you initially selected, as well as cancelling adding its dependencies. So the "Add layer" button should remain active, as you haven't added any layers. It may be that we need to make it clearer in the popup that you haven't added the layer yet, until you click "Add layers" in the popup. Belen may want to comment on this.
Belen, do you have any comment? If you think the feature is working as intended, I'd suggest closing this.
I can no longer reproduce this (using the toaster-next branch). When I click the 'cancel' button in the layer dependencies dialog, the add layer text field is cleared, and the 'add layer' button is inactive.
Can't reproduce it anymore on master: 5ac3dc76a5afc2ed35b1abfc8e330e0c580eadf0 Put this on resolved worksforme
Verified.