| Summary: | Loading games shouldn’t change the game settings | ||
|---|---|---|---|
| Product: | [Applications] kpat | Reporter: | Karl Ove Hufthammer <karl> |
| Component: | general | Assignee: | Stephan Kulow <coolo> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | 0inkane, kde-games-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Karl Ove Hufthammer
2018-09-15 09:31:36 UTC
I confirm this behaviour and agree that it is a bug. This is due to klondike.cpp unconditionally calling
> Settings::setKlondikeIsDrawOne( easyRules );
in the call chain loadFile > setGameOptions > Klondike::setEasy.
I don't disagree that it's strange behaviour - but it's not really a bug. Because if you load a draw 1 game, you want the menu to reflect that. And if you start a game after the save game you also expect it to continue as such. This is not the "default" - it's the current state. What you're asking for implicitly is to split klondike 1 and klondike 3 into different flavors you can switch between. But I don't think that's going to happen. (In reply to Stephan Kulow from comment #2) > I don't disagree that it's strange behaviour - but it's not really a bug. > Because if you load a draw 1 game, you want the menu to reflect that. And if > you start a game after the save game you also expect it to continue as such. > This is not the "default" - it's the current state. > > What you're asking for implicitly is to split klondike 1 and klondike 3 into > different flavors you can switch between. Not really. I am OK with the menu reflecting the settings from the loaded game. But the settings from the game should not be saved in .config/kpatrc. So when quitting and restarting KPat, the settings should be the old/‘default’ (manually chosen) settings, not the settings from the game I loaded the previous session. |