Bug 334347 - Demo never stops flipping through the deck to find a card to play
Summary: Demo never stops flipping through the deck to find a card to play
Status: CONFIRMED
Alias: None
Product: kpat
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.6
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 338505 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-04 19:24 UTC by jbn
Modified: 2023-02-27 08:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
A Klondike game that illustrates this bug. (2.56 KB, application/vnd.kde.kpatience.savedstate)
2014-05-04 19:25 UTC, jbn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbn 2014-05-04 19:24:22 UTC
Opening the supplied Kpatience Klondike hand and clicking "Demo" makes Kpatience never stop flipping through the deck looking for a card to play. The solver claims that no matter which playable card one picks, one will end up with a game that cannot be won.

Reproducible: Always

Steps to Reproduce:
1. Load the attached Kpatience Klondike file.
2. Click "Demo".
3. Watch Kpatience repeatedly flip through the deck of cards to play.
Actual Results:  
Kpatience never plays a card and never stops with a clear indication that the game has ended as all foreseeable hands result in a losing game (according to the solver).

Expected Results:  
I expected the demo would stop after going through the entire deck and then I expected that the demo would declare the game lost. Alternately, the demo could try some moves, undo moves, and try something else if the demo reaches a point where it is clear there are no more moves to make.

I didn't expect the demo to endlessly flip through the deck making no moves.

I don't know how the demo ought to work, I only know what I think the demo ought to do (which is what a player would do--try playing until the possibilities are exhausted).
Comment 1 jbn 2014-05-04 19:25:12 UTC
Created attachment 86457 [details]
A Klondike game that illustrates this bug.
Comment 2 Andrew Crouthamel 2018-11-11 04:32:44 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-21 04:32:27 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 jbn 2018-11-21 17:57:09 UTC
3.6 appears to be the latest version and there's no change; the solver is "unable to determine if this game is winnable" and apparently there's no logic in the demo to stop playing after all of the cards in the deck have been dealt without change to any of the piles or foundations.
Comment 5 Justin Zobel 2023-01-18 02:41:17 UTC
Thank you for reporting this issue 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 "REPORTED" when replying. Thank you!
Comment 6 Stephan Kulow 2023-01-18 09:56:37 UTC
I hope setting it to CONFIRMED stops this bot madness
Comment 7 Stephan Kulow 2023-02-27 08:27:53 UTC
*** Bug 338505 has been marked as a duplicate of this bug. ***