Skip to content

Expressions don't work for toggling checkboxes #887

@HorstBaerbel

Description

@HorstBaerbel

Operating system and application version

  • OS: Fedora
  • Version 3.29.1

Describe the bug
Trying to use a MIDI button to TOGGLE a checkbox. After learning the button, the button does change the checkbox, but it is momentary. I want a permanent toggle.
I'm tried the Expressions "inputValue > 0 ? 0 : 1", "value > 0 ? (inputValue > 0 ? 0 : 1) : inputValue", "!inputValue" or "!!inputValue", but none of these seem to work.

EDIT: I've also tried using an expression to switch between two values of a control. The MIDI button does sort of: "value > 0 ? 0.5 : 1" and also this does not work for me in some cases. Maybe this is a problem with MIDI (buttons?) + Expressions?

To Reproduce
Steps to reproduce the behavior:
See above

Expected behavior
One of the Expression should toggle the checkbox

Workaround
The obvious workaround is setting your MIDI buttons to actual toggle buttons through a scene/patch editor, but you don't always have that possibility...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions