arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.07k stars 353 forks source link

Issue #2878 is still an issue (Can't remove library using IDE library manger GUI) #2428

Closed bperrybap closed 2 weeks ago

bperrybap commented 2 weeks ago

According to the final comment in issue arduino/Arduino#2878 before the issue was locked from comments, the ability to remove a library using the library manager is only partially implemented as it will not allow removing some of the libraries in a user's sketchbook/libraries directory. This is problematic and as such issue arduino/Arduino#2878 is not truly resolved.

A good user interface should be easy to use but not get in the way of user completing tasks. This seems to be a case where extra work was put into the current implementation to prevent some libraries from being removed but in the end it means the functionality fails to allow the user to remove a library that they may want to remove.

There should be no need for the added nanny behavior. It also means that the current implementation is only a partial solution to issue arduino/Arduino#2878 A user should be able to use the IDE library manger GUI to remove ANY library in his sketchbook/libraries directory.

bperrybap commented 2 weeks ago

Also, there is a an inconsistency and bug in the library manager in that sketch->include can find a library but search can not. And because search cannot find the library I can't uninstall it using the library manager.

bperrybap commented 2 weeks ago

Another comment on this topic of removing libraries and why users should be allowed to remove any library in sketchbook/libraries

Obviously I can use a file manager. Been doing that for more than 12 years in Arduino and with the current library manager remove library implementation I will still have to use a file manager. Ok, no big deal for me. But over the years I've seen seen less technical users & newbies make a total wreck of their sketchbook/libraries directory using a combination of manual installs, zip installs and now network installs. And due to the goofy way the IDE does Arduino "library" searches and using of the include path, they can end up with a situation where sketches will no longer build. The only way to fix things is to clean up their sketchbook/libraries directory.

The issue now, even with this added library removal capability is there is no way to fully do that using just the IDE GUI. I see that is problematic.

IMO, even a novice user should be able to clean up his sketchbook/libraries directory which means having the ability to remove any/all libraries under sketchbook/libraries using the IDE library manager GUI. As of today that simply is not possible.

per1234 commented 2 weeks ago

Thanks for your suggestion @bperrybap but we are satisfied with the current behavior of Arduino Library Manager and an uninstall capability for libraries not distributed via Library Manager will not be provided.