Re: Exception when clicking leftmost header in TableView
Re: Exception when clicking leftmost header in TableView
- Subject: Re: Exception when clicking leftmost header in TableView
- From: Andy Lee <email@hidden>
- Date: Thu, 11 Apr 2002 11:44:26 -0400
At 5:25 PM +0200 4/11/02, Nicola Vitacolonna wrote:
The exception is
raised *only* when clicking on the two or three leftmost pixels of the
leftmost header, and in that case my method is *not* called at all, as
isn't any other delegate I implemented (such as
shouldSelectTableColumn:). Instead, if I click in any other point of the
header, everything goes fine.
I just reproduced this. It's easy, just drop an NSTableView into any
window, run the app, and as you said, click on the ve-e-ery left edge
of the leftmost header. I get:
2002-04-11 11:35:21.307 Scratch[20809] *** -[NSCFArray
objectAtIndex:]: index (-1) beyond bounds (2)
This should be reported as a bug, I'm guessing due to a boundary case
in some rectangle arithmetic. It is probably harmless and I would
ignore it for purposes of your app, but it should be reported
nevertheless at
http://bugreport.apple.com so Apple can fix it.
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.