[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in NSBrowser ?

From: Yen-Ju Chen
Subject: Re: bug in NSBrowser ?
Date: Sun, 08 Sep 2002 11:28:51 -0400

 I realize that I misunderstood the usage of browser:selectRow:inColumn.
 Thanx for the hint.
 And there is a minor bug that browser won't select the cell in matrix
 after browser:selectRow:inColumn: return YES.
 I attach a patch for that if it is a bug.


From: Adam Fedor <address@hidden>
To: Yen-Ju Chen <address@hidden>, GNUstep bugs <address@hidden>
Subject: Re: bug in NSBrowser ?
Date: Sat, 07 Sep 2002 21:29:30 -0600

I tried your example on MacOSX and it didn't work at all (crashed), but after fixing a few things I found that GNUstep's NSBrowser does not really conform to the documentation. I fixed those parts, but I don't think that really helps you any. I think what you were doing before was querying the browser state in the middle of an update which was giving indeterminate results.

The delegate should really be getting a willDisplay message whenever it displays the cells, but that isn't happening now. Also, I found that MacOSX makes a further optimization of only 'loading' cells that are in the visible rect of the scroller. I'm not sure how it does that, but it must be a much tighter integration of Browser/Scroller/Matrix classes.

Chat with friends online, try MSN Messenger: http://messenger.msn.com

Attachment: NSBrowser.m.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]