Sometimes when starting a new game, no tiles (none of them) appear; there is just the background image. For example: game 894,319,287 in layout "Atlantis" (and, by the way, it would be handy if the status bar told me the layout). The timer in the status bar starts counting, so the game thinks it has started. But the status bar also says "Error generating new game!" and also "Removed: -42,826/132" which doesn't look right, either. Re-sizing the window forces a re-draw and all the tiles appear, so it looks normal. But then some tile pairs are ignored when matched (e.g. the 7-of-characters pair in the example given above).
Comment from GCI student: Quite similar bug: https://bugs.kde.org/show_bug.cgi?id=273971
Yes. I realised later that the actual bug is the failure to generate the board. I hadn't noticed the message "Error generating new game!" on the status line, and I was just reporting symptoms. That bug seems to have been around for some tme. Just adding tiles in matching pairs (randomly placed) would guarantee a successful generation and a solveable game every time, I thought?
Still reproducable with the latest 20.04.1.
Hello to everyone, that is a really old bug, which is surely not a compliment to myself. :-) Unfortunately, I cannot reproduce the problem with the given game number and layout (see attachment) on Tumbleweed. Is anyone able to reproduce this bug and has more information? @Rob Watson: You are right with the information of the algorithm. But this has also other drawbacks, so you need to get a way of unique numbering. I got an algorithm already implemented in JMahjongg, but it does not have the possibilities to choose a specific number. A short look into the source code show, that there are still a maximum number of tries to create a new game. So if the problem is, that the game number is not solvable in general, all 64 tries should fail everytime the game will be created. And therefore I should still be able to reproduce it. Thank you all in advance for investing your time and for your help in making KDE applications even better. Greetings from Christian
Created attachment 149927 [details] Atlantis Layout and specific game number
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!