Issue 5318 in pharo: DNU On PluggableListMorph

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

Issue 5318 in pharo: DNU On PluggableListMorph

pharo
Status: Accepted
Owner: [hidden email]
Labels: Milestone-1.4

New issue 5318 by [hidden email]: DNU On PluggableListMorph
http://code.google.com/p/pharo/issues/detail?id=5318

pharo 1.4

PluggableListMorph>>modifierKeyPressed:
expects to receive an event, but sometimes it receives a character, just as  
in:

commandKeyTypedIntoMenu: evt
        "The user typed a command-key into a menu which has me as its command-key  
handler"

        ^ self modifierKeyPressed: evt keyCharacter

Stack below:

17 February 2012 7:23:55 pm

VM: unix - i686 - linux-gnu - CoInterpreter VMMaker-oscog-IgorStasenko.108  
uuid: 384f4108-f1f4-4954-8357-0b3005cb81e2 Jul 22 2011,  
StackToRegisterMappingCogit VMMaker-oscog-IgorStasenko.108 uuid:  
384f4108-f1f4-4954-8357-0b3005cb81e2 Jul 22 2011,  
https://git.gitorious.org/cogvm/blessed.git Commit:  
fde60cf1a440cd0ba4c56470dffff4aafc664d88 Date: Fri Jul 22 14:16:11 2011  
+0200 By: Igor Stasenko <[hidden email]>
Image: Pharo1.4a [Latest update: #14333]

Character(Object)>>doesNotUnderstand: #keyCharacter
        Receiver: $w
        Arguments and temporary variables:
                aMessage: keyCharacter
                exception: MessageNotUnderstood: Character>>keyCharacter
                resumeValue: nil
        Receiver's instance variables:
                value: 119

PluggableListMorph>>modifierKeyPressed:
        Receiver: a PluggableListMorph(119799808)
        Arguments and temporary variables:
                event: $w
                args: nil
                aChar: nil
        Receiver's instance variables:
                bounds: (50.0@73.0) corner: (740.0@261.0)
                owner: a SystemWindow(544735232)
                submorphs: an Array(a TransformMorph(726138880))
                fullBounds: (50@73) corner: (740@261)
                color: Color white
                extension: a MorphExtension (266600448) [locked]  [other:  
(selectionColor -> (...etc...
                borderWidth: 1
                borderColor: (Color r: 0.745 g: 0.745 b: 0.745)
                model: a VersionsBrowser
                open: false
                accessor: nil
                scrollBar: a ScrollBar(127664128)
                scroller: a TransformMorph(726138880)
                retractableScrollBar: false
                scrollBarOnLeft: false
                getMenuSelector: #versionsMenu:
                getMenuTitleSelector: nil
                hasFocus: true
                hScrollBar: a ScrollBar(966000640)
                list: an OrderedCollection('gvc 5/15/2007 12:26 SystemWindow menuBox  
{*Polymorp...etc...
                getListSelector: #list
                getListSizeSelector: nil
                getListElementSelector: nil
                getIndexSelector: #listIndex
                setIndexSelector: #toggleListIndex:
                keystrokeActionSelector: #changeListKey:from:
                autoDeselect: true
                lastKeystrokeTime: 0
                lastKeystrokes: ''
                doubleClickSelector: nil
                handlesBasicKeys: nil
                potentialDropRow: nil
                listMorph: a LazyListMorph(974651392)
                hScrollRangeCache: nil
                dragItemSelector: nil
                dropItemSelector: nil
                wantsDropSelector: nil
                wrapSelector: nil
                searchedElement: nil
                multipleSelection: false
                dragOnOrOff: nil
                setSelectionListSelector: nil
                getSelectionListSelector: nil
                resetListSelector: nil
                keystrokeSelector: nil
                backgroundColoringBlockOrSelector: nil
                separatorBlockOrSelector: nil
                separatorSize: nil
                separatorColor: nil
                lastNonZeroIndex: nil

PluggableListMorph>>commandKeyTypedIntoMenu:
        Receiver: a PluggableListMorph(119799808)
        Arguments and temporary variables:
                evt: [keystroke '<Cmd-w>']
        Receiver's instance variables:
                bounds: (50.0@73.0) corner: (740.0@261.0)
                owner: a SystemWindow(544735232)
                submorphs: an Array(a TransformMorph(726138880))
                fullBounds: (50@73) corner: (740@261)
                color: Color white
                extension: a MorphExtension (266600448) [locked]  [other:  
(selectionColor -> (...etc...
                borderWidth: 1
                borderColor: (Color r: 0.745 g: 0.745 b: 0.745)
                model: a VersionsBrowser
                open: false
                accessor: nil
                scrollBar: a ScrollBar(127664128)
                scroller: a TransformMorph(726138880)
                retractableScrollBar: false
                scrollBarOnLeft: false
                getMenuSelector: #versionsMenu:
                getMenuTitleSelector: nil
                hasFocus: true
                hScrollBar: a ScrollBar(966000640)
                list: an OrderedCollection('gvc 5/15/2007 12:26 SystemWindow menuBox  
{*Polymorp...etc...
                getListSelector: #list
                getListSizeSelector: nil
                getListElementSelector: nil
                getIndexSelector: #listIndex
                setIndexSelector: #toggleListIndex:
                keystrokeActionSelector: #changeListKey:from:
                autoDeselect: true
                lastKeystrokeTime: 0
                lastKeystrokes: ''
                doubleClickSelector: nil
                handlesBasicKeys: nil
                potentialDropRow: nil
                listMorph: a LazyListMorph(974651392)
                hScrollRangeCache: nil
                dragItemSelector: nil
                dropItemSelector: nil
                wantsDropSelector: nil
                wrapSelector: nil
                searchedElement: nil
                multipleSelection: false
                dragOnOrOff: nil
                setSelectionListSelector: nil
                getSelectionListSelector: nil
                resetListSelector: nil
                keystrokeSelector: nil
                backgroundColoringBlockOrSelector: nil
                separatorBlockOrSelector: nil
                separatorSize: nil
                separatorColor: nil
                lastNonZeroIndex: nil

MenuMorph>>keyStroke:
        Receiver: a MenuMorph(586940416)
        Arguments and temporary variables:
                evt: [keystroke '<Cmd-w>']
                matchString: nil
                char: nil
                asc: nil
                selectable: nil
                help: a SimpleBalloonMorph(989855744)
        Receiver's instance variables:
                bounds: (333.0@52.0) corner: (517.0@229.0)
                owner: nil
                submorphs: an Array(an AlignmentMorph(376963072) a  
ToggleMenuItemMorph(47710208...etc...
                fullBounds: (333.0@52.0) corner: (517.0@229.0)
                color: (Color r: 0.848 g: 0.848 b: 0.848)
                extension: a MorphExtension (590610432) [other:  (basicColor -> (Color  
r: 0.745...etc...
                borderWidth: 2
                borderColor: (Color r: 0.595 g: 0.595 b: 0.595)
                defaultTarget: a VersionsBrowser
                selectedItem: nil
                stayUp: false
                popUpOwner: nil
                activeSubMenu: nil
                activatorDockingBar: nil
                embeddable: nil
                menuItems: an OrderedCollection(a ToggleMenuItemMorph(477102080)'Revert  
to sele...etc...

MenuMorph(Morph)>>handleKeystroke:
        Receiver: a MenuMorph(586940416)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
        Receiver's instance variables:
                bounds: (333.0@52.0) corner: (517.0@229.0)
                owner: nil
                submorphs: an Array(an AlignmentMorph(376963072) a  
ToggleMenuItemMorph(47710208...etc...
                fullBounds: (333.0@52.0) corner: (517.0@229.0)
                color: (Color r: 0.848 g: 0.848 b: 0.848)
                extension: a MorphExtension (590610432) [other:  (basicColor -> (Color  
r: 0.745...etc...
                borderWidth: 2
                borderColor: (Color r: 0.595 g: 0.595 b: 0.595)
                defaultTarget: a VersionsBrowser
                selectedItem: nil
                stayUp: false
                popUpOwner: nil
                activeSubMenu: nil
                activatorDockingBar: nil
                embeddable: nil
                menuItems: an OrderedCollection(a ToggleMenuItemMorph(477102080)'Revert  
to sele...etc...

KeyboardEvent>>sentTo:
        Receiver: [keystroke '<Cmd-w>']
        Arguments and temporary variables:
                anObject: a MenuMorph(586940416)
        Receiver's instance variables:
                timeStamp: 11382435
                source: a HandMorph(843055104)
                windowIndex: nil
                type: #keystroke
                buttons: 64
                position: (335@83)
                handler: nil
                wasHandled: true
                keyValue: 119
                charCode: 119
                scanCode: 119

MenuMorph(Morph)>>handleEvent:
        Receiver: a MenuMorph(586940416)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
        Receiver's instance variables:
                bounds: (333.0@52.0) corner: (517.0@229.0)
                owner: nil
                submorphs: an Array(an AlignmentMorph(376963072) a  
ToggleMenuItemMorph(47710208...etc...
                fullBounds: (333.0@52.0) corner: (517.0@229.0)
                color: (Color r: 0.848 g: 0.848 b: 0.848)
                extension: a MorphExtension (590610432) [other:  (basicColor -> (Color  
r: 0.745...etc...
                borderWidth: 2
                borderColor: (Color r: 0.595 g: 0.595 b: 0.595)
                defaultTarget: a VersionsBrowser
                selectedItem: nil
                stayUp: false
                popUpOwner: nil
                activeSubMenu: nil
                activatorDockingBar: nil
                embeddable: nil
                menuItems: an OrderedCollection(a ToggleMenuItemMorph(477102080)'Revert  
to sele...etc...

MorphicEventDispatcher>>dispatchDefault:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
                aMorph: a MenuMorph(586940416)
                localEvt: [keystroke '<Cmd-w>']
                index: 14
                child: a ToggleMenuItemMorph(799539200)'Help...'
                morphs: an Array(an AlignmentMorph(376963072) a  
ToggleMenuItemMorph(477102080)'...etc...
                inside: true
        Receiver's instance variables:
                lastType: #keystroke
                lastDispatch: #dispatchDefault:with:

MorphicEventDispatcher>>dispatchEvent:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
                aMorph: a MenuMorph(586940416)
        Receiver's instance variables:
                lastType: #keystroke
                lastDispatch: #dispatchDefault:with:

MenuMorph(Morph)>>processEvent:using:
        Receiver: a MenuMorph(586940416)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
                defaultDispatcher: a MorphicEventDispatcher
        Receiver's instance variables:
                bounds: (333.0@52.0) corner: (517.0@229.0)
                owner: nil
                submorphs: an Array(an AlignmentMorph(376963072) a  
ToggleMenuItemMorph(47710208...etc...
                fullBounds: (333.0@52.0) corner: (517.0@229.0)
                color: (Color r: 0.848 g: 0.848 b: 0.848)
                extension: a MorphExtension (590610432) [other:  (basicColor -> (Color  
r: 0.745...etc...
                borderWidth: 2
                borderColor: (Color r: 0.595 g: 0.595 b: 0.595)
                defaultTarget: a VersionsBrowser
                selectedItem: nil
                stayUp: false
                popUpOwner: nil
                activeSubMenu: nil
                activatorDockingBar: nil
                embeddable: nil
                menuItems: an OrderedCollection(a ToggleMenuItemMorph(477102080)'Revert  
to sele...etc...

MenuMorph(Morph)>>processEvent:
        Receiver: a MenuMorph(586940416)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
        Receiver's instance variables:
                bounds: (333.0@52.0) corner: (517.0@229.0)
                owner: nil
                submorphs: an Array(an AlignmentMorph(376963072) a  
ToggleMenuItemMorph(47710208...etc...
                fullBounds: (333.0@52.0) corner: (517.0@229.0)
                color: (Color r: 0.848 g: 0.848 b: 0.848)
                extension: a MorphExtension (590610432) [other:  (basicColor -> (Color  
r: 0.745...etc...
                borderWidth: 2
                borderColor: (Color r: 0.595 g: 0.595 b: 0.595)
                defaultTarget: a VersionsBrowser
                selectedItem: nil
                stayUp: false
                popUpOwner: nil
                activeSubMenu: nil
                activatorDockingBar: nil
                embeddable: nil
                menuItems: an OrderedCollection(a ToggleMenuItemMorph(477102080)'Revert  
to sele...etc...

MenuMorph>>handleFocusEvent:
        Receiver: a MenuMorph(586940416)
        Arguments and temporary variables:
                evt: [keystroke '<Cmd-w>']
        Receiver's instance variables:
                bounds: (333.0@52.0) corner: (517.0@229.0)
                owner: nil
                submorphs: an Array(an AlignmentMorph(376963072) a  
ToggleMenuItemMorph(47710208...etc...
                fullBounds: (333.0@52.0) corner: (517.0@229.0)
                color: (Color r: 0.848 g: 0.848 b: 0.848)
                extension: a MorphExtension (590610432) [other:  (basicColor -> (Color  
r: 0.745...etc...
                borderWidth: 2
                borderColor: (Color r: 0.595 g: 0.595 b: 0.595)
                defaultTarget: a VersionsBrowser
                selectedItem: nil
                stayUp: false
                popUpOwner: nil
                activeSubMenu: nil
                activatorDockingBar: nil
                embeddable: nil
                menuItems: an OrderedCollection(a ToggleMenuItemMorph(477102080)'Revert  
to sele...etc...

[ActiveHand := self.
        ActiveEvent := anEvent.
        result := focusHolder
                                handleFocusEvent: (anEvent
                                                transformedBy: (focusHolder transformedFrom: self))] in  
HandMorph>>sendFocusEvent:to:clear:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
                focusHolder: a MenuMorph(586940416)
                result: #(nil)
        Receiver's instance variables:
                bounds: (522@153) corner: (538@169)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: (522@153) corner: (538@169)
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(522@153) mouseOver nil nil]
                targetOffset: (277.0@37.0)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 11447003 522 153 0 0 0 1)
                lastKeyScanCode: 13
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0

[aBlock value] in PasteUpMorph>>becomeActiveDuring:
        Receiver: a PasteUpMorph(425197568) [world]
        Arguments and temporary variables:
                aBlock: [ActiveHand := self.
        ActiveEvent := anEvent.
        result := focusHolder
                ...etc...
        Receiver's instance variables:
                bounds: (0@0) corner: (1440@876)
                owner: nil
                submorphs: an Array(a SimpleBalloonMorph(225968128) a  
TaskbarMorph(1042808832) ...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

BlockClosure>>on:do:
        Receiver: [aBlock value]
        Arguments and temporary variables:
                exception: Error
                handlerAction: [:ex |
ActiveWorld := priorWorld.
        ActiveEvent := priorEvent.
        ...etc...
                handlerActive: false
        Receiver's instance variables:
                outerContext: PasteUpMorph>>becomeActiveDuring:
                startpc: 67
                numArgs: 0

PasteUpMorph>>becomeActiveDuring:
        Receiver: a PasteUpMorph(425197568) [world]
        Arguments and temporary variables:
                aBlock: [ActiveHand := self.
        ActiveEvent := anEvent.
        result := focusHolder
                ...etc...
                priorWorld: a PasteUpMorph(425197568) [world]
                priorHand: a HandMorph(843055104)
                priorEvent: [(335@83) mouseOver nil nil]
        Receiver's instance variables:
                bounds: (0@0) corner: (1440@876)
                owner: nil
                submorphs: an Array(a SimpleBalloonMorph(225968128) a  
TaskbarMorph(1042808832) ...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>>sendFocusEvent:to:clear:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
                focusHolder: a MenuMorph(586940416)
                aBlock: [self keyboardFocus: nil]
                w: a PasteUpMorph(425197568) [world]
                result: #(nil)
        Receiver's instance variables:
                bounds: (522@153) corner: (538@169)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: (522@153) corner: (538@169)
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(522@153) mouseOver nil nil]
                targetOffset: (277.0@37.0)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 11447003 522 153 0 0 0 1)
                lastKeyScanCode: 13
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0

HandMorph>>sendEvent:focus:clear:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
                focusHolder: a MenuMorph(586940416)
                aBlock: [self keyboardFocus: nil]
                result: nil
        Receiver's instance variables:
                bounds: (522@153) corner: (538@169)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: (522@153) corner: (538@169)
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(522@153) mouseOver nil nil]
                targetOffset: (277.0@37.0)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 11447003 522 153 0 0 0 1)
                lastKeyScanCode: 13
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0

HandMorph>>sendKeyboardEvent:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
        Receiver's instance variables:
                bounds: (522@153) corner: (538@169)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: (522@153) corner: (538@169)
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(522@153) mouseOver nil nil]
                targetOffset: (277.0@37.0)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 11447003 522 153 0 0 0 1)
                lastKeyScanCode: 13
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0

HandMorph>>handleEvent:
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                anEvent: [keystroke '<Cmd-w>']
                evt: [keystroke '<Cmd-w>']
                ofs: nil
        Receiver's instance variables:
                bounds: (522@153) corner: (538@169)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: (522@153) corner: (538@169)
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(522@153) mouseOver nil nil]
                targetOffset: (277.0@37.0)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 11447003 522 153 0 0 0 1)
                lastKeyScanCode: 13
                combinedChar: nil
                eventSource: nil
                lastSystemEvent: nil
                captureBlock: nil
                recentModifiers: 0

HandMorph>>processEvents
        Receiver: a HandMorph(843055104)
        Arguments and temporary variables:
                evt: [keystroke '<Cmd-w>']
                evtBuf: #(2 11382435 119 0 8 119 0 1)
                type: 2
                hadAny: true
        Receiver's instance variables:
                bounds: (522@153) corner: (538@169)
                owner: a PasteUpMorph(425197568) [world]
                submorphs: #()
                fullBounds: (522@153) corner: (538@169)
                color: Color blue
                extension: a MorphExtension (141295616) [eventHandler = an  
EventHandler]  [othe...etc...
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [(522@153) mouseOver nil nil]
                targetOffset: (277.0@37.0)
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                lastEventBuffer: #(1 11447003 522 153 0 0 0 1)
                lastKeyScanCode: 13
                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: (1440@876)
                canvas: a FormCanvas on: DisplayScreen(1440x876x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a  
SimpleBalloonMorph(626524160))(a Sim...etc...
                lastStepTime: 11448183
                lastStepMessage: nil
                lastCycleTime: 11448205
                alarms: a Heap()
                lastAlarmTime: 11448183
                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: (1440@876)
                canvas: a FormCanvas on: DisplayScreen(1440x876x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a  
SimpleBalloonMorph(626524160))(a Sim...etc...
                lastStepTime: 11448183
                lastStepMessage: nil
                lastCycleTime: 11448205
                alarms: a Heap()
                lastAlarmTime: 11448183
                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: (1440@876)
                canvas: a FormCanvas on: DisplayScreen(1440x876x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a  
SimpleBalloonMorph(626524160))(a Sim...etc...
                lastStepTime: 11448183
                lastStepMessage: nil
                lastCycleTime: 11448205
                alarms: a Heap()
                lastAlarmTime: 11448183
                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: (1440@876)
                canvas: a FormCanvas on: DisplayScreen(1440x876x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a  
SimpleBalloonMorph(626524160))(a Sim...etc...
                lastStepTime: 11448183
                lastStepMessage: nil
                lastCycleTime: 11448205
                alarms: a Heap()
                lastAlarmTime: 11448183
                menuBuilder: a PragmaMenuBuilder ( nil )

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

        Receiver's instance variables:
                bounds: (0@0) corner: (1440@876)
                owner: nil
                submorphs: an Array(a SimpleBalloonMorph(225968128) a  
TaskbarMorph(1042808832) ...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 ---
Character(Object)>>doesNotUnderstand: #keyCharacter
PluggableListMorph>>modifierKeyPressed:
PluggableListMorph>>commandKeyTypedIntoMenu:
MenuMorph>>keyStroke:
MenuMorph(Morph)>>handleKeystroke:
KeyboardEvent>>sentTo:
MenuMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
[ActiveHand := self.
        ActiveEvent := anEvent.
        result := focusHolder
                                handleFocusEvent: (anEvent
                                                transformedBy: (focusHolder transformedFrom: self))] in  
HandMorph>>sendFocusEvent:to:clear:
[aBlock value] in PasteUpMorph>>becomeActiveDuring:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
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 5318 in pharo: DNU On PluggableListMorph

pharo
Updates:
        Labels: Type-Bug

Comment #1 on issue 5318 by [hidden email]: DNU On PluggableListMorph
http://code.google.com/p/pharo/issues/detail?id=5318

How can this be re-created?


_______________________________________________
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 5318 in pharo: DNU On PluggableListMorph

pharo

Comment #2 on issue 5318 by [hidden email]: DNU On PluggableListMorph
http://code.google.com/p/pharo/issues/detail?id=5318

Sorry, I've found how :):

- open a browser
- focus on categories list
- right click to open contextual menu
- do cmd+something
- a debugger is open :)


_______________________________________________
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 5318 in pharo: DNU On PluggableListMorph

pharo

Comment #3 on issue 5318 by [hidden email]: DNU On PluggableListMorph
http://code.google.com/p/pharo/issues/detail?id=5318

Changed

commandKeyTypedIntoMenu: evt
        "The user typed a command-key into a menu which has me as its command-key  
handler"

        ^ self modifierKeyPressed: evt keyCharacter

by

commandKeyTypedIntoMenu: evt
        "The user typed a command-key into a menu which has me as its command-key  
handler"

        ^ self modifierKeyPressed: evt

Attachments:
        issue 5318.1.cs  337 bytes


_______________________________________________
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 5318 in pharo: DNU On PluggableListMorph

pharo
Updates:
        Status: FixReviewNeeded

Comment #4 on issue 5318 by [hidden email]: DNU On PluggableListMorph
http://code.google.com/p/pharo/issues/detail?id=5318

(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 5318 in pharo: DNU On PluggableListMorph

pharo
Updates:
        Status: FixToInclude

Comment #5 on issue 5318 by [hidden email]: DNU On PluggableListMorph
http://code.google.com/p/pharo/issues/detail?id=5318

(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 5318 in pharo: DNU On PluggableListMorph

pharo
Updates:
        Status: Integrated

Comment #6 on issue 5318 by [hidden email]: DNU On PluggableListMorph
http://code.google.com/p/pharo/issues/detail?id=5318

in 14357


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