Merge lp:~jonas-drange/ubuntu-system-settings/lp1470782 into lp:ubuntu-system-settings
| Status: | Merged |
|---|---|
| Approved by: | Ken VanDine on 2015-07-14 |
| Approved revision: | 1475 |
| Merged at revision: | 1490 |
| Proposed branch: | lp:~jonas-drange/ubuntu-system-settings/lp1470782 |
| Merge into: | lp:ubuntu-system-settings |
| Diff against target: |
1076 lines (+532/-427) 9 files modified
plugins/phone/Services.qml (+23/-10) plugins/security-privacy/AppAccess.qml (+52/-40) plugins/security-privacy/AppAccessControl.qml (+30/-18) plugins/security-privacy/LockSecurity.qml (+83/-71) plugins/security-privacy/PhoneLocking.qml (+112/-100) plugins/security-privacy/SimPin.qml (+102/-90) plugins/security-privacy/diagnostics/PageComponent.qml (+8/-1) plugins/wifi/NetworkDetails.qml (+69/-56) plugins/wifi/NetworkDetailsBrief.qml (+53/-41) |
| To merge this branch: | bzr merge lp:~jonas-drange/ubuntu-system-settings/lp1470782 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-07-13 | |
| Sebastien Bacher (community) | 2015-07-13 | Approve on 2015-07-13 | |
|
Review via email:
|
|||
Commit Message
Adds Flickables to many pages.
Description of the Change
Add Flickables to panels that are without.
| Sebastien Bacher (seb128) wrote : | # |
- 1475. By Jonas G. Drange on 2015-07-13
-
undo visual changes
| Jonas G. Drange (jonas-drange) wrote : | # |
Agreed, undid the visual changes. All changes are now strictly related to the addition of Flickables.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1474
http://
Executed test runs:
UNSTABLE: 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:1475
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1476. By Jonas G. Drange on 2015-07-16
-
skip adding flickable to timedate
| Matthew Paul Thomas (mpt) wrote : | # |
As I said in bug 1470782, I'm not a software architect, but this seems error-prone. Every time someone adds a new page to System Settings, they have to know and remember to add a Flickable, which is unlikely when the screen on their test device happens to be larger than the page contents when they test it. I predict that bugs like bug 1240086, bug 1333135, bug 1354161, bug 1374017, bug 1469076, and bug 1470782 will keep recurring as long as people have to remember to add a Flickable to every page.
And that was before I'd even seen this diff, which includes this comment nine times:
/* Set the direction to workaround
https:/
might end up in a situation where scrolling doesn't work */
When that Qt bug is fixed, if you get around to removing the workaround, you'll be removing it from at least 24 separate files. If it was part of a base file you'd just need to remove it in one place.
Is there a reason not to make every System Settings page inherit from one file that includes the Flickable?


Thanks, looks fine but could we split out the UI changes in another merge request? they are different logical units and it doesn't make sense to batch them together... (or at minimum update the commit message to describe the other changes, but it would still be good to have different commits)