companion icon indicating copy to clipboard operation
companion copied to clipboard

[BUG] Emulator Buttons Being Triggered Multiple Times

Open ukiews opened this issue 8 months ago • 6 comments

When an emulator button is pressed (using iOS device) Companion registers multiple press/releases. This seems to connected to the Pi version of Companion. Running 3.5.4 on the RasPi 5.

Log:

25.04.24 14:11:27 Surface/Handler/emulator:nyqtqPjcv2RdZn7pmAkw3 (RBS-1Cam): Button 31/3/0 pressed
25.04.24 14:11:27 Surface/Handler/emulator:nyqtqPjcv2RdZn7pmAkw3 (RBS-1Cam): Button 31/3/0 released
25.04.24 14:11:27 Surface/Handler/emulator:nyqtqPjcv2RdZn7pmAkw3 (RBS-1Cam): Button 31/3/0 pressed
25.04.24 14:11:27 Surface/Handler/emulator:nyqtqPjcv2RdZn7pmAkw3 (RBS-1Cam): Button 31/3/0 released

It does not happen every time, but very frequent.

Environment (please complete the following information)

- OS:RasPi/iOS 18.3.1
- Browser:Safari emulator
- Companion Version: 3.5.4

I have tried placing the actions both under Press and Release. Have also tried adding a short delay. Still, multiple press/releases are recorded.

Image

ukiews avatar Apr 24 '25 18:04 ukiews

I have encountered the same bug, also with CompanionPi 3.5.2, but only when the emulator-page is displayed in fullscreen (web-app) mode in iOS Safari... When displayed as a regular webpage (URL-bar visible) everything works fine.

Any ideas for a workaround?

salopeknet avatar May 15 '25 08:05 salopeknet

I am running in full-screen. The issue occurs regularly.

ukiews avatar May 15 '25 13:05 ukiews

I think I have this figured out in the latest beta

Julusian avatar May 25 '25 19:05 Julusian

Issue still happening on v4.0.1

https://photos.app.goo.gl/o9ESgr1Y3erwrAoY8

ukiews avatar Jun 16 '25 21:06 ukiews

@Julusian could this be reopened?

ukiews avatar Jun 23 '25 18:06 ukiews

well I've done all I can without having physical access to an ipad or some other way to reproduce this. So this will need someone else to look into it

Julusian avatar Jun 23 '25 18:06 Julusian