Bug 498112

Summary: Game Theme Does Not Save When Closing
Product: [Applications] kpat Reporter: cybeatb
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED    
Severity: minor CC: john.kizer, kde-games-bugs-null
Priority: NOR    
Version First Reported In: 24.08.3   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 24.12.1
Sentry Crash Report:

Description cybeatb 2025-01-01 07:16:12 UTC
SUMMARY
The selected "Game Theme" is not saved when the program is closed and reopened.

STEPS TO REPRODUCE
1. Open the program.
2. Change the selected "Game Theme" in Global Menu -> Settings -> Configure KPatience -> Game Theme
3. Click "Ok" and close the settings window.
4. Close and reopen the program.

OBSERVED RESULT
The theme has reset to its original value.

EXPECTED RESULT
The selected theme is remembered.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Atomic KDE (Kinoite) 41, Kernel 6.12.6-200.fc41.x86_64
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
I have observed this on two different systems, using the same OS & same version of this program.
One system is freshly installed, and resets to the default game theme.
The other system is older, and previously had older versions of the program installed. At least one of these older versions correctly saved the theme selection, causing the current version of the program to reset to that non-default selection.
Other settings, such as the card-back theme, appear to save correctly.
Comment 1 John Kizer 2025-01-10 07:15:41 UTC
Hi - I can't reproduce this on my Fedora KDE 41 device, using either the RPM or Flatpak version. Could you please check if the issue still occurs using KPatience version 24.12.1 (just released, available through Flathub)?

Thanks!
Comment 2 cybeatb 2025-01-10 07:22:41 UTC
It does appear to be fixed in 24.12.1 (Flatpak)
Comment 3 John Kizer 2025-01-10 07:53:16 UTC
Great, glad it's working for you!