SUMMARY The configuration files for Okular includes a particularly surprising place at ~/.local/share/kxmlgui5/okular/shell.rc which prompts questions https://askubuntu.com/questions/1090285/where-does-okular-store-its-config-files. It should be moved to XDG_CONFIG_HOME per https://bugs.kde.org/show_bug.cgi?id=397602 with any state remaining in XDG_LOCAL_HOME. There's also ~/.config/okularpartrc and ~/.config/okularrc and the latter contains state data (State, Height, Width) which should be moved to XDG_LOCAL_HOME. STEPS TO REPRODUCE 1. Follow steps in AskUbuntu question to see the configuration file pop up. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
This would be a kxmlgui bug if it is a bug at all. Feel free to open a bug against that library here in bugs.kde.org
Filed in https://bugs.kde.org/show_bug.cgi?id=416731 Okular stores a bunch of state in okularrc. Also, why two separate files - okularpartrc and okularrc?
(In reply to Ben Creasy from comment #2) > Filed in https://bugs.kde.org/show_bug.cgi?id=416731 > > Okular stores a bunch of state in okularrc. Also, why two separate files - > okularpartrc and okularrc? Because Okular part is used in many applications (Kile, KBibTeX, etc.). Each application has its own settings (and Okular itself too) and list of the opened files, but they have the same settings for their PDF backend (Okular KPart).