Merge lp:~osomon/unity-2d/drag-from-dash into lp:unity-2d/3.0
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Florian Boucault | ||||||||
Approved revision: | 571 | ||||||||
Merged at revision: | 579 | ||||||||
Proposed branch: | lp:~osomon/unity-2d/drag-from-dash | ||||||||
Merge into: | lp:unity-2d/3.0 | ||||||||
Diff against target: |
543 lines (+426/-5) 10 files modified
launcher/UnityApplications/place.cpp (+2/-2) launcher/app/launcherview.cpp (+1/-2) libunity-2d-private/Unity2d/CMakeLists.txt (+4/-0) libunity-2d-private/Unity2d/dragitem.cpp (+159/-0) libunity-2d-private/Unity2d/dragitem.h (+77/-0) libunity-2d-private/Unity2d/dragitemwithurl.cpp (+82/-0) libunity-2d-private/Unity2d/dragitemwithurl.h (+62/-0) libunity-2d-private/Unity2d/plugin.cpp (+2/-0) places/AbstractButton.qml (+8/-1) places/UnityDefaultRenderer.qml (+29/-0) |
||||||||
To merge this branch: | bzr merge lp:~osomon/unity-2d/drag-from-dash | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Florian Boucault (community) | code | Needs Fixing | |
Review via email: mp+61438@code.launchpad.net |
Commit message
[dash] Support dragging files and installed applications from the dash to the launcher, the desktop or file managers.
Description of the change
This branch introduces a new QML item, DragItemWithUrl, used in the dash to allow initiating drag events from the elements displayed in the places.
Installed applications and files can be dragged to the launcher, to the desktop or to any window that accepts drag events with "file://" URLs (e.g. file managers).
Available (non installed) applications cannot be dragged.
The careful reviewer will test that the functionality works as expected, that this doesn’t introduce regressions in the dash (in particular opening files/folders and launching applications) and in the launcher (drag’n’drop of desktop files from a file manager, drag’n’drop of files to the trash, drag’n’drop of URLs from the browser’s address bar).
WARNING: THIS IS NOT A COMPLETE REVIEW
I did a quick functional test and it's pretty neat, well done! applications from Nautilus for example it will look antialiased. Any idea?
One thing I noticed, the icons are very aliased whereas if I drag&drop an app in /usr/share/