NSButtonCell does not properly respond to setEnabled:NO

Originator:michael.lamorte
Number:rdar://10356883 Date Originated:27-Oct-2011
Status:Open Resolved:
Product:Developer Tools Product Version:3.x
Classification:Other Bug Reproducible:Always
 
Summary:
When setting an NSButtonCell or subclass of NSButtonCell to setEnabled:NO, the button and label are greyed out, the button is not clickable, but the cell is still selectable. According to NSCell's documentation of setEnabled:

"If a cell is disabled, it cannot be highlighted"

This behavior is broken in NSButtonCell


Steps to Reproduce:
Create a table. Set the cells to setEnabled:NO via code. Build & run. Click on one of the cells.


Expected Results:
No row is selected.


Actual Results:
The row is selected.


Regression:

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!