Graph view is not saving settings

@SNoiraud

What I called “unknown” behavior in a previous message is coming from Python’s ConfigParser - it treats keys as case-insensitive. So introducing a key in Gramps with mixed case like “interface.graphview-show-ID” causes the setting in the ini file to get written out in mixed case, lower case or both entries at times (reproducible). It’s probably best to change the key to lowercase to fix this issue.

If there is a need to have keys with mixed case, another solution may need to be used.

FYI @Nick-Hall

References:

  1. Python ConfigParser - Mapping Protocol Access
  2. Similar question on StackOverflow: ConfigParser reads capital keys and make them lower case
1 Like

I can confirm that now “Show Avatars” remains 0 ( as I like)

1 Like