Merge lp:~dandrader/unity8/noStretchOnResize into lp:unity8
| Status: | Superseded | ||||
|---|---|---|---|---|---|
| Proposed branch: | lp:~dandrader/unity8/noStretchOnResize | ||||
| Merge into: | lp:unity8 | ||||
| Diff against target: |
3038 lines (+2180/-189) 41 files modified
CMakeLists.txt (+1/-1) debian/control (+6/-4) debian/copyright (+21/-0) debian/unity8-private.install (+1/-0) plugins/CMakeLists.txt (+1/-0) plugins/Cursor/3rd_party/CMakeLists.txt (+1/-0) plugins/Cursor/3rd_party/xcursor/CMakeLists.txt (+15/-0) plugins/Cursor/3rd_party/xcursor/xcursor.c (+968/-0) plugins/Cursor/3rd_party/xcursor/xcursor.h (+65/-0) plugins/Cursor/CMakeLists.txt (+28/-0) plugins/Cursor/Cursor.qml (+12/-0) plugins/Cursor/CursorImageProvider.cpp (+191/-0) plugins/Cursor/CursorImageProvider.h (+76/-0) plugins/Cursor/MousePointer.cpp (+125/-0) plugins/Cursor/MousePointer.h (+59/-0) plugins/Cursor/plugin.cpp (+39/-0) plugins/Cursor/plugin.h (+33/-0) plugins/Cursor/qmldir (+3/-0) qml/Greeter/Greeter.qml (+1/-1) qml/Launcher/Launcher.qml (+1/-0) qml/Panel/Panel.qml (+1/-0) qml/Shell.qml (+14/-7) qml/Stages/ApplicationWindow.qml (+27/-1) qml/Stages/DecoratedWindow.qml (+13/-5) qml/Stages/DesktopStage.qml (+11/-15) qml/Stages/SessionContainer.qml (+25/-1) qml/Stages/SurfaceContainer.qml (+57/-4) qml/Stages/WindowDecoration.qml (+32/-4) qml/Stages/WindowResizeArea.qml (+170/-69) tests/mocks/CMakeLists.txt (+1/-0) tests/mocks/Cursor/CMakeLists.txt (+1/-0) tests/mocks/Cursor/Cursor.qml (+20/-0) tests/mocks/Cursor/qmldir (+2/-0) tests/mocks/Unity/Application/MirSurface.cpp (+52/-0) tests/mocks/Unity/Application/MirSurface.h (+16/-0) tests/mocks/Unity/Application/MirSurfaceItem.cpp (+14/-0) tests/mocks/Unity/Application/MirSurfaceItem.h (+5/-0) tests/qmltests/CMakeLists.txt (+1/-1) tests/qmltests/Stages/tst_DesktopStage.qml (+18/-2) tests/qmltests/Stages/tst_WindowResizeArea.qml (+49/-74) tests/qmltests/tst_OrientedShell.qml (+4/-0) |
||||
| To merge this branch: | bzr merge lp:~dandrader/unity8/noStretchOnResize | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Zanetti (community) | 2015-09-18 | Needs Fixing on 2015-09-23 | |
| PS Jenkins bot | continuous-integration | 2015-09-18 | Needs Fixing on 2015-09-18 |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2015-10-14.
Commit Message
Don't stretch application surfaces when resizing
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
https:/
https:/
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable
* If you changed the UI, has there been a design review?
Not applicable
- 1969. By Launchpad Translations on behalf of unity-team on 2015-09-19
-
Launchpad automatic translations update.
- 1970. By Launchpad Translations on behalf of unity-team on 2015-09-22
-
Launchpad automatic translations update.
- 1971. By Michael Terry on 2015-09-22
-
When libusermetrics gives us an empty string, still show the infographic circle rather than hiding it. This is a follow-on to a branch [1] that changes the "no data available" label to the empty string.
[1] https:/
/code.launchpad .net/~mpt/ libusermetrics/ 1286276- no-data- sources/ +merge/ 268042 - 1972. By Albert Astals Cid on 2015-09-22
-
Adapt test to code changes
Approved by: Michał Sawicz
- 1973. By Michał Sawicz on 2015-09-22
-
Fix integrated LightDM path
Approved by: Albert Astals Cid - 1974. By Albert Astals Cid on 2015-09-22
-
Add DEP-8 test for all our UI and unit tests
Some refactoring was needed:
- added a basic Ubuntu.Web mock
- made plugin path an environment, not a compiled-in bit
- moved Unity.Application resources into .qrc - 1975. By Albert Astals Cid on 2015-09-22
-
Keep the PreviewStack around to avoid mem leaks Fixes: #1495467
Approved by: Michał Sawicz - 1976. By CI Train Bot Account on 2015-09-22
-
Releasing 8.11+15.
10.20150922. 1-0ubuntu1
| Michael Zanetti (mzanetti) wrote : | # |
When resizing I can see the panel and the dropshadow resizing faster than the content. I think it would be better to not resize those either until the surface has caught up.
Other than that, it seems to work fine.
| Daniel d'Andrada (dandrader) wrote : | # |
On 23/09/2015 07:31, Michael Zanetti wrote:
> Review: Needs Fixing
>
> When resizing I can see the panel and the dropshadow resizing faster than the content. I think it would be better to not resize those either until the surface has caught up.
>
> Other than that, it seems to work fine.
It's a design decision: should we show something like a translucent
orang rect that tightly follows the mouse pointer (therefore showing
shell's responsiveness and a smooth animation) or have the window stick
to the surface size (as you prefer, but risking showing a stuttering,
unresponsive, shell)?
I don't have a strong opinion on that, but I do prefer first option. But
I'm ok with your preference as well. Any of those are better than the
current state. We should get design input on that (not sure *how* to do
that)
| kevin gunn (kgunn72) wrote : | # |
> On 23/09/2015 07:31, Michael Zanetti wrote:
> > Review: Needs Fixing
> >
> > When resizing I can see the panel and the dropshadow resizing faster than
> the content. I think it would be better to not resize those either until the
> surface has caught up.
> >
> > Other than that, it seems to work fine.
>
> It's a design decision: should we show something like a translucent
> orang rect that tightly follows the mouse pointer (therefore showing
> shell's responsiveness and a smooth animation) or have the window stick
> to the surface size (as you prefer, but risking showing a stuttering,
> unresponsive, shell)?
>
> I don't have a strong opinion on that, but I do prefer first option. But
> I'm ok with your preference as well. Any of those are better than the
> current state. We should get design input on that (not sure *how* to do
> that)
i would vote we land for the speedy soln now, and then log a bug subsequent to this landing outlining the choices between speed vs nice tight animation tween window/shadow
- 1977. By Launchpad Translations on behalf of unity-team on 2015-09-24
-
Launchpad automatic translations update.
- 1978. By Launchpad Translations on behalf of unity-team on 2015-09-25
-
Launchpad automatic translations update.
- 1979. By Michał Sawicz on 2015-09-25
-
Bump application API version
Approved by: Daniel d'Andrada - 1980. By Albert Astals Cid on 2015-09-25
-
Improvements from running clazy over the code
* Use QStringLiterals for literals
* Use QHash on pointers instead of QMap (since the ordering there can't matter)
* Add some QLatin1Strings
* Add some reserve() calls
* Change a QList to QVector since QList is not optimal on big items
* Add some const &clazy: https:/
/quickgit. kde.org/ ?p=scratch% 2Fsmartins% 2Fclazy. git
Ignored tests folder
Approved by: Michael Zanetti - 1981. By Lukáš Tinkl on 2015-09-25
-
Improve the appearance and functionality of datetime and session indicators in Unity8 desktop.
Approved by: Nick Dedekind - 1982. By Lukáš Tinkl on 2015-09-25
-
Using InputInfo, determine if we need swipe or click to dismiss the notifications (e.g. incoming phone call)
Approved by: Michael Zanetti - 1983. By Richard Somlói on 2015-09-25
-
Fix translator comments in time formatter
Approved by: Nick Dedekind - 1984. By Daniel d'Andrada on 2015-09-25
-
PhoneStage: ensure you're left in a consistent state after being reset Fixes: #1476757
Approved by: Michael Zanetti - 1985. By Michał Sawicz on 2015-09-25
-
Skip bluetooth check under wily, use expectFailure to notice when it's back
Approved by: Albert Astals Cid - 1986. By Michael Zanetti on 2015-09-25
-
further development on the Desktop Spread
* Refactor bits to keep the spread separate from the regular states
* Add blurring to background
* make the workspace preview work as per spec
* Improve animations
* fix bugs Fixes: #1488147
Approved by: Lukáš Tinkl - 1987. By CI Train Bot Account on 2015-09-25
-
Releasing 8.11+15.
10.20150925- 0ubuntu1 - 1988. By Launchpad Translations on behalf of unity-team on 2015-09-30
-
Launchpad automatic translations update.
- 1989. By Michael Zanetti on 2015-09-30
-
Stabilize Launcher DND test
Approved by: Albert Astals Cid - 1990. By Albert Astals Cid on 2015-09-30
-
Make Launcher:
:test_quickList MenuOnRMB stable We need the x to be exactly 0 and compare() does say true for values very close to 0
Fixes: #1500359
Approved by: Michael Zanetti - 1991. By CI Train Bot Account on 2015-09-30
-
Releasing 8.11+15.
10.20150930. 1-0ubuntu1 - 1992. By Alexandros Frantzis on 2015-10-01
-
Use power state change reason SnapDecision to turn screen on when a SnapDecision arrives
Using this value allows USC to handle proximity correctly for snap decision prompts. Fixes: #1291455
Approved by: Lukáš Tinkl - 1993. By CI Train Bot Account on 2015-10-01
-
Releasing 8.11+15.
10.20151001- 0ubuntu1 - 1994. By CI Train Bot Account on 2015-10-02
-
Resync trunk.
- 1995. By Lukáš Tinkl on 2015-10-02
-
Wizard: skip the reporting page if the system is configured not to report crashes Fixes: #1494442
Approved by: Ken VanDine - 1996. By CI Train Bot Account on 2015-10-02
-
Releasing 8.11+15.
10.20151002- 0ubuntu1 - 1997. By Launchpad Translations on behalf of unity-team on 2015-10-03
-
Launchpad automatic translations update.
- 1998. By Launchpad Translations on behalf of unity-team on 2015-10-06
-
Launchpad automatic translations update.
- 1999. By Launchpad Translations on behalf of unity-team on 2015-10-07
-
Launchpad automatic translations update.
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in CMakeLists.txt
1 conflicts encountered.
- 2000. By Lukáš Tinkl on 2015-10-08
-
Revert to using plaintext instead of HTML-like markup for the notifications Fixes: #1504256
- 2001. By CI Train Bot Account on 2015-10-08
-
Releasing 8.11+15.
10.20151008- 0ubuntu1
| Daniel d'Andrada (dandrader) wrote : | # |
> When resizing I can see the panel and the dropshadow resizing faster than the
> content. I think it would be better to not resize those either until the
> surface has caught up.
>
> Other than that, it seems to work fine.
Now it's exactly what you asked for.
- 2002. By Paweł Stołowski on 2015-10-09
-
Store unity8 package version in /var/lib/
.../version file for fast retrieval from the shell plugin.
Approved by: Albert Astals Cid - 2003. By CI Train Bot Account on 2015-10-09
-
Releasing 8.11+15.
10.20151009- 0ubuntu1 - 2004. By Launchpad Translations on behalf of unity-team on 2015-10-16
-
Launchpad automatic translations update.
- 2005. By Daniel d'Andrada on 2015-10-22
- 2006. By Daniel d'Andrada on 2015-10-22
-
Don't stretch application surfaces when resizing
- 2007. By Daniel d'Andrada on 2015-10-22
-
Address review comments
- 2008. By Daniel d'Andrada on 2015-10-23
-
Fix resize of top/left borders for slow surfaces
- 2009. By Daniel d'Andrada on 2015-10-27
-
Merge trunk
[ Albert Astals Cid ]
* Clazy fixes
* Enable Efficient String Construction by default
[ CI Train Bot ]
* New rebuild forced.
[ Daniel d'Andrada ]
* Have unity8 drawing its own cursor (LP: #1488417)
* Initial multi-monitor support
[ Daniel van Vugt ]
* Disable Qt's stuttering 'touch compression' to fix scrolling
smoothness (LP: #1486341, #1488327)
[ Lukáš Tinkl ]
* Fix autopilot wizard test skipping the reporting page
* Implement Unity.Platform plugin wrapping org.freedesktop.hostname1
(LP: #1504318)
* React to window title (aka surface name) changes (LP: #1497092)
* Rotate the screenshots according to the actual orientation
[ Michał Sawicz ]
* Fix application API dependency
* Have unity8 drawing its own cursor (LP: #1488417)
* Initial multi-monitor support
* Rotate the screenshots according to the actual orientation
[ Nick Dedekind ]
* Fixed leak in UnityMenuModelStackTest
* Moved time translation to SDK (LP: #1372061) - 2010. By Daniel d'Andrada on 2015-11-06
-
Merge trunk
- 2011. By Daniel d'Andrada on 2015-11-06
-
Fix typo
- 2012. By Daniel d'Andrada on 2015-11-09
-
Remove dependency on MirSurfaceItem.
fillMode property - 2013. By Daniel d'Andrada on 2015-11-20
-
Merge trunk
[ Albert Astals Cid ]
* Make cardWidth and cardHeight real
* Reset instead of qFatal when removing things from the middle (LP:
#1238979)
* Warn we're using only the cache when not connected to the interwebs
[ Andrea Cimitan ]
* Add sharing widget to zoomable image and video playback
[ Daniel d'Andrada ]
* Cursor: properly initialize hotspot position (LP: #1510407)
* Update GSettings mock in tst_OrientedShell
[ Lukáš Tinkl ]
* Restore windows when activating from the spread, maintain a focus
stack
[ Michael Terry ]
* Make a few DBus calls asynchronous, for a smoother UX.
[ Michael Zanetti ]
* Add a warning dialog when disconnecting the external monitor.
* added icon for the dash (LP: #1488146)
* prevent windows to be moved under the panel (LP: #1438465)
* update inputinfo api to the latest upstream snapshot
* use UbuntuNumberAnimations instead of linear ones for window state
transitions (LP: #1497097)

FAILED: Continuous integration, rev:1955 jenkins. qa.ubuntu. com/job/ unity8- ci/6303/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 4240/console jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- wily-touch/ 670/console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1015/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- wily/333/ console jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/910/ console jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/911/ console jenkins. qa.ubuntu. com/job/ unity8- wily-amd64- ci/542/ console jenkins. qa.ubuntu. com/job/ unity8- wily-i386- ci/543/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4237/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 670/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6303/ rebuild
http://