← Back to team overview

kicad-developers team mailing list archive

Re: [BUG] Autosave read-only project

 

Can anyone confirm this behavior? I think it is important.

2016-11-13 15:14 GMT+02:00 Константин Барановский <
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.
>

Follow ups

References