Issue Details (XML | Word | Printable)

Key: SQ-787
Type: Bug Bug
Status: Closed Closed
Resolution: Complete
Priority: Normal Normal
Assignee: Bert Freudenberg
Reporter: Stephen Thomas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
squeakland

If you set a timer to a negative value it does not behave as you would expect

Created: 06/Sep/10 11:22 PM   Updated: 07/Sep/10 07:01 AM   Resolved: 07/Sep/10 07:01 AM
Component/s: etoys
Fix Version/s: etoys 4.1

Time Tracking:
Not Specified


 Description  « Hide
Tried setting to -10 expecting within 10 seconds it would go to 0.

Kudos to my son who came up with this test when I complained that the XO StopWatch did not have a countdown timer. My son said yes it does and tried to set the timer value to a negative number (which unfortunately didn't work).

Bert Freudenberg added a comment - 07/Sep/10 07:01 AM
Heh, nice one. Yes, the timer rolls over, and negative values right now were treated as large positive ones.

I changed it so there is an equal time before rollover in positive as negative direction (536870 seconds, about 6 days).

Fixed in Etoys-bf.44