Bug 379332

Summary: Kshisen displays a completely blank window
Product: [Applications] kshisen Reporter: Alex Fisher <settantta>
Component: generalAssignee: Frederik Schwarzer <schwarzer>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: aacid, kde-games-bugs-null, simonandric5
Priority: NOR    
Version First Reported In: 1.8+ #13   
Target Milestone: ---   
Platform: PCLinuxOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of Kshisen's blank window.
Synaptic showing installed kmahjongg libraries.
Log file as requested

Description Alex Fisher 2017-04-29 04:30:59 UTC
Created attachment 105249 [details]
screenshot of Kshisen's blank window.

When trying to start Kshisen, the window appears with no content apart from the normal menu bar and toolbar icons. This has been the case since upgrading to the latest from PSLinuxOS. That also means that I'm now running KDE 5 BTW.

See attached screenshot
Comment 1 Albert Astals Cid 2017-04-29 09:51:32 UTC
There's no such thing as KDE 5.

What's the output of kshisen --version?

Do you have installed libkf5kmahjongglib5 or something that may have a similar name?
Comment 2 Alex Fisher 2017-04-29 10:09:34 UTC
Created attachment 105256 [details]
Synaptic showing installed kmahjongg libraries.
Comment 3 Albert Astals Cid 2017-04-29 10:14:08 UTC
Can you run

strace kshishen &> log

and attach the resulting log file here?
Comment 4 Alex Fisher 2017-04-29 10:15:40 UTC
[alex@dairmid ~]$ kshisen --version
Qt: 4.8.7
KDE Development Platform: 4.14.30
Shisen-Sho: 1.8+ #13
[alex@dairmid ~]$ 

See accompanying screenshot from Synaptic:

Repository contains a directory named "kde5", as does the relevant entries in Synaptic. Most definitely the distro seems to think it's KDE 5, but I guess you want to be pedantic and insist that it is actually Plasma 5.
Comment 5 Alex Fisher 2017-04-29 10:18:47 UTC
Created attachment 105257 [details]
Log file as requested
Comment 6 Alex Fisher 2017-04-29 10:22:23 UTC
After running the command I clicked the new game button, then the pause game, then pause again, finally File-->quit.
Comment 7 Albert Astals Cid 2017-04-29 10:32:35 UTC
(In reply to Alex Fisher from comment #4)
> [alex@dairmid ~]$ kshisen --version
> Qt: 4.8.7
> KDE Development Platform: 4.14.30
> Shisen-Sho: 1.8+ #13
> [alex@dairmid ~]$ 
> 
> See accompanying screenshot from Synaptic:
> 
> Repository contains a directory named "kde5"
Not my fault people are stubbornly calling things wrongly.

> as does the relevant entries
> in Synaptic. Most definitely the distro seems to think it's KDE 5, but I
> guess you want to be pedantic and insist that it is actually Plasma 5.

Yes and no, the desktop is called Plasma 5, kshishen is just kshishen since it is not related to the desktop you're using at all and works fine in any other place.

See http://tsdgeos.blogspot.com.es/2014/08/kde-releases-in-future.html
Comment 8 Albert Astals Cid 2017-04-29 10:38:17 UTC
You don't have any tileset installed

$ grep tilesets bug379322.log
access("/home/alex/.kde/share/apps/kmahjongglib/tilesets/", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/apps/kmahjongglib/tilesets/", R_OK) = -1 ENOENT (No such file or directory)
stat("/usr/share/apps/kmahjongglib/tilesets", 0x7ffedb4f38b0) = -1 ENOENT (No such file or directory)
access("/home/alex/.kde/share/apps/kmahjongglib/tilesets/default.desktop", R_OK) = -1 ENOENT (No such file or directory)

Complain to the PSLinuxOS people, they should make whaterver package provides the tilesets a dependency of kshisen
Comment 9 Alex Fisher 2017-04-29 10:50:10 UTC
(In reply to Albert Astals Cid from comment #8)
> You don't have any tileset installed

That makes no sense, as Kmahjongg itself runs perfectly. Eithr kmahjong has the tilesets built in, or something else wierd is going on.

I'm working on the assumption that the same tilesets are used for both Kmahjongg and Kshisen.
> 
> $ grep tilesets bug379322.log
> access("/home/alex/.kde/share/apps/kmahjongglib/tilesets/", R_OK) = -1
> ENOENT (No such file or directory)
> access("/usr/share/apps/kmahjongglib/tilesets/", R_OK) = -1 ENOENT (No such
> file or directory)
> stat("/usr/share/apps/kmahjongglib/tilesets", 0x7ffedb4f38b0) = -1 ENOENT
> (No such file or directory)
> access("/home/alex/.kde/share/apps/kmahjongglib/tilesets/default.desktop",
> R_OK) = -1 ENOENT (No such file or directory)
> 
> Complain to the PSLinuxOS people, they should make whaterver package
> provides the tilesets a dependency of kshisen

See above....
Comment 10 Albert Astals Cid 2017-04-29 11:08:56 UTC
(In reply to Alex Fisher from comment #9)
> (In reply to Albert Astals Cid from comment #8)
> > You don't have any tileset installed
> 
> That makes no sense, as Kmahjongg itself runs perfectly. Eithr kmahjong has
> the tilesets built in, or something else wierd is going on.

Yes, you have an old kshisen for some reason, it's still using kdelibs/qt4 instead of kf5/qt5
Comment 11 Alex Fisher 2017-04-29 11:10:45 UTC
Aha! that seems to make sense then. I'll have to bitch to Texstar....