Bug 342157

Summary: Changing any setting with random layout selected creates a new game
Product: [Applications] kmahjongg Reporter: Jan-Peter Nilsson <kdebugs>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: danikpastushchak90, kde-games-bugs-null, schwarzer
Priority: NOR    
Version First Reported In: 0.8   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan-Peter Nilsson 2014-12-23 16:02:28 UTC
Changing any setting, such as tileset, background or even just opening the configuration dialog and clicking ok without changing anything with random layout selected creates a new game.

Reproducible: Always

Steps to Reproduce:
1. Configure the game to use random layout.
2. Remove some tiles (optional)
3. Open the settings dialog and press OK without changing anything

Actual Results:  
A new game is generated and any progress is lost.

Expected Results:  
The game state should not be affected unless a change to layout settings were made.
Comment 1 Daniel Pastushchak 2014-12-24 15:08:46 UTC
Comment from GCI student:
I use Kubuntu 14.10, KMahjongg ver 0.8. I have the same problem
Comment 2 Frederik Schwarzer 2016-01-04 01:05:31 UTC
This issue seems to be fixed in the current master branch.

Please test the master version and reopen in case you disagree. :)