Page MenuHome GnuPG

Kleopatra: Change location of *staterc files
Open, NormalPublic

Description

Kleopatra (and other KDE apps) shall store the *staterc files below %LOCALAPPDATA% instead of below %GNUPGHOME%.

Implementation hints:

  • Qt defines StateLocation (defaults to C:/Users/<USER>/AppData/Local/<APPNAME>/State)
  • We re-define StateLocation (and GenericStateLocation) in the qt.conf we install
  • kconfig uses AppDataLocation (defaults to C:/Users/<USER>/AppData/Roaming/<APPNAME>) for the state config files (on not-Linux)

Plan:

  • Remove re-definitions of StateLocation (and GenericStateLocation) from our qt.conf
  • Patch kconfig to use StateLocation instead of AppDataLocation for state files
  • Migrate state files from pre-KF6 location to new location
  • Try to upstream the kconfig patch

Event Timeline

ebo triaged this task as Normal priority.Thu, Jul 31, 3:28 PM
ebo created this task.
ebo changed the edit policy from "All Users" to "Contributor (Project)".
ikloecker renamed this task from Wrong location of *staterc files to Kleopatra: Change location of *staterc files.Thu, Jul 31, 6:01 PM
ikloecker updated the task description. (Show Details)