qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.09k stars 2.93k forks source link

Unable to change the labels properties on non-editable layer #42814

Open sigmoe opened 3 years ago

sigmoe commented 3 years ago

Describe the bug When you try to change the labels properties on a non-editable layer (MapInfo layer for example), the message "Cannot change "xxx" - the layer "XXX" could not be editable" appears

How to Reproduce

  1. See the video attached
  2. On a non-editable layer with labels, click on the Cahnge label properties icon, and try to modify some properties of a label
  3. The error appears

QGIS and OS versions

QGIS version 3.16.5-Hannover QGIS code revision 58ba7c1ed6 Compiled against Qt 5.11.2 Running against Qt 5.11.2 Compiled against GDAL/OGR 3.1.4 Running against GDAL/OGR 3.1.4 Compiled against GEOS 3.8.1-CAPI-1.13.3 Running against GEOS 3.8.1-CAPI-1.13.3 Compiled against SQLite 3.29.0 Running against SQLite 3.29.0 PostgreSQL Client Version 11.5 SpatiaLite Version 4.3.0 QWT Version 6.1.3 QScintilla2 Version 2.10.8 Compiled against PROJ 6.3.2 Running against PROJ Rel. 6.3.2, May 1st, 2020 OS Version Windows 10 (10.0) Active python plugins cadastre; localiserparcelle; OSMDownloader; SgmDxfImportPro; SgmExpressionFunctions; SgmPfa; StreetView; db_manager; processing

Additional context Regression. It worked in QGIS 3.10

https://user-images.githubusercontent.com/55922863/114899064-f1e74e80-9e12-11eb-80e4-d11432e66614.mp4 COMMUNE.zip

Pedro-Murteira commented 2 years ago

Still valid on QGIS 3.22.3.