Bug report #4177

restart needed to hide some disabled plugins

Added by Alister Hood about 9 years ago. Updated about 9 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Python plugins
Affected QGIS version: Regression?:No
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data: Copied to github as #:14153

Description

I've found that on Windows 7, after disabling (in the plugin manager) the plugins which you can see in the attached screenshot, they are not removed from the plugins menu (or from the toolbar in the case of the zonalstatistics plugin) until I restart QGIS.
The same thing does not occur on Windows XP.

Is this a problem with these particular plugins, or with something else?

plugins_not_removed.png (16.6 KB) Alister Hood, 2011-08-15 07:35 PM

History

#1 Updated by Martin Dobias about 9 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

That is not a QGIS bug - it is a problem of individual plugins. They should properly implement unload() method that removes all the stuff that plugin creates (menus, buttons on toolbars, ...) It would be good to notify plugin authors.

#2 Updated by Alister Hood about 9 years ago

Great, thanks.
I have notified the makers of each of those plugins.

#3 Updated by Ivan Mincik about 9 years ago

Thanks a lot for notice about 'Google Layers'. My idea is to drop 'Google Layers' in favor of 'OpenLayers plugin' which is doing the same thing much better. Ivan

#4 Updated by Cagil Seker about 9 years ago

Thanks for the notice. Visibility Analysis plugin has been updated for the changes (to 0.1.0).

#5 Updated by Alister Hood about 9 years ago

Great, thanks for letting us know. Michael Minn informed me he has updated MMQGIS as well.

Ivan Mincik wrote:

Thanks a lot for notice about 'Google Layers'. My idea is to drop 'Google Layers' in favor of 'OpenLayers plugin' which is doing the same thing much better. Ivan

Yes, I agree it is generally better to have one tool instead of several, and make it work really well.
Unfortunately there is currently a major problem with Openlayers, which might force people to stick with Google Layers (#3978), but hopefully it will get fixed...

Also available in: Atom PDF