[Qgis-user] How to Prevent GeoPackage file from updating modified date when viewed in a Qgis project when it is not being edited

Borys Jurgiel lists at borysjurgiel.pl
Mon Apr 9 23:33:15 PDT 2018


Dnia wtorek, 10 kwietnia 2018 08:11:48 CEST Alessandro Pasotti pisze:

> Hi, I also faced this problem when Implementing gpkg support in the QGIS
> browser panel: when the file browser scanned the folder, it opened the
> gpkg, which in turn changed its file stats and made the directory watcher
> think that something has changed in the directory, which in turns started
> scanning again in a delicious endless loop :)
> 
> I think I solved this with a kind of locker for the directory scan thread,
> but it was't easy.

Ah so this it the loop in 2.18... Could you recall that commit that fixed it in 3.0? I 
understand it's not trivial to backport it to 2.18? 

Regards,
Borys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180410/8deb2430/attachment.html>


More information about the Qgis-user mailing list