tudelft3d / 3DCityDB-Tools-for-QGIS

This repository contains code of a QGIS plugin that facilitates data handling of the CityGML 3D City Database.
Apache License 2.0
55 stars 2 forks source link

Add more GUI blocks to avoid user panic #52

Closed gioagu closed 11 months ago

gioagu commented 11 months ago

In the Layer Loader, during layer creation or refreshing, more dialog widgets should be disabled while the thread is on-going.

E.g.: PostgreSQL connection groupbox, CityDB groupbox, Basemap groupbox, Close connection button.

Of course, to be re-enabled as soon as the thread finishes.

tendaiwbm commented 11 months ago

While creating or refreshing layers, clicking "Close current connection" can cause Python to raise a "connection already closed" error.

OR QGIS might crash suddenly.

In the db, the create or refresh layers transaction will still complete.

BUT there will be no communication back to the UI because there will be no open connection.

gioagu commented 11 months ago

Solved in version 0.8.7

Added several blocks to avoid clicking around when a thread is running. Applies to: Layer Loader, Bulk Deleter, QGIS Pkg Administrator.

This should prevent what described above. If not, please reopen.