Apparent NSTableView Bug

2010-01-28 Thread Daniel Wambold
I have run up against an apparent 10.6.2 bug in the NSTableView object. Specifically, if NSTableViewSelectionHighlightStyleNone is set, the tableView causes Assertion failures and other problems. Below is some code demonstrating the problem. In any event, I need to emulate the None style for

Re: Apparent NSTableView Bug

2010-01-28 Thread Corbin Dunn
It's definitely a bug in AppKit; thank you for logging it, and including a test case. Try setting -setAllowsColumnSelection:NO. That work? corbin On Jan 28, 2010, at 2:00 PM, Daniel Wambold wrote: I have run up against an apparent 10.6.2 bug in the NSTableView object. Specifically, if

Re: Apparent NSTableView Bug

2010-01-28 Thread Daniel Wambold
Corbin- Looks like [myTableView setAllowsColumnSelection:NO]; stopped the crashing for now (I'm sure I've made plenty of other mistakes that are lurking in the dark) Thanks for the tip! -dan___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

NSTableView bug?

2009-07-02 Thread Chris Carson
Hello, I've created a simple application with an NSTableView. I have written a delegate for this table, numberOfRowsInTableView:objectValueForTableColumn:row:, that returns the number of rows in the table when requested. My application uses the table view to display hexadecimal data on a

Re: NSTableView bug?

2009-07-02 Thread Michael Ash
On Thu, Jul 2, 2009 at 10:51 AM, Chris Carsoncucar...@yahoo.com wrote: Hello, I've created a simple application with an NSTableView. I have written a delegate for this table, numberOfRowsInTableView:objectValueForTableColumn:row:, that returns the number of rows in the table when

Re: NSTableView bug?

2009-07-02 Thread Scott Andrew
I had this problem but it had to do with calculating the height for the row and returning a float value. When i made sure i returned an int this went away. Not sure if you doing that. Scott On Jul 2, 2009, at 7:51 AM, Chris Carson wrote: Hello, I've created a simple application with an

Re: NSTableView bug?

2009-07-02 Thread Shawn Erickson
On Thu, Jul 2, 2009 at 8:37 AM, Michael Ashmichael@gmail.com wrote: On Thu, Jul 2, 2009 at 10:51 AM, Chris Carsoncucar...@yahoo.com wrote: Hello, I've created a simple application with an NSTableView. I have written a delegate for this table,

Re: NSTableView bug?

2009-07-02 Thread Tito Ciuro
On 2 Jul 2009, at 9:36 AM, Shawn Erickson wrote: On Thu, Jul 2, 2009 at 8:37 AM, Michael Ashmichael@gmail.com wrote: On Thu, Jul 2, 2009 at 10:51 AM, Chris Carsoncucar...@yahoo.com wrote: Hello, I've created a simple application with an NSTableView. I have written a delegate for

Re: NSTableView bug?

2009-07-02 Thread I. Savant
On Jul 2, 2009, at 12:52 PM, Tito Ciuro wrote: Not to mention that dragging the scroll thumb one pixel will result in thousands of rows scrolled at once. Simply useless. Well, yes, but the only real way to avoid that is to design your application to limit the amount of data presented to

Re: NSTableView bug?

2009-07-02 Thread Tito Ciuro
On 2 Jul 2009, at 9:56 AM, I. Savant wrote: On Jul 2, 2009, at 12:52 PM, Tito Ciuro wrote: Not to mention that dragging the scroll thumb one pixel will result in thousands of rows scrolled at once. Simply useless. Well, yes, but the only real way to avoid that is to design your

Re: NSTableView bug?

2009-07-02 Thread I. Savant
On Jul 2, 2009, at 1:11 PM, Tito Ciuro wrote: I totally agree. I would never present anywhere that much info to the user. It's overwhelming and difficult to navigate through. My comment referred to a bad approach in design: I was adding another argument as to why displaying 14 million rows

Re: NSTableView bug?

2009-07-02 Thread Jean-Daniel Dupas
I've created a simple application with an NSTableView. I have written a delegate for this table, numberOfRowsInTableView:objectValueForTableColumn:row:, that returns the number of rows in the table when requested. My application uses the table view to display hexadecimal data on a flash

Re: NSTableView bug?

2009-07-02 Thread Scott Andrew
I was going to recommend 0xED is a good one too. Very fast and he appears to be using a custom view of somesort. Scott On Jul 2, 2009, at 10:21 AM, Jean-Daniel Dupas wrote: I've created a simple application with an NSTableView. I have written a delegate for this table,

Re: NSTableView bug?

2009-07-02 Thread Greg Guerin
Tito Ciuro wrote: Not to mention that dragging the scroll thumb one pixel will result in thousands of rows scrolled at once. Simply useless. Hold down the Option key and drag the thumb. It should micro scroll for as long as Option remains down. This scroller gesture modifier has been

Re: NSTableView bug?

2009-07-02 Thread Tito Ciuro
On 2 Jul 2009, at 11:10 AM, Greg Guerin wrote: Hold down the Option key and drag the thumb. It should micro scroll for as long as Option remains down. This scroller gesture modifier has been around for a while. Wow. Never heard about this one before. I wonder how many people know about