Mantis - Squeak 5.2
Viewing Issue Advanced Details
4 minor always 04-02-04 22:16 09-23-04 11:56
michael  
ScottWallace  
normal  
closed  
fixed  
none    
none  
0000004: Escape raises notifier
Hitting escape (while editing text) brings up a notifier
nil
2 April 2004 12:06:13 pm

VM: Win32 - Squeak3.6 of '6 October 2003' [latest update: 0005424]
Image: Squeakland 3.2.4913 [latest update: 0000206]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\My Squeak\Bruce
Trusted Dir C:\Program Files\Squeak\Plugin\Bruce
Untrusted Dir C:\My Squeak\Bruce

TextMorph(Object)>>doesNotUnderstand:
    Receiver: a TextMorph<Text>(178)
    Arguments and temporary variables:
        t1: a Message with selector: #editView and arguments: #()
    Receiver's instance variables:
        bounds: 681@325 corner: 705@341
        owner: a SketchMorph<Sketch>(3181)
        submorphs: #()
        fullBounds: 681@325 corner: 705@341
        color: Color black
        extension: a MorphExtension (1944) [externalName = Text ]
        borderWidth: 0
        borderColor: Color black
        textStyle: a TextStyle NewYork10
        text: a Text for ''
        wrapFlag: true
        paragraph: a NewParagraph
        editor: nil
        container: nil
        predecessor: nil
        successor: nil
        lastGesture: nil
        backgroundColor: nil
        margins: nil

TextMorphEditor>>raiseContextMenu:
    Receiver: a TextMorphEditor
    Arguments and temporary variables:
        t1: a WriteStream
    Receiver's instance variables:
        model: nil
        view: nil
        sensor: a KeyboardBuffer
        lastActivityTime: nil
        redButtonMenu: nil
        redButtonMessages: nil
        paragraph: a NewParagraph
        startBlock: a CharacterBlock with index 1 and rectangle 681@325 corner: 681@339...etc...
        stopBlock: a CharacterBlock with index 1 and rectangle 681@325 corner: 681@339
...etc...
        beginTypeInBlock: 1
        emphasisHere: #(a TextFontChange font: 1 a TextFontReference font: nil a TextEm...etc...
        initialText: a Text for 'Toys'
        selectionShowing: false
        otherInterval: (1 to: 0)
        morph: a TextMorph<Text>(178)
        oldInterval: (4 to: 3)
        pivotBlock: a CharacterBlock with index 5 and rectangle 697@346 corner: 697@367...etc...

TextMorphEditor>>offerMenuFromEsc:
    Receiver: a TextMorphEditor
    Arguments and temporary variables:
        t1: a WriteStream
    Receiver's instance variables:
        model: nil
        view: nil
        sensor: a KeyboardBuffer
        lastActivityTime: nil
        redButtonMenu: nil
        redButtonMessages: nil
        paragraph: a NewParagraph
        startBlock: a CharacterBlock with index 1 and rectangle 681@325 corner: 681@339...etc...
        stopBlock: a CharacterBlock with index 1 and rectangle 681@325 corner: 681@339
...etc...
        beginTypeInBlock: 1
        emphasisHere: #(a TextFontChange font: 1 a TextFontReference font: nil a TextEm...etc...
        initialText: a Text for 'Toys'
        selectionShowing: false
        otherInterval: (1 to: 0)
        morph: a TextMorph<Text>(178)
        oldInterval: (4 to: 3)
        pivotBlock: a CharacterBlock with index 5 and rectangle 697@346 corner: 697@367...etc...

TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
    Receiver: a TextMorphEditor
    Arguments and temporary variables:
        t1: $
        t2: a WriteStream
        t3: true
    Receiver's instance variables:
        model: nil
        view: nil
        sensor: a KeyboardBuffer
        lastActivityTime: nil
        redButtonMenu: nil
        redButtonMessages: nil
        paragraph: a NewParagraph
        startBlock: a CharacterBlock with index 1 and rectangle 681@325 corner: 681@339...etc...
        stopBlock: a CharacterBlock with index 1 and rectangle 681@325 corner: 681@339
...etc...
        beginTypeInBlock: 1
        emphasisHere: #(a TextFontChange font: 1 a TextFontReference font: nil a TextEm...etc...
        initialText: a Text for 'Toys'
        selectionShowing: false
        otherInterval: (1 to: 0)
        morph: a TextMorph<Text>(178)
        oldInterval: (4 to: 3)
        pivotBlock: a CharacterBlock with index 5 and rectangle 697@346 corner: 697@367...etc...

--- The rest of the stack ---
TextMorphEditor(ParagraphEditor)>>readKeyboard
TextMorphEditor>>readKeyboard
[] in TextMorph>>keyStroke:
TextMorph>>handleInteraction:fromEvent:
TextMorph>>keyStroke:
TextMorph>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorph(Morph)>>handleEvent:
TextMorph(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
[] in PasteUpMorph>>becomeActiveDuring:
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
...etc...

Notes
(0000030)
ScottWallace   
07-15-04 08:23   
This bug was fixed in Squeak 3.7 by update 5894TMEContextMenuFix-dgd, though the fix is imperfect in the sense that it leaves spurious selection highlighting in the TextMorph after an esc is hit. Since the next Squeakland image will be built on top of 3.7/3.8, Diego's fix will be in it.
(0000166)
bert   
09-23-04 11:56   
fixed in 3.7