← Back to team overview

touch-packages team mailing list archive

[Bug 1517597] Re: [regression] mouse pointer support on emulator is broken

 

I think the emulator is correct, albeit weird. Qemu provides a tablet
virtual device (so you don't get two mouse pointers and can enter/leave
the VM window freely), and it works well with Ubuntu and Windows. And it
sounds like it worked well with Mir till recently.

The solution is not to modify the emulator, because the emulator is
correctly designed to emulate a tablet. Much like that of a stylus-based
tablet where the mouse cursor does follow your hovers if you're close
enough, or you can jump to a new location. This is a mature established
feature of Qemu that's been there for many years. So let's just fix
Mir/libinput.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1517597

Title:
  [regression] mouse pointer support on emulator is broken

Status in Canonical System Image:
  Incomplete
Status in Mir:
  Confirmed
Status in Mir 0.18 series:
  Confirmed
Status in android package in Ubuntu:
  New
Status in mir package in Ubuntu:
  Confirmed
Status in phablet-tools package in Ubuntu:
  Confirmed

Bug description:
  STEPS:
  1. Flash with sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test
  2. Wait for it to build
  3. Run with ubuntu-emulator run rc-test
  4. Starts up but the mouse never moves meaning you can't leave the first page of the welcome wizard

  EXPECTED:
  I expect the emulator cursor to follow the mouse cursor and be able to click on things

  ACTUAL:
  Emulator cursors stay in the top left preventing movement.

  As noted below F6 toggles the input mode.
  The pointer movement is quite slow and jerky.
  You also can no longer initiate an edge swipe even in trackball mode.

  This is a major regression from how the emulator used to perform.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1517597/+subscriptions