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`.