There are many inconsistencies in the enablecheck parameter of plugins.
Most of them appear if two projects or more are opened, and/or if an Attribute table is active.
One current problem happens if layer B of project B is selected, and Attribute table of layer A of project A is the active frame : most plugins are initialized with layer B, not A.
Some suggestions :
Save view as...
Copy to clipboard
Printer
==> should be deactivated if no task window is active (if a attribute table is active)
Analysis
==> some plugins are activated if no layer is selected and an attribute table is active (ex. buffer, offset) and others are not (union, polygon overlay) : as soon as the plugin offers a layer chooser, it should be active (and propose only layers of the task related to the active window, either a task window or a attribute table)
Classify
Calculate
Layer attribute
Layer statistics
Feature statistics
==> Should be activated if no layer is selected but a Attribute table is active
Generate > Create point layer
==> Should be activated if a Attribute table is active
Edit geometries
==> Planar graph activation is not similar to other plugins of the submenu
Edit attribute
==> Some of them should be available if a Attribute table is active
done for "Save view as..." and "Copy to clipboard..."
done for all statistics plugins
done for PointLayerFromAttributeTablePlugIn
planar graph plugin dialog box repaired
Last edit: michael michaud 2016-10-30
which leaves
One current problem happens if layer B of project B is selected, and Attribute table of layer A of project A is the active frame : most plugins are initialized with layer B, not A.
Some suggestions :
Printer
==> should be deactivated if no task window is active (if a attribute table is active)
Analysis
==> some plugins are activated if no layer is selected and an attribute table is active (ex. buffer, offset) and others are not (union, polygon overlay) : as soon as the plugin offers a layer chooser, it should be active (and propose only layers of the task related to the active window, either a task window or a attribute table)
Classify
Calculate
Layer attribute
==> Should be activated if a Attribute table is active
Edit geometries
==> Planar graph activation is not similar to other plugins of the submenu
Edit attribute
==> Some of them should be available if a Attribute table is active
anyway, not blocking OJ 1.16
not blocking OJ2 move it to future