Bug 339865

Summary: mouse clicks cause game delay
Product: [Applications] kshisen Reporter: Steven Mitchell <smitchel>
Component: generalAssignee: Frederik Schwarzer <schwarzer>
Status: RESOLVED FIXED    
Severity: normal CC: iandw.au, kde-games-bugs
Priority: NOR    
Version: 1.8.4   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In: KDE SC 4.9
Sentry Crash Report:

Description Steven Mitchell 2014-10-11 03:43:28 UTC
After playing several games without restarting shisen-sho, if you click on two adjacent tiles quickly, there is a delay of several seconds, and then it will remove the tiles.
During this time, the game clock stops and resumes after the two matching tiles are removed.
The clock in KDE (a widget on my panel) continues to run.

For the rest of the game (and next games), you get the delay of several seconds per move, when clicking on two matching tiles normal speed between clicks.    If you click one tile, and wait a second or more then click the matching tile, it proceeds normally.  (but this is a timed game after all...)

Closing and restarting shisen-sho resets responsiveness back to normal.
I'm running Slackware64 14.0 with kde 4.8.5.
system is an Asus GA-990FXA UD7 motherboard and an AMD  FX8150 8 core processor at 3.4 Ghz.

This behavior is repeatable day after day for several months.
Comment 1 Christoph Feck 2014-10-25 17:02:16 UTC
Could you please check if this is a duplicate of bug 302606 ?
Comment 2 Steven Mitchell 2014-10-26 20:04:57 UTC
It appears that the same fix works, that is, turning off the sound in 
the settings stops the problem of slow game play.
I do not hear any sounds anyway. so didn't know they were on.
Sounds work in other applications just fine.

Steve Mitchell




On 10/25/2014 01:02 PM, Christoph Feck wrote:
> https://bugs.kde.org/show_bug.cgi?id=339865
>
> --- Comment #1 from Christoph Feck <christoph@maxiom.de> ---
> Could you please check if this is a duplicate of bug 302606 ?
>
Comment 3 Ian Wadham 2014-10-28 22:37:40 UTC
I see you are using KDE 4.8.5.

As of KDE 4.9, released in August 2012, KShisen switched to a new sound library, which should fix this problem.

The new library highly recommends incorporating OpenAL and libsndfile libraries, for sound in KDE Games, and I believe most distros are doing that.
Comment 4 Steven Mitchell 2014-10-29 02:18:24 UTC
Thank you Ian.
I am oin the subscription plan for Slackware64, and in a month or so
they should be releasing slackware64 15.0 which has an updated version 
of kde
in it.

Steve Mitchell










On 10/28/2014 5:37 PM, Ian Wadham wrote:
> https://bugs.kde.org/show_bug.cgi?id=339865
>
> Ian Wadham <iandw.au@gmail.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>           Resolution|---                         |FIXED
>                   CC|                            |iandw.au@gmail.com
>
> --- Comment #3 from Ian Wadham <iandw.au@gmail.com> ---
> I see you are using KDE 4.8.5.
>
> As of KDE 4.9, released in August 2012, KShisen switched to a new sound
> library, which should fix this problem.
>
> The new library highly recommends incorporating OpenAL and libsndfile
> libraries, for sound in KDE Games, and I believe most distros are doing that.
>