gramps icon indicating copy to clipboard operation
gramps copied to clipboard

Fixes #0013300 Safe mode working with Gramps 5.2 on Windows

Open hgohel opened this issue 9 months ago • 4 comments

Safe mode which was broken with Gramps 5.2.0-5.2.2 on Windows, has been fixed with this commit. Fixes #0013300

Existing code was looking for user configuration in APPDATA, but with the move to XDG-based directory layout (bug 8025), this is no longer correct (see doc). With the fix code looks for the new layout first, and then APPDATA.

The modified code is probably executed only on Windows, but it would be good to get confirmation for Linux and MacOS.

  • [X] Testing on Windows with Gramps 5.2.2 only, and side-by-side with Gramps 5.1.6.
  • [ ] Testing on Linux, if affected
  • [ ] Testing on MacOS, if affected

Test to verify that safe mode functions as described, i.e. starting from a user's customized environment, verify that existing family trees are available in safe mode but settings and configuration are not.

NOTE: This also fixes #13261 which documents another way in which this bug manifests. However, this is bug is closer to the root cause and easier to test.

hgohel avatar May 29 '24 18:05 hgohel