← Back to team overview

touch-packages team mailing list archive

[Bug 1189775] Re: Mir cursor has no hotspot setting, assumes (0, 0)

 

The attachment "hotspot.patch" seems to be a patch.  If it isn't, please
remove the "patch" flag from the attachment, remove the "patch" tag, and
if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
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/1189775

Title:
  Mir cursor has no hotspot setting, assumes (0, 0)

Status in Mir:
  Fix Committed
Status in “mir” package in Ubuntu:
  Triaged

Bug description:
  The Mir cursor has no hotspot setting and just assumes (0, 0).

  A configurable hotspot location will be required for:
    1. Ensuring the hotspot is the precise point of the arrow (not quite location 0,0).
    2. Supporting other cursors where the hotspot is different, like centred cross-hairs.
    3. Left-handed support?...

  This could be implemented as either:
    A. A coordinate in the cursor image to use as the hotspot; or
    B. Assume the hotspot is always the centre of the image.

  (A) is how it's usually done on other systems, but (B) is most
  portable because it means we don't need to create any custom tooling
  to make any cursor.

  Once you know the hotspot location within the image, you just offset
  the hardware cursor by the negative of that coordinate.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1189775/+subscriptions