~ci-train-bot/unity8/unity8-ubuntu-zesty-2415

Viewing all changes in revision 2825.

  • Committer: Bileto Bot
  • Author(s): Michael Zanetti
  • Date: 2017-02-07 18:45:33 UTC
  • mfrom: (2798.3.1 unity8-fix-spread-jump)
  • Revision ID: ci-train-bot@canonical.com-20170207184533-x0av8hg41tdjmit0
fix some glitches with spread positioning

There are some circumstances which can cause the spread to jump around
* If there are only 2 apps and alt+tab is used to open the spread, move to the first (currently focused one), then release, the next time the spread is invoked, tiles animated to the old position and then jumped to the initial position. Resetting the spread position when the spread is left, fixes that.
* If many apps are open and the first one is tabbed to, the flickable could be moved to negative content positions which again would cause a jump when then interacting with the finger or mouse to reposition the spread.

Approved by: Lukáš Tinkl, Unity8 CI Bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: