NSProgressIndicator bug report
NSProgressIndicator bug report
- Subject: NSProgressIndicator bug report
- From: "Arthur C." <email@hidden>
- Date: Thu, 08 Feb 2007 23:00:54 +0100
Today I have set up an NSProgressIndicator using the timestamp
NSTimeInterval now = [NSDate timeIntervalSinceReferenceDate];
First I set the minimum value for the indicator to 'now', and the maximum to
'now + 60.0' for example. Then I let the current progress value be updated
every 0.1 second using a timer. The progress value is then taken as the
updated 'now'.
I noticed that the progress bar only advances every 10 seconds, on
timestamps ...05, ...15 and so on. The docs say that the NSProgressIndicator
takes doubles as input, but I strongly suspect that the arithmetic is done
using floats...
When I subtracted the startup timestamp, the indicator behaved as it should.
Has this been seen before? If not, the docs should be updated (or better,
the floats should be abandoned).
Best regards,
Arthur C.
_________________________________________________________________
Play online games with your friends with Messenger
http://www.join.msn.com/messenger/overview
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden