[Mono-bugs] [Bug 668200] New: UiColot.GetRGBA throws an index out of range exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 30 12:28:50 EST 2011



           Summary: UiColot.GetRGBA throws 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

When Calling UIColor.GetRGBA for black the library throws an index out of range

Reproducible: Always

Steps to Reproduce:
    float a, r, b, g;
            UIColor.Black.GetRGBA (out r, out g, out b, out a);

Actual Results:  
Index out of range exception

Expected Results:  

I had a similar issue with GetHSB so I ported a set of conversion functions
only to find get rgb fails :-( I was debating how to set the status as this is
severe but is it blocking?

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