Bug 422069 - when i open the game i fined it blank
Summary: when i open the game i fined it blank
Status: RESOLVED WORKSFORME
Alias: None
Product: kmahjongg
Classification: Applications
Component: general (show other bugs)
Version: 0.9
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-25 20:19 UTC by mohamed
Modified: 2020-06-29 04:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot for the game (66.54 KB, image/png)
2020-05-25 20:19 UTC, mohamed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohamed 2020-05-25 20:19:10 UTC
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
Comment 1 Albert Astals Cid 2020-05-25 20:27:01 UTC
if you open it from the terminal (konsole for example), is there any output?
Comment 2 mohamed 2020-05-25 22:45:27 UTC
(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
Comment 3 Wolfgang Bauer 2020-05-26 06:14:58 UTC
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.
Comment 4 Wolfgang Bauer 2020-05-26 06:20:58 UTC
(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)
Comment 5 Wolfgang Bauer 2020-05-26 06:21:55 UTC
(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.
Comment 6 Wolfgang Bauer 2020-05-26 06:32:49 UTC
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.
Comment 7 Wolfgang Bauer 2020-05-26 06:37:28 UTC
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... ;-)
Comment 8 Wolfgang Bauer 2020-05-26 06:47:04 UTC
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...
Comment 9 Wolfgang Bauer 2020-05-26 06:51:40 UTC
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.
Comment 10 Wolfgang Bauer 2020-05-26 07:08:21 UTC
And for the record, the problem I was reproducing here seems to be bug#328501...
Comment 11 mohamed 2020-05-27 19:56:25 UTC
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 :(
Comment 12 Wolfgang Bauer 2020-05-28 11:40:39 UTC
(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.
Comment 13 Bug Janitor Service 2020-06-14 04:33:13 UTC
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!
Comment 14 Bug Janitor Service 2020-06-29 04:33:14 UTC
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!