Bug 18108 - NSTableViewDelegate is completely ignored if SelectionDidChange is defined on NSTableView
Summary: NSTableViewDelegate is completely ignored if SelectionDidChange is defined on...
Status: RESOLVED FEATURE
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.6.34
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2014-03-01 20:41 UTC by Zhenya
Modified: 2014-12-03 14:42 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description Zhenya 2014-03-01 20:41:24 UTC
Not sure if it is the same as 12467 but here is what happens. If I setup a listener for SelectionDidChange on a NSTableView then my instance of NSTableViewDelegate is completely ignored and its methods are not called. It works normally if I remove SelectionDidChange listener.
Comment 1 Miguel de Icaza [MSFT] 2014-12-03 14:42:59 UTC
This is correct.

The design allows for users to either use events, or use the Delegate idiom, not both at the same time.