Created attachment 128783 [details] screenshot for the game SUMMARY STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: ubuntu 20.04 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
if you open it from the terminal (konsole for example), is there any output?
(In reply to Albert Astals Cid from comment #1) > if you open it from the terminal (konsole for example), is there any output? i will try to lunch it from terminal
I could reproduce the problem here by running kmahjongg like this: QT_QPA_PLATFORMTHEME="gtk3" kmahjongg (I did see the background at least, but no game stones) I.e. the problem seems to be specific to the gtk3 platformtheme. There was no output in konsole though. But clicking on "New" in the toolbar seems to have "fixed" it, it even works now on subsequent starts.
(In reply to Wolfgang Bauer from comment #3) > I.e. the problem seems to be specific to the gtk3 platformtheme. Hm, apparently not. I just noticed that it actually used the Fusion style when I set QT_QPA_PLATFORMTHEME="gtk3", as the correct name would be "qgtk3"... ;-( OTOH, it did work fine with Fusion before as well. So it actually seems to happen randomly I fear. (I've never seen it with the plasma plugin so far though)
(In reply to Wolfgang Bauer from comment #4) > So it actually seems to happen randomly I fear. (I've never seen it with the > plasma plugin so far though) Ha, and now that I wrote this, it did happen with the plasma plugin... Again, clicking on "New" fixes it.
With some gametypes it seems to happen more reliably though than with others. I disabled "Random Layout" and chose one game after the other, the problem occured with e.g. "Vi", "Arrow" and "Crab" (several times, but not always), and not at all with others.
With "Eagle" I can fairly reliably reproduce it here: - disable "Random Layout" in the settings, and choose "Eagle" - often the window is empty then, if not the problem occurs here after clicking "New" a couple of times at most. (sometimes it works a couple of times in a row, sometimes it stays broken a couple of times) Btw, even the preview for "Eagle" is empty... ;-)
OOC, I tried with the last kdelibs4-based version (15.12.3), and was able to reproduce it there too. So it's not a recent regression...
One thing I haven't noticed before: it actually displays "Error generating new game!" in the status bar here when that problem occurs. As I don't see this in the screenshot (it says "Ready. Now it is your turn." there), the reporter's problem seems to be a different one unfortunately. Sorry for the noise.
And for the record, the problem I was reproducing here seems to be bug#328501...
i get anther computer and i install Ubuntu 18.04 lts and i install the game from the Ubuntu application and open it the game was blank is any something i install before i install the game :(
(In reply to mohamed from comment #11) > i get anther computer and i install Ubuntu 18.04 lts and i install the game > from the Ubuntu application and open it the game was blank is any something > i install before i install the game :( As asked in comment#1, you should run kmahjongg in konsole (or another terminal app like xterm or gnome-terminal) and post the output you get. Hopefully that will contain a useful error message. Btw, I am able to reproduce the exact problem as in the attached screenshot by deleting the data files (backgrounds and tilesets) in /usr/share/kmahjongglib/. AFAICS they should be in the package kdegames-mahjongg-data-kf5 on Debian/Ubuntu, so make sure that it's installed.
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!