<div dir="ltr"><div><div><br>See:<br><br><a href="https://github.com/qgis/QGIS/commit/1d4c6061a8a5512092041aafea14a8a32247d046#diff-e89106528fe0226767dfccab355e44dc">https://github.com/qgis/QGIS/commit/1d4c6061a8a5512092041aafea14a8a32247d046#diff-e89106528fe0226767dfccab355e44dc</a><br><br></div>but I'm afraid this wasn't all of it.<br><br></div>See also:<br><br><a href="https://github.com/qgis/QGIS/commit/bcb48f2bdc8f274cbc68f376489430f45e0b17d1#diff-e89106528fe0226767dfccab355e44dc">https://github.com/qgis/QGIS/commit/bcb48f2bdc8f274cbc68f376489430f45e0b17d1#diff-e89106528fe0226767dfccab355e44dc</a><br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 10, 2018 at 8:55 AM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10 April 2018 at 16:47, Alessandro Pasotti <<a href="mailto:apasotti@gmail.com">apasotti@gmail.com</a>> wrote:<br>
> On Tue, Apr 10, 2018 at 8:33 AM, Borys Jurgiel <<a href="mailto:lists@borysjurgiel.pl">lists@borysjurgiel.pl</a>><br>
> wrote:<br>
>><br>
>> Dnia wtorek, 10 kwietnia 2018 08:11:48 CEST Alessandro Pasotti pisze:<br>
>><br>
>><br>
>><br>
>> > Hi, I also faced this problem when Implementing gpkg support in the QGIS<br>
>><br>
>> > browser panel: when the file browser scanned the folder, it opened the<br>
>><br>
>> > gpkg, which in turn changed its file stats and made the directory<br>
>> > watcher<br>
>><br>
>> > think that something has changed in the directory, which in turns<br>
>> > started<br>
>><br>
>> > scanning again in a delicious endless loop :)<br>
>><br>
>> ><br>
>><br>
>> > I think I solved this with a kind of locker for the directory scan<br>
>> > thread,<br>
>><br>
>> > but it was't easy.<br>
>><br>
>><br>
>><br>
>> Ah so this it the loop in 2.18... Could you recall that commit that fixed<br>
>> it in 3.0? I understand it's not trivial to backport it to 2.18?<br>
><br>
><br>
> Hi Borys,<br>
><br>
> Are you sure that this is also a problem with 2.x?<br>
><br>
> If I remember correctly 2.x browser panel does not open gpkg for scanning<br>
> contents, this feature was added for 3.x.<br>
<br>
</span>I've seen this with recent versions of 2.18<br>
<span class="HOEnZb"><font color="#888888"><br>
Nyall<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div>