When changing from random layout to a specified layout the previews in the settings window are randomized. Reproducible: Always Steps to Reproduce: 1. Open settings 2. Switch to the Board Layout view 3. Check Random Layout and click Apply 4. Uncheck Random Layout 5. Select different layouts Actual Results: The shown previews are randomized not matching the selected layout. Expected Results: The preview should show the selected layout.
Created attachment 90109 [details] Disable random layout while generating layout previews
This problem has changed. Here, after changing to randomised layout, the preview remains the previously selected layout. When changing back to another layout, the correct one is shown. So I would not close this as fixed as long as enabling the random layout feature keeps showing the old layout.
Created attachment 119076 [details] Hide layout preview on random layout
@Christian to be honest at this point i think this bug could as well be closed without any code change, when you select random layout everything below it is grayed out clearly indicating it no longer applies. If you feel it makes sense to commit it, go ahead. Also please in the future use phabricator instead of posting patches to bugzilla, phabricator makes for easier book-keeping/reviewing/etc of patches.
https://commits.kde.org/kmahjongg/837fffbc7e8e95a8a32ca4e3f741117ff877e352 @Albert Registered to phabricator. Thanks