Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000054 [tweak] tweak always 08-04-04 02:14 08-04-04 04:28
Reporter riks View Status public  
Assigned To andreas
Priority normal Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Product Build
Summary 0000054: Un-hiding Squeak window => event w/ bad key
Description On a Mac (OS X) I sometimes Apple-H to hide the whole Squeak window.
When I revive it, the Tweak window within has an error notifier in it:
CHandPlayer sendKeyboardEvent: anEvent
    "Send the event to the costume currently holding the focus, or if none to the owner of the hand."
    | keyValue focus context |
    keyValue := anEvent keyValue.
    focus := self keyboardFocus.
    anEvent isKeyDown ifTrue:[
        self pressedKeys at: keyValue put: true.
        context := focus ifNotNil:[focus world].
        context ifNotNil:[context costume pressedKeys at: keyValue put: true].
    anEvent isKeyUp ifTrue:[
        self pressedKeys at: keyValue put: false.
^^^^^^^^^^^keyValue is -1 *********************************
        context := focus ifNotNil:[focus world].
        context ifNotNil:[context costume pressedKeys at: keyValue put: false].
    ^self sendEvent: anEvent focus: self keyboardFocus clear:[self keyboardFocus: nil]

anEvent is not readily inspectable: attempting to do so
gives an error of subscript out of bounds.
Steps To Reproduce
Additional Information I have not been able to get similar behavior on Linux
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-04-04 02:14 riks New Issue
08-04-04 04:28 andreas Status new => resolved
08-04-04 04:28 andreas Resolution open => fixed
08-04-04 04:28 andreas Assigned To  => andreas

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
31 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker