Code review comment for lp:~sbaldassin/autopilot/fix_1671155

Revision history for this message
Santiago Baldassin (sbaldassin) wrote :

Good catch Richard. I haven't been able to reproduce it though. I've added more logging to autopilot and this is what I get

>>> from autopilot.input import Keyboard
>>>
>>>
>>> k = Keyboard().create()
11:41:56.823493: Creating X11
11:41:56.914873: Creating OSK
11:41:56.988823: Creating UInput

The risk that I see is the same I've been pointing out when we decided to change the list order, there are people out there using autopilot and if we changed the default list order, we might impact them.

If someone, either ust, the web browser app or anyone else wants to avoid any failed attempt, they can use the preferred_backend option as you pointed out. In our case...

>>> k = Keyboard().create(preferred_backend='UInput')
11:44:14.934115: Creating UInput

« Back to merge proposal