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

After long press of a button the same button did not work the next time you press it #48

Open
Kat-CeDe opened this issue Jun 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Kat-CeDe
Copy link
Contributor

Kat-CeDe commented Jun 2, 2024

Description

I have back set to back and long press back to switch back to my previous IPTV channel. If I long press back and then again back this command is not send.

How to Reproduce

  1. Define a command to a button
  2. Define a command to the same button but as long press
  3. long press define button
  4. command is executed
  5. short press button
  6. button is ignored

Expected behavior

  1. command is executed even after long press as previous button

Integration version

0.5.1

Additional context

No response

@Kat-CeDe Kat-CeDe added the bug Something isn't working label Jun 2, 2024
@zehnm
Copy link
Contributor

zehnm commented Jun 11, 2024

I can't reproduce this with the following test case:

  1. Create activity
  2. Add AndroidTV media-player entity to activity
  3. Map cursor up to back key, short-press
  4. Map cursor down to back key, long-press
  5. Add activity to UI
  6. Start activity
  7. Long-press back key: selection moves down on ATV
  8. Short-press back key: selection moves up on ATV

Please check the integration log file if the integration receives both commands.

@Kat-CeDe
Copy link
Contributor Author

You are right I tested with cursor left and right there it also works for me.

My setup was a bit different:
short back = back
long back = macro with cursor down, delay 500ms, cursor enter

With sequence I can toggle between 2 IPTV channel. This still has the effect that it does not work twice in a row. The 3rd press on the same button is then working again.

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
None yet
Development

No branches or pull requests

2 participants