Page 1 of 1

Touch in Chromium browser sometimes not working

Posted: 09 Nov 2023, 12:21
by Wiekon
Hi,

i created a CODESYS WebVisu and want to display it directly on the Revolution Pi Connect S witch a connected Beetronics Touchscreen.
I get the best results regarding appeareance an performance with the preinstalled Chromium browser.

Nevertheless, sometimes i'm facing the problem, that the chromium browser doesn't react on touch events of the touchscreen. The problem is only inside the browser. I can control the rest of Raspbian without problems.
I tried several other browsers too:

- firefox-esr: poor performance
- Midori browser: problems with touch too
- Epiphany: Problems with touch

Chromium works the best, but sometimes only a reboot or reconnection of the usb cable can help. Both is not, what I want.

Any tipps or solutions for me?

Thanks in advance!

Re: Touch in Chromium browser sometimes not working

Posted: 10 Nov 2023, 11:28
by dirk
Dear Wiekon, okay, I understand. That sounds like a showstopper on the home stretch, unattractive. Please try this approach:
https://recordex.happyfox.com/kb/articl ... at%20works.

Re: Touch in Chromium browser sometimes not working

Posted: 14 Nov 2023, 14:18
by Wiekon
Hi Dirk,

thank you for your reply.
I already found this solution, but it doesn't work for the chromium browser of the revolution pi. The setting is only available in the "real" chrome browser.
Am I the only one, using CODESYS Webvisu in Chromium on the revolution pi, having this problem?
And why are other browsers like firefox-esr that slow with the CODESYS WebVisu in raspbian?

Any other ideas? The machine is already delivered to the customer, who is facing the problems...
I have a second setup of all the components to do some tests.

Thank's for your help!

Re: Touch in Chromium browser sometimes not working

Posted: 17 Nov 2023, 09:47
by dirk
Hi Wiekon, Try recalibrating your screen. Have a look at this video, hopefully it will help:
https://www.youtube.com/watch?v=kc4xil3uqDQ
I also found this interesting discussion in the Raspberry Pi forum
https://forums.raspberrypi.com/viewtopic.php?t=203483

Re: Touch in Chromium browser sometimes not working

Posted: 17 Nov 2023, 16:21
by dirk
Hi, I have created a test setup with the example TrafficLight Web Visualization.
I am trying to get a touch screen. Right now I just accessed via VNC, can you give it a try and see if this example works?
https://revolutionpi.com/tutorials/beis ... alisierung

Re: Touch in Chromium browser sometimes not working

Posted: 05 Dec 2023, 12:38
by dirk
Dear Wiekon, here is a set-up with an example video that shows that the touch inputs work excellently.#
  • using a faytech monitor
  • and just install the "chromium" browser - no modifications needed

Code: Select all

sudo apt install chromium-browser


Re: Touch in Chromium browser sometimes not working

Posted: 19 Dec 2023, 13:40
by Wiekon
Hi Dirk,

with the new RevPi and Touchscreen it seems to work flawlessly. But: ONLY with the Chromium Browser, not with the pre-installed epiphany. The epiphany dosen't react on any touch events on buttons or text boxes. After installing chromium it works without problems. Unfortunately this behaviour differs from our customer machine... :cry:

I think, we can set this topic to closed for now...

Thanks for your help!

Re: Touch in Chromium browser sometimes not working

Posted: 19 Dec 2023, 15:20
by dirk
Hi Wiekon thanks for the positive feedback that's wonderful