Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000056 [tweak] minor always 08-04-04 10:01 06-20-05 02:03
Reporter riks View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved  
Summary 0000056: inherited method with annotation causes double trigger
Description A subclass with a triggered method such as
 <on: fire>
where that much is inherited from a superclass
will be triggered twice.
Additional Information Commenting out the inherited annotation is a work-around, but UGLY: I would prefer we demand that such methods include the annotation so we can see that they are triggered.

In my example, run it first. The uncomment out the line to see the errant behavior.

from tweak maillist:
The attached fileout is a wee experiment I did a couple of weeks ago
which has worked until recently. It's pretty cute when it works.

It's using fingers for bits and counting in binary.
(Do not teach this trick to kids <= 4 years old. Think about how the gesture is received in America)
My sons (6 & 9) and many of their friends think it's cool to be able to count to 31 with only one hand.

This implementation shows the fingers in brown, blue when off. If you need another bit, a new finger appears.
If you hold the mouse own in a finger, then move the mouse, the finger drifts, taking its bigger bits with it.
That part still works fine.

I had included a BitFinger in a demo, and it appears to be stuck in a peculiar way:
onFire is happening twice where it used to happen just once.
I don't see why.

As attached, it's tooled up to dump a trace on the Transcript.
To try it, do:
    CBitVFinger example.
Be ready with your Apple-. or Atl-. key to kill it, or it will keep making bigger bits.
After all, if it fires twice, it overflows to a bigger bit. Which fires, twice... and overflows...
Attached Files

- Relationships
related to 0000520closed  Squeak [BUG] Rectangle drawing w/ selector morph leaves glitches 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-04-04 10:01 riks New Issue
06-20-05 02:03 andreas Status new => resolved
06-20-05 02:03 andreas Resolution open => fixed
06-20-05 02:03 andreas Assigned To  => andreas
06-20-05 02:03 andreas Assigned To andreas =>
07-14-06 15:41 MarcusDenker Relationship added related to 0000520

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