ID 510843 - Incorrect Mari release used for importing older Preferences if XDG_CONFIG_HOME environment variable is set

Follow

Problem summary
Incorrect Mari release used for importing older Preferences if XDG_CONFIG_HOME environment variable is set
 
Customer reported version
Mari 4.8v3
 
Customer reported platform
Linux
 
Steps to reproduce
 
1) Set a XDG_CONFIG_HOME=/path/to/temp/folder environment variable pointing to a temporary, empty folder
 
2) Launch Mari 4.7v7, then exit
 
3) Launch Mari 4.8v1, then exit
 
In the XDG_CONFIG_HOME folder, there should now be a TheFoundry folder containing a Mari4.7v7.conf file and a Mari4.8v1.conf file.
 
4) Launch a Mari release that is newer than 4.8v1
 
Expected behaviour
A dialog should appear, asking if you want to import preferences from Mari 4.8v1 
 
Actual behaviour
The dialog asks if you want to import preferences from Mari 4.7v7
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Mari 5.0v3 - CentOS 7.9
Mari 4.8v3 - CentOS 7.9

Mari 5.0v2 - CentOS 7.9
Mari 4.8v2 - CentOS 7.9
Mari 5.0v1 - CentOS 7.9 - regression
(Note: while the root cause for this issue could be present in Mari 4.8v1 too, the expected behaviour would be for Mari to ask if you would like to import from Mari 4.7v7 with the steps above)
 
Unable to reproduce bug in:
Mari 4.7v7 - CentOS 7.9
 
Earliest version tested
Mari 4.7v7 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why