[Mono-bugs] [Bug 681614] New: AttributedTitle Property of NSButton has incorrect Export

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 22 11:20:01 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=681614

https://bugzilla.novell.com/show_bug.cgi?id=681614#c0


           Summary: AttributedTitle Property of NSButton has incorrect
                    Export
    Classification: Mono
           Product: MonoMac
           Version: GIT
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Bindings
        AssignedTo: gnorton at novell.com
        ReportedBy: martyn.janes at shumbi.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)

The AttributedTitle property of NSButton is Exported as [Export
("setAttributedTitle:")] this is incorrect.

If property is accessed it produces the following exception:

[NSButton setSetAttributedTitle::]: unrecognized selector sent to instance.

Reproducible: Always

Steps to Reproduce:
1. Try to assign a NSAttributedString to AttributedTitle property of NSButton
2.
3.
Actual Results:  
Throws exception [NSButton setSetAttributedTitle::]: unrecognized selector sent
to instance.

Expected Results:  
Set the property

The Export is correct in the NSButtonCell class as [Export ("attributedTitle")]
and can be accessed as a workaround until this item is fixed.

-- 
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