wagif / solitaire-for-android

Automatically exported from code.google.com/p/solitaire-for-android
Apache License 2.0
0 stars 0 forks source link

Spider gets into bad state if dealing while screen locked #122

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Screen Off and Lock,  
https://market.android.com/details?id=com.katecca.screenofflock and configure 
for long press of search to lock the screen.
2. long press home to get recently used app selection
3. long press search to lock screen
4. unlock screen; partial deal may have happened; leading to many bad things:

What is the expected output? What do you see instead?

Expectation: screen locked, deal didn't happen (or maybe it happened completely)

a) deal count is decremented, but you can still deal after it reaches zero
b) undo makes state worse: will undeal 10 cards, including initial cards 
(leaving some stacks with face down cards)
c) got a fatal error when I won from this state

What version of the product are you using? On what operating system?

1.12.2; On LG Optimus V, Android 2.2.1; unrooted

Please provide any additional information below.

(installed screen off and lock because my power button stopped working; i would 
imagine, but can't confirm locking the screen with the power button while 
dealing would cause the same issue)

Original issue reported on code.google.com by rus...@gmail.com on 14 Jan 2012 at 8:54