Closed volcan01010 closed 1 month ago
Alternatively, as you may not want to immediately reload in case the user has unsaved local changes, would be to pop up a QMessageBox with:
"A new version of the xxxxxx.qgz project settings file was retrieved from the server. Would you like to use it now?"
That way users could select 'OK' to reload, or 'Cancel' to make whatever change they want locally.
I can confirm the bug with editor permission. It should reload the QGIS project even if you don't have write permission, as it currently happening with writer permission
Note for dev : I also found an other case were the after a sync that might have the same root issue: after changing only the legend the qgis project does not reload after a sync even with appropriate permission
Summary
As a Mergin Maps user, I would like the plugin to reload the QGIS project when a new version of the .qgz file has been downloaded, so that I see changes that have been made by other users.
Description
Consider this scenario:
What happens:
What should happen:
Related issues
https://github.com/MerginMaps/qgis-plugin/issues/592
Plugin version: 2024.2