lp:~gerboland/unity-mir/fix-screenshots
- Get this branch:
- bzr branch lp:~gerboland/unity-mir/fix-screenshots
Branch merges
- MichaĆ Sawicz: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Albert Astals Cid: Pending requested
-
Diff: 231 lines (+58/-25)8 files modifiedsrc/modules/Unity/ApplicationManager/application.cpp (+0/-6)
src/modules/Unity/ApplicationManager/application.h (+0/-3)
src/modules/Unity/ApplicationManager/application_list_model.cpp (+2/-2)
src/modules/Unity/ApplicationManager/application_list_model.h (+1/-1)
src/modules/Unity/ApplicationManager/application_manager.cpp (+16/-5)
src/modules/Unity/ApplicationManager/application_manager.h (+2/-0)
src/modules/Unity/ApplicationManager/applicationscreenshotprovider.cpp (+35/-7)
src/modules/Unity/ApplicationManager/applicationscreenshotprovider.h (+2/-1)
Branch information
Recent revisions
- 29. By Gerry Boland
-
Fix app screenshots to remove white padding. Remove app id entirely, instead use app_id to identify apps to grab snapshots of (needed by lenses later).
White padding removal is a workaround for fact qtubuntu surfaces are fullscreen, and just don't draw in the panel area - so leaving a white rectangle. This patch calculates the height of the panel, and chops a rectangle of that height off the top of the screenshot if the app is not in fullscreen mode.
- 28. By Gerry Boland
-
MirSurfaceManager watches for shell surface creation, and emits signal when created. InputArea registers itself with shell surface only when shell surface present.
- 27. By Albert Astals Cid
-
Improve InputArea<
->MirSurface< ->Mir:: Surface mapping This gets the lower row of buttons in http://
bazaar. launchpad. net/~gerboland/ +junk/qml- demo-shell/ to work Rationale is, before this patch it's input area had it's own MirSurface but some of the MirSurfaces shared the same mir::surface, so they ended up overwriting eachother input_regions. Now there's just a MirSurface per surface that is shared with the various InputAreas and thus the input_regions nicely cooperate
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:unity-mir