Skip to content

Conversation

@ronso0
Copy link
Member

@ronso0 ronso0 commented Apr 14, 2025

Fixes #14374

Click the knob to show the parameter value in the parameter name label, like when turning the knob.
Enabled by constructing the parameter CO with ignoreNoOps = false and re-setting the current value on click.

This is still sort of a hack, but it's a minimal invasive and robust solution, compared to trying to connect the knob and label widgets as proposed in #14596.

We could also re-apply the current value in a new ControlParameterWidgetConnection function (get parameter, set parameter), but it makes no difference, except that we have more code to maintain. The test commit is d217c2e


edit Oh, looks like this is still missing the fix to make it work on first click after changing the effect or swapping parameters (ie. after skin load). Will amend that soonish.

@github-actions github-actions bot added the ui label Apr 14, 2025
@ronso0 ronso0 marked this pull request as draft April 14, 2025 22:43
@ronso0 ronso0 force-pushed the effect-param-knob-click-currvalue branch from cc96e9c to 521cbf5 Compare April 14, 2025 23:12
@ronso0 ronso0 force-pushed the effect-param-knob-click-currvalue branch from 521cbf5 to f766b71 Compare April 14, 2025 23:47
// We set a flag in order to not show the value in that case.
// Though only suppress it for those knobs! For unlinked knobs it would
// prevent showing the value on first click.
EffectKnobParameterSlot* paramKnob =
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw this independent from the Meta knob keep/reset setting, ie. now works as expected in all situations.

@ronso0 ronso0 marked this pull request as ready for review April 15, 2025 08:00
@github-actions
Copy link

This PR is marked as stale because it has been open 90 days with no activity.

@github-actions github-actions bot added the stale Stale issues that haven't been updated for a long time. label Jul 15, 2025
@github-actions github-actions bot removed the stale Stale issues that haven't been updated for a long time. label Sep 3, 2025
@ronso0
Copy link
Member Author

ronso0 commented Sep 23, 2025

I rarely need this, but it has proven helpful, for example to verify a parameter is 1.0

@ronso0 ronso0 added this to the 2.7-beta milestone Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show effect knob values on click (before move)

1 participant