Bug 358773 - kshisen shows as stuck when obvious moves remain
Summary: kshisen shows as stuck when obvious moves remain
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kshisen
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Frederik Schwarzer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-30 15:44 UTC by chili555
Modified: 2022-10-20 00:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing 'stuck.' (212.55 KB, image/jpeg)
2016-01-30 15:44 UTC, chili555
Details
kshisen settings as requested. (53.20 KB, image/png)
2016-01-31 14:18 UTC, chili555
Details
Second example of report 'stuck' when a move is apparent. (535.87 KB, image/png)
2016-02-18 00:22 UTC, chili555
Details
attachment-31719-0.html (1.77 KB, text/html)
2016-02-21 14:51 UTC, chili555
Details
attachment-17189-0.html (1.41 KB, text/html)
2016-02-25 13:58 UTC, chili555
Details
attachment-23970-0.html (2.28 KB, text/html)
2016-02-27 02:45 UTC, chili555
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chili555 2016-01-30 15:44:57 UTC
Created attachment 96923 [details]
Screenshot showing 'stuck.'

The version is from the Ubuntu package: Version: 4:15.08.2-0ubuntu1. As per the attachment, the game reports 'stuck' when a move remains as shown by the cursor.

Ubuntu 15.10
x86_64
4.2.0-25-generic
Comment 1 Frederik Schwarzer 2016-01-31 12:56:09 UTC
Thank you for your report.
I tried to reproduce today but no luck so far. But I will continue.

A question though: Can you attach a screenshot of the General page of the settings dialogue with all settings being the way they were when the problem occurred?

Thanks you.
Comment 2 chili555 2016-01-31 14:18:24 UTC
Created attachment 96942 [details]
kshisen settings as requested.
Comment 3 Frederik Schwarzer 2016-01-31 22:13:03 UTC
Thank you for the screen shot.

I will try to reproduce this tomorrow.
Comment 4 chili555 2016-02-18 00:20:36 UTC
Here is another example. Please see the cursor.
Comment 5 chili555 2016-02-18 00:22:18 UTC
Created attachment 97273 [details]
Second example of report 'stuck' when a move is apparent.
Comment 6 Frederik Schwarzer 2016-02-19 21:53:18 UTC
I am sorry but the situation here is unfortunate.
1. since that version, I changed quite some things in KShisen
2. I just started ripping it all apart because many parts of the code are old and not written by me (so I sometimes do not know how they are supposed to work)
3. KDevelop refuses to parse the 15.08 version so it does not help me at all while browsing the code
4. I tried to reproduce today again and failed with around 20 games.

So, I believe you that there is a problem, but cannot reproduce it, have a hard time checking the related code for several reasons and also have problems wrapping my head around that specific code, which made me start a complete rewrite.

Do you have any chance to install version 15.12?
Comment 7 chili555 2016-02-21 14:51:18 UTC
Created attachment 97340 [details]
attachment-31719-0.html

I will be happy to try version 15.12. Where may I find it to download and,
I assume, compile?



On Fri, Feb 19, 2016 at 4:53 PM, Frederik Schwarzer via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=358773
>
> --- Comment #6 from Frederik Schwarzer <schwarzer@kde.org> ---
> I am sorry but the situation here is unfortunate.
> 1. since that version, I changed quite some things in KShisen
> 2. I just started ripping it all apart because many parts of the code are
> old
> and not written by me (so I sometimes do not know how they are supposed to
> work)
> 3. KDevelop refuses to parse the 15.08 version so it does not help me at
> all
> while browsing the code
> 4. I tried to reproduce today again and failed with around 20 games.
>
> So, I believe you that there is a problem, but cannot reproduce it, have a
> hard
> time checking the related code for several reasons and also have problems
> wrapping my head around that specific code, which made me start a complete
> rewrite.
>
> Do you have any chance to install version 15.12?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
>
Comment 8 Frederik Schwarzer 2016-02-24 02:03:26 UTC
Hmm, unfortunately there are no newer packages for either Ubuntu or Debian. Ubuntu Xenial still has 15.08 in it's archives. I hope they will update it before the release in April.

