[Mono-bugs] [Bug 668154] New: UIColor.GetHSBA() fails for the color white with an index out of range exception
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Jan 29 07:33:51 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=668154
https://bugzilla.novell.com/show_bug.cgi?id=668154#c0
Summary: UIColor.GetHSBA() fails for the color white with an
index out of range exception
Classification: Mono
Product: MonoTouch
Version: SVN
Platform: Macintosh
OS/Version: Apple iOS 4.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Class Libraries
AssignedTo: gnorton at novell.com
ReportedBy: david.black at casewise.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us)
AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
A call to UiColor.White.GetHSBA() will throw an index out of range exception
every time
Reproducible: Always
Steps to Reproduce:
Run the following code
float hue;
float sat;
float bright;
float alpha;
UIColor.White.GetHSBA (out hue, out sat, out bright, out alpha);
Actual Results:
Index out of range exception: HINT! UIColor.White has only 2 components not
three?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list