Bug 495973

Summary: Kpat theme resets every time I close it
Product: [Applications] kpat Reporter: myspace_obliged119
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED    
Severity: minor CC: kde-games-bugs-null
Priority: NOR    
Version First Reported In: 24.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description myspace_obliged119 2024-11-08 15:09:21 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Change game theme into a different one than the default. Clck apply and then accept.
2. Close the program.
3.  Open Kpat again. 

OBSERVED RESULT
Card deck appearance remains changed, but the background theme has reset to the default.

EXPECTED RESULT
Background theme remains changed.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Tuxedo OS 4 (based on Ubuntu 24.04)
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2024-11-10 22:27:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/games/kpat/-/merge_requests/67
Comment 2 Albert Astals Cid 2024-11-18 15:05:14 UTC
Git commit 411a6c0cd9791f28443bab01eeedff5c3a5ae3f9 by Albert Astals Cid.
Committed on 18/11/2024 at 15:02.
Pushed by aacid into branch 'master'.

Fix Theme change not being saved

M  +3    -0    src/renderer.cpp

https://invent.kde.org/games/kpat/-/commit/411a6c0cd9791f28443bab01eeedff5c3a5ae3f9
Comment 3 Albert Astals Cid 2024-11-18 15:10:20 UTC
Git commit 365fba09926cd0c75df737f9e0d074b6eed60312 by Albert Astals Cid.
Committed on 18/11/2024 at 15:10.
Pushed by aacid into branch 'release/24.12'.

Fix Theme change not being saved
(cherry picked from commit 411a6c0cd9791f28443bab01eeedff5c3a5ae3f9)

M  +3    -0    src/renderer.cpp

https://invent.kde.org/games/kpat/-/commit/365fba09926cd0c75df737f9e0d074b6eed60312