Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005392 [Squeak] Morphic minor always 11-10-06 08:18 09-08-08 17:42
Reporter wiz View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.10
Summary 0005392: [Fix] Sighting targets for sliders has problem when slider is tilted.
Description For this one
From Objects>scripting get a slider.
Put it directly in the world.
From red menu select sight target. ( a targeting cursor appears)
Select a target and press ( A menu of morphs appear)
Select a morph. (The target is set.)

Now tilt the slider 45 degrees with the blue halo handle.
From red menu select sight target. ( a targeting cursor appears)
Select a target and press ( There is no menu popup. The cursor just returns to normal)
Additional Information The menu item used for sliders and buttons Morph>sightTarget: is set up to select only those targets which share the same owner as the slider.

When the slider is unrendered (i.e. untilted) and in the world all morphs are game.
When the slider is tilted its owner was its rendering morph which has no other submorphs so the only target you would pick would be the slider or pieces thereof.

The uploaded fix figures out the real owner of the slider and uses that as the hunting ground for targets.

SideNote: the other possible solution is to change the menu item to use
#sightWorldTarget: as the action. This would open up all morphs in the current world to selection.
Even if that path is eventually chosen it will be good to have this fix in so that when one chooses to limit the search it will be done correctly.

Attached Files [^] (410 bytes) 11-10-06 08:18

- Relationships
child of 0006530new  A mother for button, slider and menuItem targeting and argumenting related reports. 

- Notes
(0010574 - 87 - 93 - 93 - 93 - 93 - 93)
04-18-07 10:44

This now is part of 7080wizFixesOfMorph.cs and was in updates for 3.10
Thanks Jerome !
(0012595 - 47 - 47 - 47 - 47 - 47 - 47)
09-08-08 17:42

harvested with update 7080 and released in 3.10

- Issue History
Date Modified Username Field Change
11-10-06 08:18 wiz New Issue
11-10-06 08:18 wiz File Added:
04-18-07 10:44 edgardec Note Added: 0010574
04-18-07 10:44 edgardec Status new => resolved
06-06-07 02:34 wiz Relationship added child of 0006530
09-08-08 17:42 KenCausey Status resolved => closed
09-08-08 17:42 KenCausey Note Added: 0012595
09-08-08 17:42 KenCausey Resolution open => fixed
09-08-08 17:42 KenCausey Fixed in Version  => 3.10

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