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

[BUG]Short release action triggers after duration group triggers in v4.0 #3307

Open
2 tasks done
arikorn opened this issue Feb 21, 2025 · 0 comments
Open
2 tasks done
Labels
BUG Something isn't working
Milestone

Comments

@arikorn
Copy link

arikorn commented Feb 21, 2025

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

If a button has both "Short release actions" and a duration group (Execute while held enabled), if the user presses the button for the duration the duration group runs as expected but upon release the "Short release actions" also run.
This appears to be a bug in v4.0.0+7866-main-2e96b757 (and perhaps earlier 4.0 versions -- this is the only one I tried)
It works correctly in v3.5.2

Steps To Reproduce

Define a button.
Add a "Short release actions"
Add a "Duration Group" (I used 750 ms)
Press and hold the button for at least the specified duration
Release the button.

Expected Behavior

The duration group actions should run.
The "short release actions" should not run, since it was not a short release.

Environment (please complete the following information)

- OS:Windows 10
- Browser: Chrome (and on Stream Deck surface)
- Companion Version: v4.0.0+7866-main-2e96b757

Additional context

This appears to be a bug in v4.0.0+7866-main-2e96b757 (and perhaps earlier 4.0 versions -- this is the only one I tried)
It works correctly in v3.5.2 (and likely earlier versions too)

Note: I use short release rather than "press actions" to prevent the action from triggering before the long-press

@arikorn arikorn added the BUG Something isn't working label Feb 21, 2025
@Julusian Julusian added this to the v4.0 milestone Feb 21, 2025
@Julusian Julusian moved this to Todo in Companion Plan Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants