Merge lp://staging/~seb128/ubuntu-system-settings/updates-column-layout into lp://staging/ubuntu-system-settings
Proposed by
Sebastien Bacher
Status: | Merged |
---|---|
Approved by: | Sebastien Bacher |
Approved revision: | 929 |
Merged at revision: | 941 |
Proposed branch: | lp://staging/~seb128/ubuntu-system-settings/updates-column-layout |
Merge into: | lp://staging/ubuntu-system-settings |
Diff against target: |
720 lines (+320/-333) 2 files modified
plugins/system-update/PageComponent.qml (+320/-329) tests/autopilot/ubuntu_system_settings/tests/test_system_updates.py (+0/-4) |
To merge this branch: | bzr merge lp://staging/~seb128/ubuntu-system-settings/updates-column-layout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher (community) | Approve | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Diego Sarmentero (community) | Approve | ||
Ken VanDine | Pending | ||
Review via email:
|
Commit message
[system-update] rework the ui to use a column rather than anchors,
the layout is quite dynamic and it should be easier to position and
stack widgets this way
Description of the change
[system-update] rework the ui to use a column rather than anchors,
the layout is quite dynamic and it should be easier to position and
stack widgets this way
To post a comment you must log in.
Sending for review but there is an issue with the listview height computation (it's visible when there is only a system image available for example), still I would welcome comments on the approach/ suggestions
The layout is a bit dynamic, not sure that the column is the best way to handle it.
There are basically several "groups"
- one with the top "actions" (the "checking for update" spinner and the "install" button)
- the list of updates
- an "error group" (when e.g there is no u1 account configured)
- the bottom item to select the download mode
some of the those elements might, or not, be on screen, which makes tricky to computer the listview height (the current code should work but seems a bit off, if somebody has a clue why, that would be nice)