Merge lp:~mterry/unity8/greeter-profiles into lp:unity8
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Michael Terry on 2015-02-10 | ||||
| Approved revision: | 1338 | ||||
| Merged at revision: | 1607 | ||||
| Proposed branch: | lp:~mterry/unity8/greeter-profiles | ||||
| Merge into: | lp:unity8 | ||||
| Diff against target: |
630 lines (+201/-43) 17 files modified
plugins/Unity/Indicators/indicator.cpp (+23/-8) plugins/Unity/Indicators/indicator.h (+5/-1) plugins/Unity/Indicators/indicatorsmanager.cpp (+17/-3) plugins/Unity/Indicators/indicatorsmanager.h (+6/-1) plugins/Unity/Indicators/indicatorsmodel.cpp (+25/-2) plugins/Unity/Indicators/indicatorsmodel.h (+6/-1) plugins/Unity/Indicators/modelactionrootstate.cpp (+4/-2) plugins/Unity/Indicators/unitymenumodelcache.cpp (+8/-11) plugins/Unity/Indicators/unitymenumodelcache.h (+2/-2) qml/Shell.qml (+3/-1) tests/mocks/Unity/Indicators/fakeindicatorsmodel.cpp (+13/-1) tests/mocks/Unity/Indicators/fakeindicatorsmodel.h (+6/-0) tests/plugins/Unity/Indicators/indicatorsmanagertest.cpp (+30/-5) tests/plugins/Unity/Indicators/indicatorsmodeltest.cpp (+6/-3) tests/plugins/Unity/Indicators/sharedunitymenumodeltest.cpp (+2/-2) tests/qmltests/tst_Shell.qml (+29/-0) tests/qmltests/tst_ShellWithPin.qml (+16/-0) |
||||
| To merge this branch: | bzr merge lp:~mterry/unity8/greeter-profiles | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-02-10 | |
| Nick Dedekind (community) | 2014-10-04 | Approve on 2015-02-10 | |
| Michał Sawicz | Needs Information on 2014-12-10 | ||
| Albert Astals Cid (community) | Abstain on 2014-11-20 | ||
| Olga Kemmet | 2014-12-02 | Pending | |
|
Review via email:
|
|||
Commit Message
Support switching the indicator profile on the fly, as the greeter appears and disappears. (But don't use it yet, not until the settings panel to control this is in place.)
These changes are mostly two types: adding support for switching profiles at all after startup and caching previous results for a moment while we do the switching.
Description of the Change
Support switching the indicator profile on the fly, as the greeter appears and disappears. (But don't use it yet, not until the settings panel to control this is in place.)
These changes are mostly two types: adding support for switching profiles at all after startup and caching previous results for a moment while we do the switching.
== Checklist ==
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* 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?
NA
* If you changed the UI, has there been a design review?
NA
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1322
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Nick Dedekind (nick-dedekind) wrote : | # |
Tested with silo13.
Works!
| Michael Terry (mterry) wrote : | # |
OK, I've addressed your semicolon and setProfile remarks. I asked you on IRC to see if you could live with async: true or not. Let's see how your testing goes.
| Nick Dedekind (nick-dedekind) wrote : | # |
> OK, I've addressed your semicolon and setProfile remarks. I asked you on IRC
> to see if you could live with async: true or not. Let's see how your testing
> goes.
You dissapeared on irc :)
<dednick> mterry: hm. ok, there doesnt really seem to be that much lag to me, but it's subjective to how much of a hurry you're in :) The lag introduced in sync mode is going to be a problem though. I was asked to put it back awhile ago due to the lag (although this was whenI wasn't keeping the menu un memory all the time).
<dednick> I think the lag with async will be reduced when my new indicator branch lands. The menu content is actually at 0 height when you drag it, so I think the list items are being loaded "only as visible". The new panel page is always the same height so the items will be loaded immediately.
I can try merge your branch into mine to see if it helps.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1324
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Michael Terry (mterry) wrote : | # |
My internet was awful and I couldn't respond:
<mterry> dednick, OK can you try your branch merged with mine and see how it is? I'd like to top-approve this branch by end of day. I can do that with async still on if I have to, but would like to be confident it won't be awful for users
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1324
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Nick Dedekind (nick-dedekind) wrote : | # |
LGTM.
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass? If not, please explain why.
Not related.
* Did you make sure that the branch does not contain spurious tags?
Yes
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in tests/qmltests/
1 conflicts encountered.
| Michael Terry (mterry) wrote : | # |
Merged from trunk
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1326
http://
Executed test runs:
FAILURE: http://
UNSTABLE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in tests/qmltests/
1 conflicts encountered.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1327
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Nick Dedekind (nick-dedekind) wrote : | # |
I've been talking with Albert, and apparently making the delegate sync is not much of a problem as only the current viewport is loaded synchronously.
So you can change it back if you want :). Or i'll put it in my new panel branch.
| Michael Terry (mterry) wrote : | # |
Merged from trunk and removed async again!
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1329
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1329
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in plugins/
Conflict adding file qml/Panel/
Contents conflict in qml/Panel/
Contents conflict in qml/Panel/
Text conflict in qml/Panel/
Text conflict in qml/Shell.qml
Text conflict in tests/mocks/
Contents conflict in tests/qmltests/
Text conflict in tests/qmltests/
9 conflicts encountered.
Reminder: Was already top approved, should be again after merge is fixed.
| Michał Sawicz (saviq) wrote : | # |
Bump?
| Michael Terry (mterry) wrote : | # |
I've merged from trunk, but don't want to top-approve yet. I was tracking down a weird issue I was seeing for most of the day. It seems when using the "phone_greeter" profile, *something* frequently causes unity8 to hang (not crash).
When this happens, unity8 seems to be deep within a stack similar to, but not exactly:
#0 qPremultiply (x=0) at ../../include/
#1 convert_
at image/qimage_
#2 0xb6cb1baa in QImage:
format=
flags=
#3 0xb67ba796 in convertToFormat (flags=...,
f=QImage:
at /usr/include/
#4 QQuickDefaultTe
0x177e5b8, image=...) at util/qquickpixm
#5 0xb67ba7f6 in textureFactoryF
at util/qquickpixm
#6 0xb67bc1c2 in createPixmapDat
requestSize
declarative
#7 QQuickPixmap::load (this=this@
url=..., requestSize=..., options=
at util/qquickpixm
#8 0xb685e232 in QQuickImageBase
at items/qquickima
#9 0xb68e1ffe in QQuickImageBase
_c=
at .moc/moc_
#10 0xb68e22c0 in QQuickImage:
_c=
at .moc/moc_
#11 0xb6ae0f34 in QQmlProxyMetaOb
c=QMetaObje
at qml/qqmlproxyme
#12 0xb644165c in QMetaObject:
cl=<optimized out>, idx=<optimized out>, argv=0xbee3eac4)
at kernel/
#13 0xb6afa448 in writeProperty (this=<optimized out>, p=<optimized out>,
flags=..., idx=<optimized out>, obj=<optimized out>)
at qml/qqmlvaluety
#14 QQmlValueTypeBa
obj=<optimized out>, idx=<optimized out>, flags=...)
at qml/qqmlvaluety
#15 0xb6ad9d50 in QQmlPropertyPri
object=
context=
at qml/qqmlpropert
#16 0xb6ada166 in QQmlPropertyPri
object=
expression=
isUndefined
#17 0xb6b24146 in QQmlBinding::update (this=0x175cd70, flags=...)
at qml/qqmlbinding
#18 0xb6b2461c in update (this=<optimized out>) at qml/qqmlbinding
#19 ...
| Michael Terry (mterry) wrote : | # |
Oh also, I never saw this on the previous versions of this MP. The indicators have been adding a lot of support for phone_greeter and trunk has also changed a lot, so I believe this is new.
| Michael Terry (mterry) wrote : | # |
Changing indicator-power's profile file to read:
[phone_greeter]
ObjectPath=
Position=25
intead of:
[phone_greeter]
ObjectPath=
Position=25
avoids the issue. I'll talk with Ted about what's happening with desktop_greeter...
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1331
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Ok, merge problem fixed, changing my vote to abstain
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1332
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michael Terry (mterry) wrote : | # |
OK, design reviewed and said it was good. Marking approved again, but note that https:/
| Michał Sawicz (saviq) wrote : | # |
FAIL! : qmltestrunner:
Actual (): phone
Expected (): phone_greeter
Loc: [/home/
| Michael Terry (mterry) wrote : | # |
Guh! That's what I get for making last minute changes. Design asked me to tweak things so that when the phone doesn't have a passphrase/
Updated tests to work now.
| Michał Sawicz (saviq) wrote : | # |
I believe the behavior of "no indicators" vs. "full indicators" should change with that branch to "limited indicators" vs. "full indicators", can you please confirm whether that's the case and make the necessary changes?
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1334
http://
Executed test runs:
None: http://
SUCCESS: http://
SUCCESS: http://
None: http://
Click here to trigger a rebuild:
http://
| Michael Terry (mterry) wrote : | # |
(I asked Design, waiting for final feedback)
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in plugins/
Text conflict in qml/Panel/
2 conflicts encountered.
| Michael Terry (mterry) wrote : | # |
OK, this is ready for review again. I merged from trunk and disabled the dynamic-
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1337
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1338. By Michael Terry on 2015-02-10
-
Add a C++ test for switching profiles
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1338
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1338
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:1320 jenkins. qa.ubuntu. com/job/ unity8- ci/4491/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- utopic- touch/5502 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- utopic/ 1476 jenkins. qa.ubuntu. com/job/ unity8- utopic- amd64-ci/ 1585 jenkins. qa.ubuntu. com/job/ unity8- utopic- i386-ci/ 1585 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- mako/5203 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/6754 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/6754/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 14155
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/4491/ rebuild
http://