[squeak-dev] Bug in #tryInvokeHalo:
lecteur at zogotounga.net
Wed Apr 24 12:13:08 UTC 2019
To see a bug in the halo targets dispatch mechanism, do the following:
- Open a fresh image, use the alphabetical list from the "new morph..."
item in the World menu to get a SameGame morph.
- Put the SameGame morph above the "Welcome to Squeak" window.
- Blue click three times in a row within the SameGame inner part: this
will give a halo to one of the small square tiles.
- Now blue click on the grey border of the SameGame morph (say, at
left): instead of that morph getting the halo, it will go to the
"Welcome to Squeak" window in the back. That is the bug.
Reverting #tryInvokeHalo: in PasteUpMorph to its previous version fixes
it (the current implementation discards the first morph in the targets
stack, which happens in this case to be the target we do want).
More information about the Squeak-dev