Merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/organizedWindow into lp:ubuntu-ui-toolkit/staging
| Status: | Merged |
|---|---|
| Approved by: | Zsombor Egri on 2017-01-13 |
| Approved revision: | 2064 |
| Merged at revision: | 2156 |
| Proposed branch: | lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/organizedWindow |
| Merge into: | lp:ubuntu-ui-toolkit/staging |
| Prerequisite: | lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/outTheWindow |
| Diff against target: |
200 lines (+82/-7) 7 files modified
src/UbuntuToolkit/ucapplication.cpp (+3/-2) src/UbuntuToolkit/ucmainwindow.cpp (+29/-1) src/UbuntuToolkit/ucmainwindow_p.h (+5/-1) src/UbuntuToolkit/ucmainwindow_p_p.h (+2/-1) tests/unit/mainwindow/AppName.qml (+1/-1) tests/unit/mainwindow/OrganizationName.qml (+29/-0) tests/unit/mainwindow/tst_mainwindow.cpp (+13/-1) |
| To merge this branch: | bzr merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/organizedWindow |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| ubuntu-sdk-build-bot | continuous-integration | Approve on 2017-01-13 | |
| Zsombor Egri (community) | 2017-01-12 | Approve on 2017-01-13 | |
|
Review via email:
|
|||
Commit Message
Add organizationName property to MainWindow
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
None: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:2064
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Tiago Salem Herrmann (tiagosh) wrote : | # |
We noticed that this MR breaks messaging-app and maybe other apps.
organizationName is used by QSettings to build the configuration file path.
In messaging-app we set the organizationName in the cpp code even before the MainView is loaded.
That makes the app create directories like $HOME/.
We are probably hitting this case:
https:/
We can certainly set that property on the MainView from now on to avoid running into this problem, but I wonder if other apps that also depend on QSettings (or Settings qml component from qt-labs-settings) wont break.
| Christian Dywan (kalikiana) wrote : | # |
Tracking investigation of the regression as bug 1662868.

PASSED: Continuous integration, rev:2064 /jenkins. ubuntu. com/ubuntu- sdk/job/ ubuntu- ui-toolkit- ci-i386- gles-stable/ 1351/ /jenkins. ubuntu. com/ubuntu- sdk/job/ generic- update- mp/7389/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/ubuntu- sdk/job/ ubuntu- ui-toolkit- ci-i386- gles-stable/ 1351/rebuild
https:/