T6799 needs to be applied to the vsd 3 branch, too.
The config files should end up in %GNUPGHOME%\kleopatra, see https://dev.gnupg.org/T6799#198980
Update: Changed %APPDATA%\gnupg\kleopatra to %GNUPGHOME%\kleopatra. VSD will use %APPDATA%\gnupg-vsd as GNUPGHOME by default.
For reference for testing:
- In VSD 3.1.26 < 3.3.0, Kleopatra uses the following config files
- %LOCALAPPDATA%/kxmlgui5/kleopatra/kleopatra.rc -> move/migrate
- %LOCALAPPDATA%/klanguageoverridesrc -> move/migrate
- %LOCALAPPDATA%/kleopatrarc -> move/migrate
- %APPDATA%/kleopatra/kleopatrastaterc -> move/migrate
- %LOCALAPPDATA%/kleopatragroupsrc -> move/migrate
- In VSD 3.3.0, Kleopatra uses the following config files
- %LOCALAPPDATA%/kxmlgui5/kleopatra/kleopatra.rc -> move/migrate
- %LOCALAPPDATA%/klanguageoverridesrc -> move/migrate
- %LOCALAPPDATA%/kleopatrarc -> move/migrate
- %APPDATA%/kleopatra/kleopatrastaterc -> move/migrate
- %APPDATA%/gnupg/kleopatra/kleopatragroupsrc -> this is the desired location; if future VSDs use %APPDATA%/gnupg-vsd then they need to migrate everything from %APPDATA%/gnupg to %APPDATA%/gnupg-vsd, i.e. kleopatra doesn't need to care for this
- In GPD 4.3.0, Kleopatra uses the following config files
- %LOCALAPPDATA%/kxmlgui5/kleopatra/kleopatra.rc -> move/migrate
- %LOCALAPPDATA%/klanguageoverridesrc -> move/migrate
- %LOCALAPPDATA%/kleopatragroupsrc -> move/migrate
- %LOCALAPPDATA%/kleopatrarc -> move/migrate
- %APPDATA%/kleopatra/kleopatrastaterc -> move/migrate
- In Gpg4win 4.3.1, Kleopatra uses the following config files
- %APPDATA%/kleopatra/kxmlgui5/kleopatra/kleopatra.rc -> move/migrate
- %APPDATA%/kleopatra/klanguageoverridesrc -> move/migrate
- %APPDATA%/kleopatra/kleopatragroupsrc -> move/migrate
- %APPDATA%/kleopatra/kleopatrarc -> move/migrate
- %APPDATA%/kleopatra/kleopatrastaterc -> move/migrate
- In Gpg4win 4.4.1, Kleopatra uses the following config files
- %APPDATA%/gnupg/kleopatra/kleopatragroupsrc -> OK
- %APPDATA%/kleopatra/kxmlgui5/kleopatra/kleopatra.rc -> move/migrate
- %APPDATA%/kleopatra/klanguageoverridesrc -> move/migrate
- %APPDATA%/kleopatra/kleopatrarc -> move/migrate
- %APPDATA%/kleopatra/kleopatrastaterc -> move/migrate
- In VSD 3.4 and Gpg4win 5.0 all config files used by Kleopatra shall be in/under %GNUPGHOME%/kleopatra.
Further notes for testing:
- How to create some of the config files with the old versions:
- Add an action to the toolbar (e.g. About Kleopatra) to get the file kxmlgui5/kleopatra/kleopatra.rc.
- Configure a different language to get the file klanguageoverridesrc.
- Create a group to get the file kleopatragroupsrc.
- In VSD 3.4+ the old config files should be migrated to the following locations/names:
- kxmlgui5/kleopatra/kleopatra.rc -> %GNUPGHOME%/kleopatra/kxmlgui5/kleopatra-vsd/kleopatra.rc
- klanguageoverridesrc -> %GNUPGHOME%/kleopatra/klanguageoverridesrc
- kleopatrarc -> %GNUPGHOME%/kleopatra/kleopatra-vsdrc
- kleopatrastaterc -> %GNUPGHOME%/kleopatra/kleopatra-vsdstaterc
- kleopatragroupsrc -> %GNUPGHOME%/kleopatra/kleopatragroupsrc
- In GPD 4.4+ the old config files should be migrated to the following locations/names:
- kxmlgui5/kleopatra/kleopatra.rc -> %GNUPGHOME%/kleopatra/kxmlgui5/kleopatra-gpd/kleopatra.rc
- klanguageoverridesrc -> %GNUPGHOME%/kleopatra/klanguageoverridesrc
- kleopatrarc -> %GNUPGHOME%/kleopatra/kleopatra-gpdrc
- kleopatrastaterc -> %GNUPGHOME%/kleopatra/kleopatra-gpdstaterc
- kleopatragroupsrc -> %GNUPGHOME%/kleopatra/kleopatragroupsrc
- In Gpg4win 5.0+ the old config files should be migrated to the following locations/names:
- kxmlgui5/kleopatra/kleopatra.rc -> %GNUPGHOME%/kleopatra/kxmlgui5/kleopatra/kleopatra.rc
- klanguageoverridesrc -> %GNUPGHOME%/kleopatra/klanguageoverridesrc
- kleopatrarc -> %GNUPGHOME%/kleopatra/kleopatrarc
- kleopatrastaterc -> %GNUPGHOME%/kleopatra/kleopatrastaterc
- kleopatragroupsrc -> %GNUPGHOME%/kleopatra/kleopatragroupsrc