[App switcher] Different drag behaviour between items that can and cannot be closed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
Ubuntu UX |
Fix Released
|
High
|
Vesa Rautiainen | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Andrea Cimitan | ||
unity8 (Ubuntu RTM) |
Fix Released
|
High
|
Michael Zanetti |
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
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Albert Astals Cid (community): Approve
-
Diff: 55 lines (+16/-6)2 files modifiedqml/Stages/SpreadDelegate.qml (+8/-1)
tests/qmltests/Stages/tst_SpreadDelegate.qml (+8/-5)
- Unity Team: Pending requested
-
Diff: 77 lines (+23/-4)3 files modifiedqml/Stages/SpreadDelegate.qml (+8/-1)
tests/mocks/Unity/Application/ApplicationManager.cpp (+7/-0)
tests/qmltests/Stages/tst_SpreadDelegate.qml (+8/-3)
Changed in ubuntu-ux: | |
importance: | Undecided → High |
importance: | High → Medium |
assignee: | nobody → Vesa Rautiainen (vesar) |
tags: | added: ota-1 |
Changed in ubuntu-ux: | |
importance: | Medium → High |
summary: |
- [Apps switcher] Different drag behaviour between items that can and + [App switcher] Different drag behaviour between items that can and cannot be closed |
Changed in ubuntu-ux: | |
status: | New → Triaged |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Committed |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Andrea Cimitan (cimi) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in unity8 (Ubuntu RTM): | |
assignee: | nobody → Andrea Cimitan (cimi) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in unity8 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity8 (Ubuntu RTM): | |
status: | Triaged → In Progress |
Changed in unity8 (Ubuntu RTM): | |
status: | In Progress → New |
assignee: | Andrea Cimitan (cimi) → nobody |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in unity8 (Ubuntu RTM): | |
milestone: | none → 14.09-ota-1 |
status: | New → Triaged |
Changed in unity8 (Ubuntu RTM): | |
assignee: | nobody → Michael Zanetti (mzanetti) |
status: | Triaged → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww03-2015 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Changed in ubuntu-ux: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package unity8 - 8.01+15. 04.20141202- 0ubuntu1
--------------- 04.20141202- 0ubuntu1) vivid; urgency=low
unity8 (8.01+15.
[ Michael Terry ]
* Make sure that there is no window of opportunity for swiping away
greeter before the lockscreen appears.
* Don't allow dragging the greeter out from the left edge if it's
hidden there. (LP: #1372952)
[ Michał Sawicz ]
* Move from Theme colour to direct UbuntuColors.orange for activity
indicator and preview buttons
[ Albert Astals ] :connectivity: :NetworkingStat us instead of figurationManag er
* Use QImageReader not to load the image into memory twice (LP:
#1384374)
* Don't create the whole current scope delegates, just height * 3 (LP:
#1384393, #1384374)
* Make CroppedImageSizer async
* Use ubuntu:
QNetworkCon
* Compile with Qt 5.4 (LP: #1395636)
[ Michael Zanetti ]
* close previews and temp scopes on left edge/BFB (LP: #1391798)
* make spread reversible (LP: #1368668, #1355284, #1368677)
[ Andrea Cimitan ]
* Different drag behaviour for not closable apps in spread (LP:
#1368287)
[ Daniel d'Andrada ] touchFlick properly map event coordinates
* Make UnityTestCase.
-- Ubuntu daily release <email address hidden> Tue, 02 Dec 2014 09:26:49 +0000