Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 213 - Slider widgets with invalid data type behave as if set to integer.
Slider widgets with invalid data type behave as if set to integer.
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Nyquist
1.3.14 alpha
Per OS All
: P4 Repeatable
Assigned To: Default Assignee for New Bugs
: nyquist
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-25 16:37 UTC by Steve Daulton
Modified: 2018-08-20 11:54 UTC (History)
3 users (show)

See Also:
Steps To Reproduce:
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2018-08-20 00:00:00


Attachments
Nyquist.cpp Slider Widget patch (516 bytes, patch)
2010-08-25 16:37 UTC, Steve Daulton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2010-08-25 16:37:35 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.
Comment 2 Gale Andrews 2010-09-26 04:14:07 UTC
Fixed by http://code.google.com/p/audacity/source/detail?r=10624