Merge lp:~unity-2d-team/unity-2d/unity-2d-shell into lp:unity-2d

Proposed by Florian Boucault
Status: Merged
Approved by: Gerry Boland
Approved revision: 1006
Merged at revision: 907
Proposed branch: lp:~unity-2d-team/unity-2d/unity-2d-shell
Merge into: lp:unity-2d
To merge this branch: bzr merge lp:~unity-2d-team/unity-2d/unity-2d-shell
Reviewer Review Type Date Requested Status
Florian Boucault (community) Needs Fixing
Albert Astals Cid Pending
Michał Sawicz Pending
Gerry Boland Pending
Review via email:

Description of the change

Merge launcher and dash into a common new QML scene: the shell.
 - Created a shell folder that holds both launcher and dash QML code, the C++ code for the single binary and a common folder with shared QML files
 - The shell occupies the whole screen but is shaped for input where it is transparent in order not to interfere with the rest of the windows
 - The shell binary, unity-2d-shell, has a -rootqml option that lets the user specify the QML file to load
 - Implement visibility behaviours in QML instead of C++
 - Do not use D-Bus anymore to communicate between the launcher and the dash
 - Remove the homebutton panel plugin
 - Make the strut setting reusable outside of Unity2dPanel
 - Make LauncherDropItem a FocusScope
 - Implement gesture handling in QML instead of C++

Known issues:
 - In non composited mode there is a 1px wide rectangle on the edge of the screen where the launcher is hidden. This is acceptable for the moment since XFixes barriers to show the launcher are in the plan and will get rid of this problem
 - HomeShortcuts.qml has a transparent Rectangle to fix alignment in RTL mode that causes QML warnings. This is acceptable since the Home lens is going away

To post a comment you must log in.
Revision history for this message
Florian Boucault (fboucault) wrote :

A PPA containing that branch is available:

Revision history for this message
Florian Boucault (fboucault) wrote :

Merging this needs to be synchronised with merging the new gnome-session that updates the ubuntu 2d session to work with the new shell.

Revision history for this message
Florian Boucault (fboucault) wrote :

Missing feature:
3 and 4 fingers gesture support that need to be reimplemented in QML

review: Needs Fixing
1002. By Albert Astals Cid

Disable some bindings to gain speed

Updating the monitoredArea and the inputShapedArea when the animation of the launcher
is happening is an overkill since they are quite expensive and the animation triggers them
a few times

1003. By Florian Boucault

Merged from trunk

1004. By Albert Astals Cid

Merge lp:unity-2d

1005. By Florian Boucault

Reactivated gesture handling:
- 4 fingers tap to toggle the dash
- 3 fingers pinch to zoom in/out of the spread
- 4 fingers drag to reveal/dismiss the launcher

Missing feature:
When revealing the launcher by dragging, the launcher should lock in place if dragged further than it's shown position. By lock in place, we mean that its hideMode should be set to 0.

Approved by Albert Astals Cid

1006. By Albert Astals Cid

Do not try to be wider than the total screen geometry

Happens sometimes on startup when the enabled and availableGeometry are still in flux and it might end up meaning a badly sized shell view


People subscribed via source and target branches