layer style and temporal properties are getting lost when drag&drop a layer from EnMAP-Box to QGIS
Drag&drop from QGIS to EnMAP-Box works fine, but from EnMAP-Box to QGIS we lose the style:
We also lose the temporal properties:
Comments (8)
-
reporter -
reporter @Benjamin Jakimow I guess you don’t clone the layer, but create a new layer using the source. This way the style and the temporal properties are lost.
I hope this is easy to fix. If not, please point me to the relevant code.
-
reporter - changed title to layer style and temporal properties are getting lost when drag&drop a layer from EnMAP-Box to QGIS
- edited description
-
reporter - edited description
-
reporter @Benjamin Jakimow here is the mime data content when dropping from QGIS or EnMAP:
-
- changed milestone to Future Release - Nice to have
- marked as enhancement
Drag & drop events from outside the QGIS application are handled by
void QgisApp::dropEvent( QDropEvent *event )
. As you can see inhttps://github.com/qgis/QGIS/blob/102bc431d755d4a214fcd73ee847232acd6f01d0/src/app/qgisapp.cpp#L2024
mimeData urls are used only, but no additional infromations.
So it’s not an EnMAP-Box bug, just standard QGIS behaviour.
You might create an issue in the QGIS issue tracker. -
- marked as minor
reduced priority as “send to QGIS” including styles etc. is available via EnMAP-Box context menues
-
- changed status to on hold
- Log in to comment
This not only applies to the temporal properties, but also to the layer styling. The layer style prepared in the EnMAP-Box, e.g.
Style is lost after drop into QGIS: