Anonymous | Login | 03-07-2021 09:18 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0001835 | [Squeak] Morphic | minor | always | 10-03-05 21:15 | 02-11-08 23:02 | |||||||
Reporter | wiz | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 3.9 | |||||||||
Summary | 0001835: [Bug] Duplicating an UpdatingMenuMorph loses its target. | |||||||||||
Description |
For this one. Get a curve or polygon. Using the halos get the red menu. Make it stay up. Get a halo around the menu and the around the show handles item. Using the dup handle get a copy of the show handles button. Press the show handles on the stay up menu. The handles appear on the polygon and the menu item now says hide handles. The duplicated menu item has not changed. Now press the duplicated menu item. The item changes wording from show to hide (and back if you keep pressing) but there is no change of the polygon handles. |
|||||||||||
Additional Information |
This is a long time bug and is present in Squeak 3.6 and presumable earlier. I have not checked. The problem is that when duplicated the UpdatingMenuMorph makes a copy of its target which is not what is wanted. This target is not open in the world. So while the button causes changes in it nothing visible happens. The cure is for the dup handle to know to preserve the target. This must be doable because non-updating items preserve their targets and work fine as duplicated buttons. This report is related to Mantis 0001832. |
|||||||||||
Attached Files |
![]() |
|||||||||||
|
![]() |
||||||||||||||||
SYSTEM WARNING: Creating default object from empty value
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
67 total queries executed. 51 unique queries executed. |