Bug 336073

Summary: cards can be dragged in one game and dropped in the next
Product: [Applications] kpat Reporter: Martin Walch <walch.martin>
Component: generalAssignee: Stephan Kulow <coolo>
Status: CONFIRMED ---    
Severity: normal CC: aacid, kde-games-bugs-null
Priority: NOR    
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of a game of spider with inconsistent state after dragging cards from the previous game

Description Martin Walch 2014-06-11 11:09:38 UTC
Created attachment 87126 [details]
screenshot of a game of spider with inconsistent state after dragging cards from the previous game

While trying to reproduce bug #322240, I came across the fact that one can pick up one or more cards in a game, then press F5 and then release those cards. Attached screenshot shows what then can happen.

Eventually this will often lead to a crash (SIGABRT) when returning to the starting screen (which allows selecting one of the twelve different games).
Comment 1 Martin Walch 2018-11-11 11:56:38 UTC
This is still present in KPatience 3.6 from KDE Applications 18.04.3.

Note: This does not only apply to restarting a game with F5, but also to dealing new cards with Ctrl+N or selecting a particular game number with Ctrl+D.
Comment 2 Justin Zobel 2022-12-03 09:01:28 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 3 Martin Walch 2022-12-04 21:47:39 UTC
Still there in 22.04.3.