[BUG] Can't click into empty class pane.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[BUG] Can't click into empty class pane.

Casey Ransberger-2
Repro:

Open a system browser.
Right click the category pane.
Click add item...
Type a new category name.
Accept.
Click in the class pane.

Actual:

Subscript was out of bounds. Here's what was on the stack:

 #('Array(Object)>>error:' 'Array(Object)>>errorSubscriptBounds:' 'Array(Object)>>at:' 'Browser>>classListIndex:' 'PluggableListMorph>>changeModelSelection:' 'PluggableListMorph>>mouseUp:localPosition:' 'PluggableListMorph(Morph)>>processMouseUp:localPosition:' 'MouseButtonEvent>>sentTo:localPosition:' 'PluggableListMorph(Morph)>>handleFocusEvent:' 'HandMorph>>startMouseDispatch:' 'MouseButtonEvent(MouseEvent)>>startDispatchFrom:' 'HandMorph>>startEventDispatch:' 'HandMorph>>processEventQueue' '[] in WorldState>>doOneCycleNowFor:' 'Array(SequenceableCollection)>>do:' 'WorldState>>handsDo:' 'WorldState>>doOneCycleNowFor:' 'WorldState>>doOneCycleFor:' 'PasteUpMorph>>doOneCycle' '[] in ProjectX class>>spawnNewMorphicProcessFor:')


--
Casey Ransberger

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Can't click into empty class pane.

Juan Vuletich-4
Thanks, Casey. Fix available at GitHub.

Cheers,
Juan Vuletich

Casey Ransberger wrote:

> Repro:
>
> Open a system browser.
> Right click the category pane.
> Click add item...
> Type a new category name.
> Accept.
> Click in the class pane.
>
> Actual:
>
> Subscript was out of bounds. Here's what was on the stack:
>
>  #('Array(Object)>>error:' 'Array(Object)>>errorSubscriptBounds:'
> 'Array(Object)>>at:' 'Browser>>classListIndex:'
> 'PluggableListMorph>>changeModelSelection:'
> 'PluggableListMorph>>mouseUp:localPosition:'
> 'PluggableListMorph(Morph)>>processMouseUp:localPosition:'
> 'MouseButtonEvent>>sentTo:localPosition:'
> 'PluggableListMorph(Morph)>>handleFocusEvent:'
> 'HandMorph>>startMouseDispatch:'
> 'MouseButtonEvent(MouseEvent)>>startDispatchFrom:'
> 'HandMorph>>startEventDispatch:' 'HandMorph>>processEventQueue' '[] in
> WorldState>>doOneCycleNowFor:' 'Array(SequenceableCollection)>>do:'
> 'WorldState>>handsDo:' 'WorldState>>doOneCycleNowFor:'
> 'WorldState>>doOneCycleFor:' 'PasteUpMorph>>doOneCycle' '[] in
> ProjectX class>>spawnNewMorphicProcessFor:')
>
>
> --
> Casey Ransberger
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cuis mailing list
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>  


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org