On 7/4/07, David Chisnall <[EMAIL PROTECTED]> wrote:
>  On 5 Jul 2007, at 00:46, Yen-Ju Chen wrote:
>
> >   Do you have a quick way to reproduce the bug ?
> >   A small program or a description how to write one to reproduce
> > the bug.
> >   If so, I can take a look and see what I can do.
>
> I don't, but it should be possible to write one.  Populate an
> NSOutlineView with data and then remove some of the items from the
> data source and tell it to reload an item.  It also seems to crop up
> when you collapse a group in StepChat (which is just plain odd).

Not odd at all–the problem is that the selection index isn't being updated.

For example, imagine an outline view with one parent item that has one
child. The parent is expanded and the child item is selected. At this
point the selection index is 2 (or 1 if the counting starts at 0–I
don't remember). You collapse the parent item, but the selection index
is not updated, and is still 2. When another object asks for the
current selection, then tries to access it–out of bounds.

Well, if that was even legible, I hope it was helpful.


Isaiah Beerbower

_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to