https://bugs.kde.org/show_bug.cgi?id=398657
Bug ID: 398657
Summary: Loading games shouldn’t change the game settings
Product: kpat
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
I have set my favourite settings in Klondike to draw 3 cards at a time, as
that’s the way I’m used to playing the game. This is correctly remembered by
the KPat, so I don’t have to keep selecting it each time. That’s nice. But if I
load a saved game which uses a different setting, this also changes the
*default* settings (stored in the .config/kpatrc file).
IMHO, simply loading a game shouldn’t change the default settings; it should
only change the settings *for that game*. Steps to reproduce:
1. Launch KPat and start a Klondike game.
2. Change ‘Settings → Klondike Options → Draw 1’.
3. Save the game.
4. Change ‘Settings → Klondike Options → Draw 3’.
5. Quit KPat.
1. Launch KPat and start a Klondike game.
7. Observe that the ‘Draw 3’ option is correctly restored, by a) drawing cards,
*and* b) checking the ‘Settings → Klondike Options’ menu.
8. Restore the game saved in step 3.
9. Observe that the ‘Draw 1’ setting in the saved games is correctly restored.
10. Quit KPat.
11. Launch KPat and start a Klondike game.
12. Observe that the settings has been changed to ‘Draw 1’.
Steps 1–9 are correct. But changing the *default* settings, done in steps
10–12, should be considered a bug. Expected behaviour would be that the
*manually* selected default settings should be respected, i.e. that settings
shown in step 12 should be ’Draw 3’.
--
You are receiving this mail because:
You are watching all bug changes.