Idle time not reset on touchscreen devices
#1
Hi all,
I hope I am posting in the right place.

Background:
I want to use the idle time in my skin as well as a (Python) Add-on but need it to be reset to zero so I can detect if the user is active (not idle).
While trying to control the transparency of controls when playing media, I stumbled upon a problem with touchscreen devices, see also this link: https://forum.kodi.tv/showthread.php?tid...pid2804635

Problem:
Apparently, the idle time is not reset to 0, when something is „clicked“ on with a touchscreen device or the screen is touched at all.

Devices used:
I tested it with an Android smartphone and this touchscreen attached to a Raspberry Pi 3B+: https://www.elecrow.com/wiki/index.php?t...ry_Pi/_PC/
_SONY_PS4
Also, I tested it with a Mac running Kodi 18.02. and by VNC'ing onto the Raspi.

Kodi Version:
18.0.2

Method of testing:
I wrote a simple Add-on, that displays „globalidletime“ in a notification. On a Mac running Kodi and when when VNC’ing onto the  Raspberry Pi, „globalidletime“ is reset to zero, when moving the mouse and clicking.
On the Android Phone and the Rasp/Touchscreen combo, the idle time steadily increased, no matter what I did.

Questions:
Is this a bug? Is this a feature?
How can I circumvent it in the most easy way?
I want to use the idle time in my skin as well as a (Python) Add-on but need it to be reset to zero so I can detect if the user is active (not idle).

Thanks for your help!
Reply

Logout Mark Read Team Forum Stats Members Help
Idle time not reset on touchscreen devices0