inconsistent/confusing behaviour regarding selectable raster layer
The user should only see a raster layer inside a QgsMapLayerComboBox, if the layer is displayed inside a map view.
In the following setup, there is no map view, but the outClassification layer is selectable. At the same time, the example dataset layers aren’t selectable, which is confusing.
The outClassification layer was created by this PA:
Comments (8)
-
-
- changed status to open
-
reporter Ah, I see, the layer is also opened inside the QGIS Layers Panel.
That is wrong behaviour, right?
-
Isn't it what you expect when using the QGIS Processing Framework?
-
reporter Maybe, let’s discuss this with Sebastian next meeting.
Can you control this behaviour or would it be difficult to prevent opening the layer by QGIS?
-
As layers from the PF might be created by other PF algorithms as well, I don’t see - at this time - a way to differentiate outputs created from the enmapbox or other places.
However, maybe it is possible to differentiate this via the https://qgis.org/api/classQgsProcessingContext.html. -
- removed responsible
-
reporter - changed status to wontfix
- Log in to comment
Which layers are visible in the QGIS Layer Tree at the same time?