#831369 audacity: In LADSPA effect settings, sliders cannot handle negative integers

Package:
audacity
Source:
audacity
Description:
fast, cross-platform audio editor
Submitter:
Kyanos
Date:
2018-11-29 05:33:05 UTC
Severity:
minor
#831369#5
Date:
2016-07-15 02:29:17 UTC
From:
To:
Dear Maintainer,

In the settings window for LADSPA effects, the sliders do not move to
negative integers. If, for example, an integer option ranges from -3 to
3 (inclusive), the slider will only move within one half of the bar.

What is interesting is that negative values can still be entered
manually, and the slider will even move to the appropriate position in
the negative part! But trying to adjust the slider will cause it to jump
back to the 0 position.

Also, the lower-bound label for the slider is incorrect when negative
integers are involved: It is one greater than the true lower bound. So,
if the range were from -3 to 3, the lower-bound label would be -2.
However, the slider seems to behave as if the lower bound is correct.

I first discovered these issues while using Tom Baran's Autotalent
plugin (packaged as "autotalent"), so that may be used to reproduce
these issues. I have also attached a test plugin which may help.

Thank you for your consideration.

Kyanos

#831369#10
Date:
2018-11-29 05:29:17 UTC
From:
To:
Package: audacity
Version: 2.2.2-1+b1
Followup-For: Bug #831369


Dear Maintainer,

Bug still exists in the latest version (2.2.1-1), confirmed with both
Autotalent and the test plugin.

To reiterate, the problems lie only in *integer* options; non-integer
options are okay.

Kyanos