Revivius / nb-darcula

Darcula LAF for NetBeans
277 stars 83 forks source link

Uninstall does not return the Theme to before-state #64

Open phansson opened 8 years ago

phansson commented 8 years ago

The plugin sets the Theme Profile to "Darcula". That's a permanent setting saves in Preferences. Ouch !

I wanted to try out the plugin and therefore installed it. I then decided the dark'ish L&F isn't for me (nothing wrong with the plugin itself, I'm just not ready for it). However then I noticed that an uninstall of the plugin did not get my IDE back to where it was before. This is due to the Editor Theme Profile not being reverted to what it used to be.

I don't know if it as actually possible for a plugin to take some kind of action on uninstall? ModuleInstall.uninstalled() doesn't seem to be able to do it. The second best solution would be to alert the user that manual intervention is required if the plugin is uninstalled.