And here's the code in AP: /usr/lib/python3/dist-packages/autopilot/input/_uinput.py:
def _get_touch_tool(): # android uses BTN_TOOL_FINGER, whereas desktop uses BTN_TOUCH. I have # no idea why... if autopilot.platform.model() == 'Desktop': touch_tool = e.BTN_TOUCH else: touch_tool = e.BTN_TOOL_FINGER return touch_tool I don't know either why android uses a touchpad (BTN_TOOL_FINGER), but looking at this code it seems all our tests use a touchscreen (BTN_TOUCH) when running on desktop already. I've pushed a fix to: lp:~mzanetti/autopilot/dont-use-touchpad-for-touch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1471598 Title: Autopilot uses mouse events, puts device in windowed mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopilot/+bug/1471598/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs