Bug 468933

Summary: Auto move is too aggressive
Product: [Applications] kpat Reporter: Berengal <sjurberengal+kde>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde-games-bugs-null
Priority: NOR    
Version First Reported In: 23.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Berengal 2023-04-24 22:57:17 UTC
SUMMARY

The auto move function is too aggressive and will move cards that makes the game unsolvable, often requiring multiple undo steps to get back to a solvable state. I've especially noticed it in freecell where it gets in the way frequently, which it didn't use to do in the previous version.


STEPS TO REPRODUCE
1. Play a game of freecell
2. Expose a card that can be moved to the foundation but really shouldn't (e.g. a 4 or higher with only empty or aces in the other suits)

OBSERVED RESULT
The card is auto moved to the foundation.

EXPECTED RESULT
The card is only moved if it doesn't create an unsolvable state, or at least only if it's within 1 or 2 ranks of the lowest card on the foundation.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9 (bygd mot 5.15.8)

ADDITIONAL INFORMATION
Comment 1 Stephan Kulow 2023-06-10 12:12:50 UTC

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