Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006514 [Squeak] Morphic minor always 05-25-07 18:30 05-25-07 18:30
Reporter kks View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.10
Summary 0006514: Turning on showEvents triggers a DNU error
Description In 3.10 and 3.9, doing

HandMorph showEvents: true

throws up a MNU:
UndefinedObject(Object)>>doesNotUnderstand: #+
        Receiver: nil
        Arguments and temporary variables:
                aMessage: + 15
        Receiver's instance variables:
nil

Point>>+
        Receiver: 0@nil
        Arguments and temporary variables:
                arg: 0@15
        Receiver's instance variables:
                x: 0
                y: nil

HandMorph>>handleEvent:
        Receiver: a HandMorph(3728)
        Arguments and temporary variables:
                anEvent: [411@467 mouseUp 30913]
                evt: [411@467 mouseUp 30913]
                ofs: nil

Additional Information MNU is triggered by nil value for ofs at the second check for ShowEvents. ShowEvents is checked in the beginning and in the end. ofs is computed only in the first block. ofs needs to be recomputed in each block because handleEvents makes blocking calls in between and ShowEvents could be set to true meanwhile. The attached cs recomputes ofs in each block.
Attached Files  HandMorphFix.1.cs.gz [^] (880 bytes) 05-25-07 18:30

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-25-07 18:30 kks New Issue
05-25-07 18:30 kks File Added: HandMorphFix.1.cs.gz


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