[GNC] Unexpected behaviour of locking mechanis

Geert Janssens geert.gnucash at kobaltwit.be
Sat Apr 20 11:12:49 EDT 2019


Op zaterdag 20 april 2019 17:08:02 CEST schreef Adrien Monteleone:
> I figured the lock was in the db, but wasn’t certain.
> 
> I just tested with my current data file:
> 
> Clean exit via GnuCash > Quit GnuCash
> Copy & Rename file to `test-1234.gnucash`
> Re-open GnuCash
> File > Open > `test-1234.gnucash`
> 
> The file opened fine, save none of the open tabs from when I exited were
> re-opened. (doesn’t bother me any, and might even be intended behavior, but
> it confirms what mc found in that respect)
> 
That is indeed normal. The state of the open tabs and such is saved in an 
independent state file, linked to the data file by its filename. If you change 
this filename outside of gnucash, gnucash won't be able to link it back to 
that state file.

Geert




More information about the gnucash-user mailing list