Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001748 [Squeak] Morphic minor always 08-26-05 01:08 08-26-05 01:08
Reporter wiz View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.8
Summary 0001748: EventHandler handles many conditions with only one value parameter. This is sure to be the source of a future bug.
Description EventHandler>on:send:to:withValue: sets the same valueParameter regardless of the on condition. Many morphs call the method more than once.
Right now everyone "knows" the value is supposed to be the same in every call.
But this is an invitation for future bugs. And there is no reason squeak should have this limitation.
Additional Information My suggestion is to implement EH with a dictionary keyed to the on condition with the arguments as the value. A separate value available for each on condition if desire. This is much more general and makes much more sense.

Comments and implementations welcome.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-26-05 01:08 wiz New Issue

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