-
assigned issue to
drag&drop functionality for external products is broken
As stated in the individual import algorithms, you can simply drag&drop external products into the EnMAP-Box, e.g.:
This functionality is broken since recent. Not working anymore for any sensor, e.g. Landsat, PRISMA, DESIS, etc
Comments (12)
-
reporter -
reporter
-
reporter Benjamin, I would really like to have unittests ensuring such drag&drop GUI functionality in the future. Is it already possible to do so with the current API?
-
Of course it is, you just need to call widget’s (e.g the MapCanvas) dropEvent:
def dropEvent(self, event: QDropEvent):
Details can be found here:
https://doc.qt.io/qt-5/dnd.html
tests/src/test_mapcanvas.py → MapCanvasTests.test_dropEvents -
- changed status to resolved
resolves
#799Signed-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset 808221cdce53>>
-
@Andreas Janz to ensure that future none-standard files get imported well by drag & drop as QgsMapLayer you might add further tests to enmap-box\tests\src\test_mimedata.py
-
mimedata.py fromDataSourceList handling of speclial:file and speclia:pkl datas sources removed deprecation warnings, addresses
#799(Signed-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset ca9ad3e411fe>>
-
reporter - changed status to open
dropping \sentinel2\S2A_MSIL2A_20200816T101031_N0214_R022_T32UQD_20200816T130108.SAFE\MTD_MSIL2A.xml still not working
-
reporter DESIS also not working: \data\sensors\desis\DESIS-HSI-L1B-DT1203190212_025-20191203T021128-V0210\DESIS-HSI-L1B-DT1203190212_025-20191203T021128-V0210-METADATA.xml
-
reporter - changed status to closed
False alarm.
-
reporter to ensure that future none-standard files get imported well by drag & drop as QgsMapLayer you might add further tests to enmap-box\tests\src\test_mimedata.py
Thanks for the template. I adopted the unittest and created a new one for my drop-tests here:
enmap-box/enmapboxprocessing/test/test_guidropping.py -
reporter - changed status to resolved
resolves
#799→ <<cset d3a218a61dd9>>
- Log in to comment