[Mono-bugs] [Bug 662393] New: NSDatePicker wraps NSDatePickerCellDelegate for events but doesn't expose the NSDatePickerCell

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 5 03:21:11 EST 2011



           Summary: NSDatePicker wraps NSDatePickerCellDelegate for events
                    but doesn't expose the NSDatePickerCell
    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: kjpou at pt.lu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-us)
AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

copy and paste from irc

kjpou1: void ValidateProposedDateValue (NSDatePickerCell aDatePickerCell, ref
NSDate proposedDateValue, double proposedTimeInterval);
[08:18am] kjpou1: the reference to aDatePickerCell is not being picked up
[08:18am] kjpou1: the others are though
[08:20am] kjpou1: Hold on
[08:22am] kjpou1: yes exactly the NSDatePickerValidatorEventArgs object that is
being sent does not contain a reference to the first parameter
[08:22am] kangaroo: ok
[08:22am] kangaroo: so I know whats going on here
[08:22am] kangaroo: NSDatePicker is a weird class
[08:23am] kangaroo: where its Delegate is actually dispatched to the
[08:23am] kjpou1: it can keep
[08:23am] kjpou1: go to bed
[08:23am] kjpou1: yes exactly
[08:23am] kangaroo: and we currently have that bound as wrapping the events of
the NSDatePickerCellDelegate onto the NSDatePicker
[08:23am] kangaroo: we probably cannot safely do that
[08:23am] kjpou1: this one was definitely a pain in the ass all the around
[08:23am] kangaroo: nod
[08:23am] kangaroo: its an edge case
[08:23am] kangaroo: can you please file a bug about it
[08:24am] kangaroo: and I'll discuss with miguel how we want to handle it?

Reproducible: Always

Steps to Reproduce:
Actual Results:  
Reference to DatePickerCell not available in NSDateValidatorEventArgs

Expected Results:  
Reference to DatePickerCell available in NSDateValidatorEventArgs

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