Bug 338505 - Klondike, Demo stuck in infinite loop
Summary: Klondike, Demo stuck in infinite loop
Status: RESOLVED DUPLICATE of bug 334347
Alias: None
Product: kpat
Classification: Applications
Component: solver (show other bugs)
Version: 3.6
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-23 14:39 UTC by q39uc+54mfxqm10agiw
Modified: 2023-02-27 08:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
SaveGame (28.42 KB, application/vnd.kde.kpatience.savedgame)
2014-08-23 14:40 UTC, q39uc+54mfxqm10agiw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description q39uc+54mfxqm10agiw 2014-08-23 14:39:00 UTC
If all possible moves are either uncomputable for the solver ("Unable to determine if winnable") or would lead to defeat ("This game cannot be won") the demo is stuck in a infinite loop where it flips through the cards in the top left corner again and again.

Reproducible: Always

Steps to Reproduce:
1. Load the attached savegame
2. Start the demo
Actual Results:  
Demo is stuck in an infinite loop where it flips through the cards in the top left corner again and again

Expected Results:  
Stop demo? Loose game?
Comment 1 q39uc+54mfxqm10agiw 2014-08-23 14:40:33 UTC
Created attachment 88387 [details]
SaveGame
Comment 2 Stephan Kulow 2014-08-24 06:09:08 UTC
that's just how it's programmed. If there is no solution, it plays random legal moves - which happens to be inifite for klondike. The game is called patience, so just watch the infinite demo with such :)
Comment 3 q39uc+54mfxqm10agiw 2014-08-24 14:48:49 UTC
IMO the demo should stop and report to the user that there are no meaningful moves left if it's stuck in a infinite loop of the same moves. So the user knows continuing playing this game/running the demo makes no sense (if he hasn't noticed himself :P)
Comment 4 Andrew Crouthamel 2018-11-12 02:47:21 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 5 Andrew Crouthamel 2018-11-21 04:24:19 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 6 Justin Zobel 2023-01-04 07:05:26 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 7 Stephan Kulow 2023-02-27 08:27:53 UTC

*** This bug has been marked as a duplicate of bug 334347 ***