Merge lp:~mardy/unity8/lp1433442 into lp:unity8
| Status: | Superseded | ||||
|---|---|---|---|---|---|
| Proposed branch: | lp:~mardy/unity8/lp1433442 | ||||
| Merge into: | lp:unity8 | ||||
| Diff against target: |
120 lines (+37/-21) 2 files modified
qml/Dash/GenericScopeView.qml (+21/-15) qml/Dash/PreviewListView.qml (+16/-6) |
||||
| To merge this branch: | bzr merge lp:~mardy/unity8/lp1433442 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Albert Astals Cid (community) | 2015-08-14 | Approve on 2015-08-17 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-08-14 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2015-08-17.
Commit Message
Set currentIndex after the model change is completed
When setting the model, the list view will first emit the countChanged signal, then will change the currentIndex to 0 (see QtDeclarative git commit 22c6873 and https:/
If we set the currentIndex in the onCountChanged handler (as we were doing
before), the currentIndex would be reset to 0 shortly afterwards.
For some mysterious reason, the desired delegate was anyway shown until the bugfix for bug 1433442 was introduced; with that bugfix, the listview is more consistent and shows the delegate corresponding to the currentIndex.
Description of the Change
Set currentIndex after the model change is completed
When setting the model, the list view will first emit the countChanged signal, then will change the currentIndex to 0 (see QtDeclarative git commit 22c6873 and https:/
If we set the currentIndex in the onCountChanged handler (as we were doing
before), the currentIndex would be reset to 0 shortly afterwards.
For some mysterious reason, the desired delegate was anyway shown until the bugfix for bug 1433442 was introduced; with that bugfix, the listview is more consistent and shows the delegate corresponding to the currentIndex.
* Are there any related MPs required for this MP to build/function as expected?
No, although this change is mostly relevant when using libqt5quick5 from silo 29 (because without this change, that silo would cause a regression).
* 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?
It isn't.
* If you changed the UI, has there been a design review?
No visible UI changes.
| Albert Astals Cid (aacid) wrote : | # |
This is actually regressing (without the silo 29).
Is silo 29 ready/testable already?
- 1918. By Alberto Mardegan on 2015-08-14
-
Change index via positionViewAtI
ndex()
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1918
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass?
It's kaboomed
* Did you make sure that the branch does not contain spurious tags?
Yes
- 1919. By Alberto Mardegan on 2015-08-17
-
Merge previews-in-order

FAILED: Continuous integration, rev:1917 jenkins. qa.ubuntu. com/job/ unity8- ci/6196/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- wily-touch/ 546/console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- wily/226/ console jenkins. qa.ubuntu. com/job/ unity8- wily-amd64- ci/435/ console jenkins. qa.ubuntu. com/job/ unity8- wily-i386- ci/436/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 546/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6196/ rebuild
http://