Anonymous | Login | 02-27-2021 07:12 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 | |||||||
0005389 | [Squeak] Morphic | minor | always | 11-09-06 05:01 | 08-22-07 03:18 | |||||||
Reporter | wiz | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 3.10 | |||||||||
Summary | 0005389: For sliders and buttons, you can set the number of arguments via menu but you can not clear them | |||||||||||
Description |
For this one Get a slider from the red menu. Add a one argument actionselector ( e.g. #height:) sight a target e.g. and ellipse) set appropriate min and max values ( e.g. 0.0 .. 500.0 ) use the slider (height of the ellipse should grow and shrink) Now set Arguments and type in a number (e.g. 42.0 ) Use the slider ( Debug boxes appear because you have the wrong # of arguments. ) If necessary use cmd-dot to stop the debug messages. Now try to repair the mistake. Go to set arguments and erase the number you had written. Use the slider. Note the previous debug boxes still appear. You can not use setArguments to clear all arguments (except the sliders which you want.) |
|||||||||||
Additional Information |
This bug has been hidden by the fact that simple buttons and sliders have been useless. (There has been no way to set the target) Having fixed that I've run into the hidden bugs. There are for classes that use #setArgument. 'ButtonProperties setActionSelector {menu}' 'SimpleButtonMorph setActionSelector {menu}' 'SimpleSliderMorph setActionSelector {menu}' 'StringButtonMorph setActionSelector {menu}' so each will need a #clearArguments message and a modification to the menu items. It probably follows that #setActionSelector needs a #clearActionSelector as well. Finally I am getting the impression from the number of times I have had to fix slider/button bugs in several places that some thought ma y want to go into refactoring this stuff so it needs only be programmed in one place. Yours in service, --Jerome Peace |
|||||||||||
Attached Files |
![]() ![]() |
|||||||||||
|
![]() |
|||||||||||
SYSTEM WARNING: Creating default object from empty value
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
94 total queries executed. 55 unique queries executed. |