Chrome 35 stopped touch interaction after Chrome update on Ubuntu 14.04
Browsing the Chrome command line options at http://peter.sh/experiments/chromium-command-line-switches/ I tried option --touch-devices .
xinput list
gave the touch screen's id, leading to
google-chrome --touch-devices=10
which is working fine now. Chrome is started by a script automatically and responds to touch events afterwards.
Related videos on Youtube
alex
Updated on September 18, 2022Comments
-
alex over 1 year
After updating Chrome to Version
Google Chrome 35.0.1916.114
on Ubuntu 14.04, Chrome does not respond to touch events anymore at a first start.Chrome is invoked at start up via a script by calling
google-chrome http://127.0.0.1/
Touch events worked fine with Google Chrome 34, but are broken after the update. It is not just a HTML or CSS issue, as I can move the then invisible mouse cursor on Chrome system buttons as the refresh button or the url bar and no click event takes place, but according hints are shown.
If I close Chrome and restart it again, touch events will work fine, as well as on system buttons like refresh as on HTML pages.
Maybe that is not a Chrome issue, as I ran a system update via the packet manager. But chromium-browser remained at version 34 and still accepts touch events, so it is rather a Chrome 35 issue.
Setting the --touch-events=enabled flag, as suggested in Chrome + Touchscreen + Unity (14.04) or Ubuntu 14.04 multi touch screen support, does not work.
I also tried:
- Starting Chrome 35 automatically by startup script
- killing the Chrome process after 5 seconds by the same start up script
- restarting the Chrome process again in that start up script
in order to activate touch interaction, as it works after closing and starting Chrome manually. That automatic approach does not work either.
Can someone confirm that behavior of Chrome? Is there a solution on activating touch events in Chrome again?
Annotation: The Ubuntu task bar accepts touch events. I can start applications via icon touch without problems.
Update:
Chrome will respond to touch events, if the touch screen was touched before start of Chrome. For instance, a single touch onto the empty desktop will do while the start up script sleeps for some seconds, starting Chrome automatically afterwards. But a simple emulated mouse click by xdotool won't help.
-
Admin over 9 yearsI had the same issue using Google Chrome 37.0.2062.94 on Ubuntu 13.10 and this fixed it for me. Thanks!
-
NullVoxPopuli over 9 yearshow do you make chrome use that every time it starts?
-
axings about 9 yearsYou can export your flags from
~/.profile
:export CHROMIUM_USER_FLAGS="--touch-devices=10"