Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limited input in value field of IVKnobControl #1049

Open
John-Crosby opened this issue Jan 18, 2024 · 0 comments
Open

Limited input in value field of IVKnobControl #1049

John-Crosby opened this issue Jan 18, 2024 · 0 comments
Labels
bug Something isn't working igraphics Issue relates to igraphics win Issue relates to Windows

Comments

@John-Crosby
Copy link

Describe the bug
Value field accepts only two characters, or values from "-9" to "99" only, though control range is set from -100 to 200.
System beeps on the third typed in number.

To Reproduce

In IPlugEffect example change the line:
pGraphics->AttachControl(new IVKnobControl(b.GetCentredInside(100).GetVShifted(-100), kGain,"GAIN", false, true)); // Value Field editable

and the line:
GetParam(kGain)->InitDouble("Gain", 0., -100., 200., 1., ""); // Unexpected behavior only when both of the last two values are changed - precision to whole numbers (not decimals) and empty value type string (no "%" or similar)

Expected behaviour
Any number of characters should be accepted or at least more than two.

IMPORTANT DETAILS
Checked VST3 in Reaper and APP, possibly relates to ALL

Windows only !!! On Mac it works as expected.

Default IGRAPHICS_BACKEND

@AlexHarker AlexHarker added bug Something isn't working igraphics Issue relates to igraphics win Issue relates to Windows labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working igraphics Issue relates to igraphics win Issue relates to Windows
Projects
None yet
Development

No branches or pull requests

2 participants