[Sc-devel] Scroll views broken
Scott Wilson
i at scottwilson.ca
Sat Nov 3 09:53:22 PST 2007
I've committed the fix.
S.
On 1 Nov 2007, at 19:37, Scott Wilson wrote:
> The scroll views are broken in 3.1
>
> ERROR: Message 'handleKeyUpBubbling' not understood.
> RECEIVER:
> nil
> ARGS:
> Instance of SCScrollTopView
> a SCWindow
>
> a SCWindow
> { (16E98180, gc=A8, fmt=00, flg=00, set=05)
> instance variables [22]
> dataptr : RawPointer 184FA440
> parent : nil
> action : nil
> background : nil
> mouseDownAction : nil
> mouseUpAction : nil
> mouseOverAction : nil
> mouseMoveAction : nil
> keyDownAction : nil
> keyUpAction : nil
> keyTyped : Character 3 ''
> keyModifiersChangedAction : nil
> beginDragAction : nil
> canReceiveDragHandler : nil
> receiveDragHandler : nil
> onClose : nil
> children : instance of Array (16F15FB0, size=1, set=1)
> decorator : nil
> autohidesScrollers : true
> hasHorizontalScroller : true
> hasVerticalScroller : true
> autoScrolls : true
> }
> Character 3 ''
> Integer 256
> Integer 3
> Integer 76
> CALL STACK:
> DoesNotUnderstandError:reportError 177ADDF0
> arg this = <instance of DoesNotUnderstandError>
> Nil:handleError 177ADCD0
> arg this = nil
> arg error = <instance of DoesNotUnderstandError>
> Thread:handleError 177ADB50
> arg this = <instance of Thread>
> arg error = <instance of DoesNotUnderstandError>
> Object:throw 177ADA90
> arg this = <instance of DoesNotUnderstandError>
> Object:doesNotUnderstand 177AD970
> arg this = nil
> arg selector = 'handleKeyUpBubbling'
> arg args = [*5]
> SCScrollTopView:handleKeyUpBubbling 16DDDDB0
> arg this = <instance of SCScrollTopView>
> arg view = <instance of SCScrollTopView>
> arg char = $
> arg modifiers = 256
> arg unicode = 3
> arg keycode = 76
> var result = nil
> SCView:keyUp 16DCF410
> arg this = <instance of SCScrollTopView>
> arg char = $
> arg modifiers = 256
> arg unicode = 3
> arg keycode = 76
>
> It seems the problem is the handleKeyUpBubbling etc. methods added
> to SCScrollTopView. I think they should be in SCScrollView (the
> problem is a nil parent), and moving them there seems to solve it.
>
> Shall I commit this?
>
> We may need to have a 3.1.1 Embarrassed Calico Caught Using the
> Neighbour's Garden as a Loo Bug Fix Release
>
> S.
> _______________________________________________
> Sc-devel mailing list
> Sc-devel at create.ucsb.edu
> http://www.create.ucsb.edu/mailman/listinfo/sc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-devel/attachments/20071103/abcf750b/attachment-0001.htm
More information about the Sc-devel
mailing list