Bugzilla – Bug 213
Slider widgets with invalid data type behave as if set to integer.
Last modified: 2018-08-20 11:54:00 UTC
Created attachment 37 [details] Nyquist.cpp Slider Widget patch There are two valid forms of Slider Widget in Nyquist plug-ins: ;control var "text-left" variable-type "text-right" initial-value min max where "variable-type" may take the value "int"or "real" Other values for "variable-type" are not valid and should not be displayed, but if the type is not set to "real" then Audacity treats it as if it were set to "int". Edgar suggested that setting the "variable-type" parameter to an invalid value should produce an error message, however all other types of malformed widget are simply ignored by Audacity. The attached patch is for the Nyquist.cpp file and checks the "variable-type" parameter against both valid data types so that Slider Widgets with invalid "variable-type" parameters are not displayed.
(In reply to comment #0) http://audacity.238276.n2.nabble.com/Floating-point-input-from-slider-widget-td5445391.html#a5445391 http://audacity.238276.n2.nabble.com/Re-Audacity-nyquist-Audacity-quality-Floating-point-input-from-slider-widget-td5552691.html#a5552691 Is everyone happy with this now? Can this bug be closed?
Fixed by http://code.google.com/p/audacity/source/detail?r=10624