← Back to team overview

touch-packages team mailing list archive

[Bug 1368287] Re: [App switcher] Different drag behaviour between items that can and cannot be closed

 

** Changed in: ubuntu-ux
       Status: New => Triaged

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

Title:
  [App switcher] Different drag behaviour between items that can and
  cannot be closed

Status in Ubuntu UX bugs:
  Triaged
Status in “unity8” package in Ubuntu:
  New

Bug description:
  Drag to close is a great feature in application spread. In user
  testing it had a great success rate and users understood it and knew
  how to use it. The problem is the Dash item that's part of the spread
  but is the only item which cannot be closed. Currently the Dash item
  drag movement is similar to the movement of the items that actually
  can be closed.

  We want to make Dash drag different from others by restricting the
  movement while still responding to user's drag.

  ------------------------------------------------------------
  Desired solution

  Use restriction algorithm for dash item so that it moves along the
  drag but soon starts restricting the movement indicating that it's an
  item that cannot be closed.

  Here is quite nice elastic function that can be used:
  function elastic( currentPosition, limit ) {
      return limit * ( 1 - Math.pow( ( limit - 1 ) / limit, currentPosition ) )
  }

  Where:
  limit is the highest value that ever can be returned by the function
  current position is the value to be limited

  It's a bit hard to describe the parameters, therefore I created a prototype that should explain the usage. 
  Find it from: lp:~willow-team/willow/elasticRestriction

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1368287/+subscriptions