Summary: | freecell: wrong automatic placement of cards into the foundation piles | ||
---|---|---|---|
Product: | [Applications] kpat | Reporter: | Levy, Chen <kde> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Imposible state in freecell.
Drowing error Game initial position Screenshot: 2nd occurrence of the bug - 6-of-harts is out. Screenshot: 2nd occurrence of the bug - 6-of-harts alone Bad Ordering in Klondike |
Description
Levy, Chen
2004-05-21 00:59:39 UTC
Created attachment 6069 [details]
Imposible state in freecell.
This is shot #1/3: it shows the impossible state denoted in the first ASCII art
above.
Created attachment 6070 [details]
Drowing error
Shot #2/3: see undo-14a
Created attachment 6071 [details]
Game initial position
Shot #3/3: It may (or may not) help reproduce the bug.
It just happend again. I have a new guess for steps of reproduction, although it is by no means an assured way. This time I dragged a playing pile, while the animation for automatically moving cards to the foundation pile, was running. When I did so, everything looked OK (i.e. move-cards-to-the-foundation-pile animation was stopped, and was replaced by the animation of moving the playing pile to it's new location, and then the move-cards-to-the-foundation-pile animation was resumed), this until it stopped in an impossible state: This time the top card in the hart foundation pile is 7-of-harts while the 6-of-harts is still in the playing pile. Created attachment 6387 [details]
Screenshot: 2nd occurrence of the bug - 6-of-harts is out.
This is the impossible state, at which the move-cards-to-the-foundation-pile
animation was stopped. Note that while the 6-of-harts is out in the playing
pile, the 7-of-harts is the top most card in the foundation pile.
Created attachment 6388 [details]
Screenshot: 2nd occurrence of the bug - 6-of-harts alone
When I let the game continue, by moving the 6-of-harts aside, the game "ends"
like this, with the 6-of-harts all alone in the playing pile.
OK, this bug is now reproduceable! Here how to do it: 1) Make sure that "Enable autodrop" is checkd on the Settings menu. 2) Start a freecell game (obviously) 3) Play for a win. Try to keep 4 high and ordered playing piles. This demands that there will be someware a low card that is blocking the automatic end (with a win) of a game. 4) Remove the blocking card, and let the game play itself out. While this is happening try to drag one of the playing piles (you may not be able to do so, but at least one pile should be movable). 5) Keep dragging this pile around. You may notice that some cards from the foundation pile are moving along side of the pile you are dragging. When you finaly drop the pile, you may notice that while the 3 other piles had deminished, the dragged pile stays in its original hight. This looks like the source of the problem - a card seems to be in 2 places at once: In the playing pile that was dragged around, and in the foundation piles. HTH. Created attachment 12988 [details]
Bad Ordering in Klondike
The same problem occurs in klondike. note how the 4 of Spades is in play, and
the 5 of spades is on the foundation.
|