Closed schoolsplay closed 1 year ago
Fixed by disabling the mouse events on MTD devices by setting the config option "mouse=none". It turn out that Kivy 2.1 (with python3.8) generates double events even with the config option "disable_multitouch". The last one doesn't seems to prevent the mouse event being fired. Probably a bug in Kivy 2.1. Will file a bugreport against it.
On a desktop with a mouse everything works ok. But on a touchscreen, HP All-in-One system the checkers.py crashed. I suspect the problem lies in the fact that on a touchscreen a "touch_move" event is generated iso a "touch_up/down". Both systems are Ubuntu 22.04 with a python v3.8 virtual environment with kivy 2.1 installed and the kivy3dgui placed inside the tree.
To reproduce, start checkers.py and touch any stone.
This is the complete traceback: