Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

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

Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo
Status: New
Owner: ----

New issue 5627 by [hidden email]: "MessageNotUnderstood: receiver  
of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

Pharo image: Pharo1.4 Latest update: #14437
Virtual machine used: MacOSX Pharo VM 6.0-pre (21.0)

Steps to reproduce:
1. Open the halos on something (doesn't matter what)
2. Click the red Menu-Halo
3. You get a debugger with "MessageNotUnderstood: receiver  
of "displayWorld" is nil"

THERE_BE_DRAGONS_HERE
MessageNotUnderstood: receiver of "displayWorld" is nil
18 April 2012 3:10:55.732 pm

VM: Mac OS - intel - 1073 - CoInterpreter  
VMMaker-oscog-EstebanLorenzano.139 uuid:  
5aa53979-d7d8-4ca3-91fe-cfc3b4109c33 Apr  5 2012,  
StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.139 uuid:  
5aa53979-d7d8-4ca3-91fe-cfc3b4109c33 Apr  5 2012,  
https://git.gitorious.org/cogvm/blessed.git Commit:  
846551630c3c10df1f59588a6e7131d602f00b45 Date: Thu Apr 5 14:13:41 2012  
+0200 By: Esteban Lorenzano <[hidden email]>
Image: Pharo1.4 [Latest update: #14437]

UndefinedObject(Object)>>doesNotUnderstand: #displayWorld
        Receiver: nil
        Arguments and temporary variables:
                aMessage: displayWorld
                exception: MessageNotUnderstood: receiver of "displayWorld" is nil
                resumeValue: nil
        Receiver's instance variables:
nil

HaloMorph>>doMenu:with:
        Receiver: a HaloMorph(202375168)
        Arguments and temporary variables:
                evt: [(220@121) mouseDown red 2887 nil]
                menuHandle: a Morph(1040187392)
                menu: nil
        Receiver's instance variables:
                bounds: (101.0@151.0) corner: (599.0@178.0)
                owner: nil
                submorphs: #()
                fullBounds: (101.0@151.0) corner: (599.0@178.0)
                color: Color transparent
                extension: a MorphExtension (226492416)
                target: an AlignmentMorph(81788928)
                innerTarget: an AlignmentMorph(81788928)
                positionOffset: (205.0@14.0)
                angleOffset: nil
                growingOrRotating: false
                directionArrowAnchor: nil
                haloBox: (87@124) corner: (613.0@204)
                originalExtent: nil
                nameMorph: a NameStringInHalo(108789760)'an AlignmentMorph(81788928)'


EventHandler>>send:to:withEvent:fromMorph:
        Receiver: an EventHandler; mouseDownSelector=doMenu:with:;  
mouseUpSelector=endInteraction recipients...etc...
        Arguments and temporary variables:
                selector: #doMenu:with:
                recipient: a HaloMorph(202375168)
                event: [(220@121) mouseDown red 2887 nil]
                sourceMorph: a Morph(1040187392)
                arity: 2
        Receiver's instance variables:
                mouseDownRecipient: a HaloMorph(202375168)
                mouseDownSelector: #doMenu:with:
                mouseMoveRecipient: nil
                mouseMoveSelector: nil
                mouseStillDownRecipient: nil
                mouseStillDownSelector: nil
                mouseUpRecipient: a HaloMorph(202375168)
                mouseUpSelector: #endInteraction
                mouseEnterRecipient: nil
                mouseEnterSelector: nil
                mouseLeaveRecipient: nil
                mouseLeaveSelector: nil
                mouseEnterDraggingRecipient: nil
                mouseEnterDraggingSelector: nil
                mouseLeaveDraggingRecipient: nil
                mouseLeaveDraggingSelector: nil
                keyStrokeRecipient: nil
                keyStrokeSelector: nil
                valueParameter: nil
                startDragRecipient: nil
                startDragSelector: nil
                doubleClickSelector: nil
                doubleClickRecipient: nil
                doubleClickTimeoutSelector: nil
                doubleClickTimeoutRecipient: nil
                clickSelector: nil
                clickRecipient: nil


EventHandler>>mouseDown:fromMorph:
        Receiver: an EventHandler; mouseDownSelector=doMenu:with:;  
mouseUpSelector=endInteraction recipients...etc...
        Arguments and temporary variables:
                event: [(220@121) mouseDown red 2887 nil]
                sourceMorph: a Morph(1040187392)
        Receiver's instance variables:
                mouseDownRecipient: a HaloMorph(202375168)
                mouseDownSelector: #doMenu:with:
                mouseMoveRecipient: nil
                mouseMoveSelector: nil
                mouseStillDownRecipient: nil
                mouseStillDownSelector: nil
                mouseUpRecipient: a HaloMorph(202375168)
                mouseUpSelector: #endInteraction
                mouseEnterRecipient: nil
                mouseEnterSelector: nil
                mouseLeaveRecipient: nil
                mouseLeaveSelector: nil
                mouseEnterDraggingRecipient: nil
                mouseEnterDraggingSelector: nil
                mouseLeaveDraggingRecipient: nil
                mouseLeaveDraggingSelector: nil
                keyStrokeRecipient: nil
                keyStrokeSelector: nil
                valueParameter: nil
                startDragRecipient: nil
                startDragSelector: nil
                doubleClickSelector: nil
                doubleClickRecipient: nil
                doubleClickTimeoutSelector: nil
                doubleClickTimeoutRecipient: nil
                clickSelector: nil
                clickRecipient: nil


Morph>>handleMouseDown:
        Receiver: a Morph(1040187392)
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                handler: nil
                handler: an EventHandler; mouseDownSelector=doMenu:with:;  
mouseUpSelector=endIn...etc...
        Receiver's instance variables:
                bounds: (208@114) corner: (228@134)
                owner: nil
                submorphs: an Array(an ImageMorph(814219264))
                fullBounds: (208@114) corner: (228@134)
                color: (Color r: 0.96 g: 0.384 b: 0.384)
                extension: a MorphExtension (1045954560) [balloonText]  [eventHandler =  
an Even...etc...


MouseButtonEvent>>sentTo:
        Receiver: [(220@121) mouseDown red 2887 nil]
        Arguments and temporary variables:
                anObject: a Morph(1040187392)
        Receiver's instance variables:
                timeStamp: 2887
                source: a HandMorph(843055104)
                windowIndex: nil
                type: #mouseDown
                buttons: 4
                position: (220@121)
                handler: a Morph(1040187392)
                wasHandled: true
                whichButton: 4


Morph>>handleEvent:
        Receiver: a Morph(1040187392)
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
        Receiver's instance variables:
                bounds: (208@114) corner: (228@134)
                owner: nil
                submorphs: an Array(an ImageMorph(814219264))
                fullBounds: (208@114) corner: (228@134)
                color: (Color r: 0.96 g: 0.384 b: 0.384)
                extension: a MorphExtension (1045954560) [balloonText]  [eventHandler =  
an Even...etc...


MorphicEventDispatcher>>dispatchMouseDown:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                aMorph: a Morph(1040187392)
                globalPt: (220@121)
                localEvt: [(220@121) mouseDown red 2887 nil]
                index: 2
                child: an ImageMorph(814219264)
                morphs: an Array(an ImageMorph(814219264))
                handler: a Morph(1040187392)
                inside: nil
                lastHandler: a PasteUpMorph(425197568) [world]
        Receiver's instance variables:
                lastType: #mouseDown
                lastDispatch: #dispatchMouseDown:with:


MorphicEventDispatcher>>dispatchEvent:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                aMorph: a Morph(1040187392)
        Receiver's instance variables:
                lastType: #mouseDown
                lastDispatch: #dispatchMouseDown:with:


Morph>>processEvent:using:
        Receiver: a Morph(1040187392)
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                defaultDispatcher: a MorphicEventDispatcher
        Receiver's instance variables:
                bounds: (208@114) corner: (228@134)
                owner: nil
                submorphs: an Array(an ImageMorph(814219264))
                fullBounds: (208@114) corner: (228@134)
                color: (Color r: 0.96 g: 0.384 b: 0.384)
                extension: a MorphExtension (1045954560) [balloonText]  [eventHandler =  
an Even...etc...


MorphicEventDispatcher>>dispatchMouseDown:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                aMorph: a HaloMorph(202375168)
                globalPt: (220@121)
                localEvt: [(220@121) mouseDown red 2887 nil]
                index: 7
                child: a Morph(1040187392)
                morphs: an Array(a NameStringInHalo(108789760)'an  
AlignmentMorph(81788928)' a M...etc...
                handler: nil
                inside: nil
                lastHandler: a PasteUpMorph(425197568) [world]
        Receiver's instance variables:
                lastType: #mouseDown
                lastDispatch: #dispatchMouseDown:with:


MorphicEventDispatcher>>dispatchEvent:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                aMorph: a HaloMorph(202375168)
        Receiver's instance variables:
                lastType: #mouseDown
                lastDispatch: #dispatchMouseDown:with:


HaloMorph(Morph)>>processEvent:using:
        Receiver: a HaloMorph(202375168)
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                defaultDispatcher: a MorphicEventDispatcher
        Receiver's instance variables:
                bounds: (101.0@151.0) corner: (599.0@178.0)
                owner: nil
                submorphs: #()
                fullBounds: (101.0@151.0) corner: (599.0@178.0)
                color: Color transparent
                extension: a MorphExtension (226492416)
                target: an AlignmentMorph(81788928)
                innerTarget: an AlignmentMorph(81788928)
                positionOffset: (205.0@14.0)
                angleOffset: nil
                growingOrRotating: false
                directionArrowAnchor: nil
                haloBox: (87@124) corner: (613.0@204)
                originalExtent: nil
                nameMorph: a NameStringInHalo(108789760)'an AlignmentMorph(81788928)'


MorphicEventDispatcher>>dispatchMouseDown:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                aMorph: a PasteUpMorph(425197568) [world]
                globalPt: (220@121)
                localEvt: [(220@121) mouseDown red 2887 nil]
                index: 1
                child: a HaloMorph(202375168)
                morphs: an Array(a HaloMorph(202375168) a TaskbarMorph(984088576) a  
SystemWindo...etc...
                handler: a PasteUpMorph(425197568) [world]
                inside: nil
                lastHandler: nil
        Receiver's instance variables:
                lastType: #mouseDown
                lastDispatch: #dispatchMouseDown:with:


MorphicEventDispatcher>>dispatchEvent:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                aMorph: a PasteUpMorph(425197568) [world]
        Receiver's instance variables:
                lastType: #mouseDown
                lastDispatch: #dispatchMouseDown:with:


PasteUpMorph(Morph)>>processEvent:using:
        Receiver: a PasteUpMorph(425197568) [world]
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                defaultDispatcher: a MorphicEventDispatcher
        Receiver's instance variables:
                bounds: (0@0) corner: (976@662)
                owner: nil
                submorphs: an Array(a MenuMorph(251920384) a TaskbarMorph(984088576) a  
SystemWi...etc...
                fullBounds: nil
                color: (Color r: 0.97 g: 0.98 b: 1.0)
                extension: a MorphExtension (666632192) [eventHandler = an  
EventHandler]  [othe...etc...
                borderWidth: 0
                borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
                backgroundMorph: nil
                worldState: a WorldState
                griddingOn: nil


PasteUpMorph>>processEvent:using:
        Receiver: a PasteUpMorph(425197568) [world]
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                defaultDispatcher: a MorphicEventDispatcher
                priorWorld: a PasteUpMorph(425197568) [world]
                result: nil
        Receiver's instance variables:
                bounds: (0@0) corner: (976@662)
                owner: nil
                submorphs: an Array(a MenuMorph(251920384) a TaskbarMorph(984088576) a  
SystemWi...etc...
                fullBounds: nil
                color: (Color r: 0.97 g: 0.98 b: 1.0)
                extension: a MorphExtension (666632192) [eventHandler = an  
EventHandler]  [othe...etc...
                borderWidth: 0
                borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
                backgroundMorph: nil
                worldState: a WorldState
                griddingOn: nil


PasteUpMorph(Morph)>>processEvent:
        Receiver: a PasteUpMorph(425197568) [world]
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
        Receiver's instance variables:
                bounds: (0@0) corner: (976@662)
                owner: nil
                submorphs: an Array(a MenuMorph(251920384) a TaskbarMorph(984088576) a  
SystemWi...etc...
                fullBounds: nil
                color: (Color r: 0.97 g: 0.98 b: 1.0)
                extension: a MorphExtension (666632192) [eventHandler = an  
EventHandler]  [othe...etc...
                borderWidth: 0
                borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
                backgroundMorph: nil
                worldState: a WorldState
                griddingOn: nil


HandMorph>>sendEvent:focus:clear:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                focusHolder: nil
                aBlock: [self mouseFocus: nil]
                result: nil
        Receiver's instance variables:
                bounds: (220@121) corner: (236@137)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: nil
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: a MenuMorph(251920384)
                keyboardFocus: a MenuMorph(251920384)
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(220@121) mouseOver nil nil]
                targetOffset: (12@7)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: false
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 2930 220 121 0 0 0 1)
                lastKeyScanCode: 125
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0


HandMorph>>sendMouseEvent:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
        Receiver's instance variables:
                bounds: (220@121) corner: (236@137)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: nil
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: a MenuMorph(251920384)
                keyboardFocus: a MenuMorph(251920384)
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(220@121) mouseOver nil nil]
                targetOffset: (12@7)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: false
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 2930 220 121 0 0 0 1)
                lastKeyScanCode: 125
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0


HandMorph>>handleEvent:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [(220@121) mouseDown red 2887 nil]
                evt: [(220@121) mouseDown red 2887 nil]
                ofs: nil
        Receiver's instance variables:
                bounds: (220@121) corner: (236@137)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: nil
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: a MenuMorph(251920384)
                keyboardFocus: a MenuMorph(251920384)
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(220@121) mouseOver nil nil]
                targetOffset: (12@7)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: false
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 2930 220 121 0 0 0 1)
                lastKeyScanCode: 125
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0


HandMorph>>processEvents
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                evt: [(220@121) mouseDown red 2887 nil]
                evtBuf: #(1 2887 220 121 4 0 0 1)
                type: 1
                hadAny: false
        Receiver's instance variables:
                bounds: (220@121) corner: (236@137)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: nil
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: a MenuMorph(251920384)
                keyboardFocus: a MenuMorph(251920384)
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(220@121) mouseOver nil nil]
                targetOffset: (12@7)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: false
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 2930 220 121 0 0 0 1)
                lastKeyScanCode: 125
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0


[:h |
ActiveHand := h.
        h processEvents.
        ActiveHand := nil] in WorldState>>doOneCycleNowFor:
        Receiver: a WorldState
        Arguments and temporary variables:
                h: a HandMorph(843055104)
        Receiver's instance variables:
                hands: an Array(a HandMorph(843055104))
                viewBox: (0@0) corner: (976@662)
                canvas: a FormCanvas on: DisplayScreen(976x662x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap()
                lastStepTime: 2985
                lastStepMessage: nil
                lastCycleTime: 3036
                alarms: a Heap()
                lastAlarmTime: 3036
                menuBuilder: a PragmaMenuBuilder ( nil )


Array(SequenceableCollection)>>do:
        Receiver: an Array(a HandMorph(843055104))
        Arguments and temporary variables:
                aBlock: [:h |
ActiveHand := h.
        h processEvents.
        ActiveHand := nil]
                index: 1
                indexLimiT: 1
        Receiver's instance variables:
an Array(a HandMorph(843055104))

WorldState>>handsDo:
        Receiver: a WorldState
        Arguments and temporary variables:
                aBlock: [:h |
ActiveHand := h.
        h processEvents.
        ActiveHand := nil]
        Receiver's instance variables:
                hands: an Array(a HandMorph(843055104))
                viewBox: (0@0) corner: (976@662)
                canvas: a FormCanvas on: DisplayScreen(976x662x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap()
                lastStepTime: 2985
                lastStepMessage: nil
                lastCycleTime: 3077
                alarms: a Heap()
                lastAlarmTime: 3077
                menuBuilder: a PragmaMenuBuilder ( nil )


WorldState>>doOneCycleNowFor:
        Receiver: a WorldState
        Arguments and temporary variables:
                aWorld: a PasteUpMorph(425197568) [world]
        Receiver's instance variables:
                hands: an Array(a HandMorph(843055104))
                viewBox: (0@0) corner: (976@662)
                canvas: a FormCanvas on: DisplayScreen(976x662x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap()
                lastStepTime: 2985
                lastStepMessage: nil
                lastCycleTime: 3077
                alarms: a Heap()
                lastAlarmTime: 3077
                menuBuilder: a PragmaMenuBuilder ( nil )


WorldState>>doOneCycleFor:
        Receiver: a WorldState
        Arguments and temporary variables:
                aWorld: a PasteUpMorph(425197568) [world]
        Receiver's instance variables:
                hands: an Array(a HandMorph(843055104))
                viewBox: (0@0) corner: (976@662)
                canvas: a FormCanvas on: DisplayScreen(976x662x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap()
                lastStepTime: 2985
                lastStepMessage: nil
                lastCycleTime: 3077
                alarms: a Heap()
                lastAlarmTime: 3077
                menuBuilder: a PragmaMenuBuilder ( nil )


PasteUpMorph>>doOneCycle
        Receiver: a PasteUpMorph(425197568) [world]
        Arguments and temporary variables:

        Receiver's instance variables:
                bounds: (0@0) corner: (976@662)
                owner: nil
                submorphs: an Array(a MenuMorph(251920384) a TaskbarMorph(984088576) a  
SystemWi...etc...
                fullBounds: nil
                color: (Color r: 0.97 g: 0.98 b: 1.0)
                extension: a MorphExtension (666632192) [eventHandler = an  
EventHandler]  [othe...etc...
                borderWidth: 0
                borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
                backgroundMorph: nil
                worldState: a WorldState
                griddingOn: nil


[[World doOneCycle.
        Processor yield.
        false] whileFalse.
        nil] in MorphicUIManager>>spawnNewProcess
        Receiver: a MorphicUIManager
        Arguments and temporary variables:

        Receiver's instance variables:
                interactiveParser: nil


[self value.
        Processor terminateActive] in BlockClosure>>newProcess
        Receiver: [[World doOneCycle.
        Processor yield.
        false] whileFalse.
        nil]
        Arguments and temporary variables:

        Receiver's instance variables:
                outerContext: MorphicUIManager>>spawnNewProcess
                startpc: 57
                numArgs: 0



--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #displayWorld
HaloMorph>>doMenu:with:
EventHandler>>send:to:withEvent:fromMorph:
EventHandler>>mouseDown:fromMorph:
Morph>>handleMouseDown:
MouseButtonEvent>>sentTo:
Morph>>handleEvent:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
Morph>>processEvent:using:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
HaloMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
PasteUpMorph(Morph)>>processEvent:using:
PasteUpMorph>>processEvent:using:
PasteUpMorph(Morph)>>processEvent:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[:h |
ActiveHand := h.
        h processEvents.
        ActiveHand := nil] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[[World doOneCycle.
        Processor yield.
        false] whileFalse.
        nil] in MorphicUIManager>>spawnNewProcess
[self value.
        Processor terminateActive] in BlockClosure>>newProcess
-------------------------------------------------------------------------------




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo

Comment #1 on issue 5627 by [hidden email]: "MessageNotUnderstood:  
receiver of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

I fix it this way:

doMenu: evt with: menuHandle
        "Ask hand to invoke the halo menu for my inner target."

        | menu |
        self obtainHaloForEvent: evt andRemoveAllHandlesBut: nil.
        World displayWorld.
        menu := innerTarget buildHandleMenu: evt hand.
        innerTarget addTitleForHaloMenu: menu.
        menu popUpEvent: evt in: World.

But I cant tell if its the right thing to do.

An expert advise is needed.



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo

Comment #2 on issue 5627 by [hidden email]: "MessageNotUnderstood:  
receiver of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

I fix it this way:

HaloMorph>>doMenu:with:

doMenu: evt with: menuHandle
        "Ask hand to invoke the halo menu for my inner target."

        | menu |
        self obtainHaloForEvent: evt andRemoveAllHandlesBut: nil.
        World displayWorld.
        menu := innerTarget buildHandleMenu: evt hand.
        innerTarget addTitleForHaloMenu: menu.
        menu popUpEvent: evt in: World.

But I cant tell if its the right thing to do.

An expert advise is needed.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo
Updates:
        Cc: [hidden email] [hidden email]

Comment #3 on issue 5627 by marianopeck: "MessageNotUnderstood: receiver  
of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

so you changed the self world for World... seems fine for me, but I don't  
know anything. I cc'ed the experts ;)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo

Comment #4 on issue 5627 by [hidden email]: "MessageNotUnderstood:  
receiver of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

Hi,
Apparently, this bug is fixed on Pharo 2.0, using this:
| menu |
        self obtainHaloForEvent: evt andRemoveAllHandlesBut: nil.
        target world displayWorld.
        menu := innerTarget buildHandleMenu: evt hand.
        innerTarget addTitleForHaloMenu: menu.
        menu popUpEvent: evt in: target world.



Attachments:
        HaloMorph.st  48.3 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo
Updates:
        Labels: Milestone-1.4

Comment #5 on issue 5627 by [hidden email]: "MessageNotUnderstood:  
receiver of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

There was a fix for 2.0 already... we should add that to 1.4, too


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo
Updates:
        Status: FixToInclude

Comment #6 on issue 5627 by [hidden email]: "MessageNotUnderstood:  
receiver of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

in  
SLICE-Issue-5627-MessageNotUnderstood-receiver-of-displayWorld-is-nil-on-clicking-the-red-Menu-Halo-EstebanLorenzano.1


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo
Updates:
        Labels: Type-Bug

Comment #7 on issue 5627 by [hidden email]: "MessageNotUnderstood:  
receiver of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5627 in pharo: "MessageNotUnderstood: receiver of "displayWorld" is nil" on clicking the red Menu-Halo.

pharo
Updates:
        Status: Integrated

Comment #8 on issue 5627 by [hidden email]: "MessageNotUnderstood:  
receiver of "displayWorld" is nil" on clicking the red Menu-Halo.
http://code.google.com/p/pharo/issues/detail?id=5627

in 14444


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker