<div dir="ltr"><div>Hi,<br><br>I have a pull request to remove deprecated labels properties tab from vector layer properties, if not used by an older project [0]. I've tested it, but did not commit it because it included a public function for QgisApp (though no Python binding). If anyone who can pass judgement upon it thinks it is OK, please merge it, or let me know if I can.<br>
<br></div><div>This is the handling of the deprecated labels tab I figured was best:<br><br>* Deprecated labels tab remains active for all layers in an older project, if any layer uses them, for the duration of project's open session (including when saving project instance with no layers that use deprecated labels).<br>
<br>* Caveat (feature?): If all layers no longer use deprecated labels on project close, when project is reopened, deprecated labels tab will no longer be available. Some users may not like this, but they are being warned about opening an older project version.<br>
<br></div><div>* New projects, or opened older projects that do not use deprecated labels, will never show the deprecated labels tab. With those projects, there is no way to enable the deprecated labeling tab.<br><br></div>
<div>Please let me know if I am off-the-mark with this workflow.<br></div><div><br></div><div>My logic is that if someone is still using deprecated labels in a project, that type of labeling should remain available to all layers in the project. I created an earlier branch where the deprecated labels tab was only turned on for the layers that use deprecated labels [1]. However, this was fairly limiting (see commit message) and would probably annoy users.<br>
<br><br>[0] <a href="https://github.com/qgis/Quantum-GIS/pull/851">https://github.com/qgis/Quantum-GIS/pull/851</a><br>[1] <a href="https://github.com/dakcarto/Quantum-GIS/commit/7eb4866f">https://github.com/dakcarto/Quantum-GIS/commit/7eb4866f</a><br>
<br></div><div>Regards,<br></div><div><div><div><br>Larry<br><br><br></div>
</div></div></div>