See: https://github.com/qgis/QGIS/commit/1d4c6061a8a5512092041aafea14a8a32247d046#diff-e89106528fe0226767dfccab355e44dc
but I'm afraid this wasn't all of it. See also: https://github.com/qgis/QGIS/commit/bcb48f2bdc8f274cbc68f376489430f45e0b17d1#diff-e89106528fe0226767dfccab355e44dc On Tue, Apr 10, 2018 at 8:55 AM, Nyall Dawson <nyall.daw...@gmail.com> wrote: > On 10 April 2018 at 16:47, Alessandro Pasotti <apaso...@gmail.com> wrote: > > On Tue, Apr 10, 2018 at 8:33 AM, Borys Jurgiel <li...@borysjurgiel.pl> > > wrote: > >> > >> 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? > > > > > > Hi Borys, > > > > Are you sure that this is also a problem with 2.x? > > > > If I remember correctly 2.x browser panel does not open gpkg for scanning > > contents, this feature was added for 3.x. > > I've seen this with recent versions of 2.18 > > Nyall > -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user