Igalia / cog

WPE launcher and webapp container
MIT License
242 stars 61 forks source link

[wpe-2.38.5][wpe-webkit-mir-kiosk] Long touch/press not working #709

Open tbanetwork opened 7 months ago

tbanetwork commented 7 months ago

Hi all!

I use ubuntu frame with wpe (through wpe-webkit-mir-kiosk) for … a kiosk 😉

Unfortunately, in our Kiosk there are some Buttons where you need to confirm the action by “holding” the button for a couple of seconds.

E.g. you need to confirm that you want to shutdown the kiosk by holding “Hold to shutdown” for a certain time. On top of the dialog there is a progress bar (see screenshot; blue) and normally after hitting 100% it should shut down the kiosk. For some reason this never happens and the blue progress bar does not move at all.

323975835-df536e25-3722-4776-ad9d-885fab35fd72 (Screenshot taken remotely via PC, that’s why there is a mouse cursor)

Any Ideas?

Thanks a lot tbanetwork

P.S. Sysinfo:

Hardware: NVIDIA Orin NX (ARM64) OS: NVIDIA Jetson Linux 35.4.1 (Ubuntu 20.04)

aperezdc commented 3 months ago

This is probably some issue related to touch input or mouse input handling.

@tbanetwork Which kind of input device are you using (mouse, touch)? Also, do you know how the page checks that the button is kept pressed? A small HTML sample file would be useful to reproduce and investigate the problem on our end.

aperezdc commented 3 months ago

Also, WPE WebKit 2.38.x is extremely old, the bug may have been fixed already in newer versions.

tbanetwork commented 2 months ago

Hi @aperezdc,

thanks for your feedback. Sorry for my late response (vacation). My colleagues did some further investigation and it seems as if the "long press" recognition on the website we use is not working properly with wpe-webkit for some reason. Another Website with long-press actions did work fine.

Nevertheless, we will also try updating the wpe webkit version -> thanks for the hint.

Best Regards Timo