Compiling a KDE application is not trivial (lots of prerequisites) so I would not recommend it if you did not compile a KDE application yet.

Currently I am busy with a nasty porting bug in Klickety. As soon as that is fixed, I will spend time again on KShisen.
Comment 9 chili555 2016-02-25 13:58:18 UTC
Created attachment 97553 [details]
attachment-17189-0.html

I am more than happy to compile it. May I have a link?


On Tue, Feb 23, 2016 at 9:03 PM, Frederik Schwarzer via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=358773
>
> --- Comment #8 from Frederik Schwarzer <schwarzer@kde.org> ---
> Hmm, unfortunately there are no newer packages for either Ubuntu or Debian.
> Ubuntu Xenial still has 15.08 in it's archives. I hope they will update it
> before the release in April.
>
> Compiling a KDE application is not trivial (lots of prerequisites) so I
> would
> not recommend it if you did not compile a KDE application yet.
>
> Currently I am busy with a nasty porting bug in Klickety. As soon as that
> is
> fixed, I will spend time again on KShisen.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
>
Comment 10 Frederik Schwarzer 2016-02-26 01:18:56 UTC
Ok then. :)
You can find the code here: https://quickgit.kde.org/?p=kshisen.git
See the "clone url".

The command "apt-get build-dep kshisen" might save you some trouble getting the dependencies.

For the build environment, I have the following variables in my ~/.bashrc file:
export KF5=~/kde5apps/
export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share
export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
export PATH=$KF5/bin:$PATH
export QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64-linux-gnu/plugins:$QT_PLUGIN_PATH
export QML2_IMPORT_PATH=$KF5/lib/qml:$KF5/lib64/qml:$KF5/lib/x86_64-linux-gnu/qml
export QML_IMPORT_PATH=$QML2_IMPORT_PATH
export KDE_SESSION_VERSION=5
export KDE_FULL_SESSION=true

Then, in KShisen source, create a folder named "build", cd into it and say:
cmake -DCMAKE_PREFIX_PATH=~/kde5apps -DCMAKE_INSTALL_PREFIX=~/kde5apps -DCMAKE_BUILD_TYPE=Debug ../

If I forgot something here or you stumble over some other problem, feel free to ask. :)
Comment 11 chili555 2016-02-27 02:45:35 UTC
Created attachment 97580 [details]
attachment-23970-0.html

It compiled perfectly with the additions of 'make' and 'sudo make install.'

I will play it and test. Thank you.

On Thu, Feb 25, 2016 at 8:18 PM, Frederik Schwarzer via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=358773
>
> --- Comment #10 from Frederik Schwarzer <schwarzer@kde.org> ---
> Ok then. :)
> You can find the code here: https://quickgit.kde.org/?p=kshisen.git
> See the "clone url".
>
> The command "apt-get build-dep kshisen" might save you some trouble
> getting the
> dependencies.
>
> For the build environment, I have the following variables in my ~/.bashrc
> file:
> export KF5=~/kde5apps/
> export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share
> export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
> export PATH=$KF5/bin:$PATH
> export
>
> QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64-linux-gnu/plugins:$QT_PLUGIN_PATH
> export
> QML2_IMPORT_PATH=$KF5/lib/qml:$KF5/lib64/qml:$KF5/lib/x86_64-linux-gnu/qml
> export QML_IMPORT_PATH=$QML2_IMPORT_PATH
> export KDE_SESSION_VERSION=5
> export KDE_FULL_SESSION=true
>
> Then, in KShisen source, create a folder named "build", cd into it and say:
> cmake -DCMAKE_PREFIX_PATH=~/kde5apps -DCMAKE_INSTALL_PREFIX=~/kde5apps
> -DCMAKE_BUILD_TYPE=Debug ../
>
> If I forgot something here or you stumble over some other problem, feel
> free to
> ask. :)
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
>
Comment 12 Frederik Schwarzer 2016-02-27 03:18:41 UTC
Oh right, I forgot to mention make and make install.
Good that it worked out.
And thanks for testing this version. :)
Comment 13 Justin Zobel 2022-10-19 22:10:52 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 14 chili555 2022-10-20 00:50:20 UTC
The issue is resolved in the most recent version. Thanks.