kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26825
Re: [BUG] Autosave read-only project
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
jp charras <jp.charras@xxxxxxxxxx>
-
Date:
Tue, 22 Nov 2016 11:28:07 +0100
-
In-reply-to:
<CADfv2UWoCxLDhcfp3xb=9RSAgi8SMypqwArqVWOeXyDqpCMP5Q@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
Le 21/11/2016 à 20:58, Константин Барановский a écrit :
> Can anyone confirm this behavior? I think it is important.
>
> 2016-11-13 15:14 GMT+02:00 Константин Барановский <baranovskiykonstantin@xxxxxxxxx
> <mailto:baranovskiykonstantin@xxxxxxxxx>>:
>
> Sequence for reproducing (under linux):
> 1) lauch kicad;
> 2) open one of demo projects (for example - interf_u);
> * by default the demo projects locates in /usr/share/kicad/demos and for regular user it is
> available for read only;
> 3) make some change;
> * by default the autosave interval is set to 10 minutes, so...
> 4) waiting 10 minutes;
> * mesagebox shows the mesage "You do not have permissions for writing to path...";
> 5) press OK;
> * timer starts new loop for next 10 minutes;
> 6) in settings dialog set autosave interval to 0 (for disabling autosaving);
> 7) waiting rest of 10 minutes;
> 8) messagebox shows again - close it;
> 9) messagebox shows immediately again and again;
>
> It happens, because timer's event handler do not checks autosaveinterval for zero value.
>
> Propose to resolve this by attached patch.
> It allows apply new value of the autosave interval immediately.
I confirm this issue.
I committed your fix. Thanks.
--
Jean-Pierre CHARRAS
References