Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot uninstall a plugin with pending updates #107

Open
rbsec opened this issue Mar 20, 2018 · 8 comments
Open

Cannot uninstall a plugin with pending updates #107

rbsec opened this issue Mar 20, 2018 · 8 comments

Comments

@rbsec
Copy link

rbsec commented Mar 20, 2018

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

  1. Have an old version of a plugin installed
  2. 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 
@chcg
Copy link
Collaborator

chcg commented Mar 20, 2018

@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

@rbsec
Copy link
Author

rbsec commented Mar 20, 2018

@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.

@cmfaustino
Copy link

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:
joaoasrosa/nppxmltreeview#30

@chcg
Copy link
Collaborator

chcg commented May 2, 2018

@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.

@me-suzy
Copy link

me-suzy commented Mar 6, 2019

how to install NppXMLTreeviewPlugin ?

@chcg
Copy link
Collaborator

chcg commented Mar 7, 2019

@me-suzy With which version of N++? 32bit or 64bit?

@me-suzy
Copy link

me-suzy commented Mar 8, 2019

64bit

@chcg
Copy link
Collaborator

chcg commented Mar 13, 2019

@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.

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants