nppPluginManager
nppPluginManager copied to clipboard
Cannot uninstall a plugin with pending updates
Description of the Issue
The plugin manager has three tabs for plugins to appear in:
- Available
- Updates
- Installed
Plugins only ever appear in one of these tabs, so if a plugin has pending updates, it'll only appear in the "Updates" tab, rather than both "Updates" and "Installed". Because there's no uninstall option in the "Updates" tab, you can't uninstall the plugin until you've updated it to the latest version.
Steps to Reproduce the Issue
- Have an old version of a plugin installed
- Open plugin manager and navigate to the "Installed" tab
Expected Behavior
The plugin should appear in the list, and you should be able to uninstall it.
Actual Behavior
The plugin only appears in the "Updates" tab, so can't be uninstalled.
Debug Information
Plugin Manger version: 1.4.11.0
Notepad++ v7.5.6 (64-bit)
Build time : Mar 19 2018 - 00:23:17
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : ComparePlugin.dll DSpellCheck.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NPPJSONViewer-x64.dll PluginManager.dll XMLTools.dll
@rbsec I could confirm this behaviour. But at least it should be possible to first run the update and then uninstall. As the pluginlist just contains the delete operation of the latest version this might be not suitable any more, if something changed in the meantime, with the older version. So this would require to store some information about the currently installed plugin versions. This is in relation to #78
@chcg thanks for looking into this so quickly. Updating does let you remove the plugin (and of course you can always just manually delete it if that didn't work for whatever reason), so it's not a high priority issue.
Hello. The problem is that there is an issue with a plugin regarding its own version, and it would be nice to uninstall it or re-install it, because the problem is exactly with the update. You can check the thread and one of the latest comments regarding the database refresh, at: https://github.com/joaoasrosa/nppxmltreeview/issues/30
@cmfaustino For npp xml treeview the x64 plugin list already contains version 2.0 in the stable plugin list. 32bit list has a longer cycle and should be updated on next monday, the dev list is already updated also there.
https://github.com/joaoasrosa/nppxmltreeview/releases/download/Berlin-v1.6.0.54/NppXMLTreeviewPlugin_x86.zip is named 1.6.0.54, but the dll itself is 1.5.0.54. Additionally in the fallback for version identification via md5 is used incorrectly. The md5 sum is taken from the zip, but should be the one of the wrongly versioned plugin NppXmlTreeviewPlugin.dll.
how to install NppXMLTreeviewPlugin ?
@me-suzy With which version of N++? 32bit or 64bit?
64bit
@me-suzy See https://github.com/joaoasrosa/nppxmltreeview/releases/tag/v2.0.0. With N++ 7.6.4 this is part of Plugins -> Plugin Admin... plugins list and could be installed there.