Merge lp:~3v1n0/unity/use-scaling-ubuntu-schemas-settings into lp:unity
| Status: | Merged |
|---|---|
| Approved by: | Andrea Azzarone on 2017-10-03 |
| Approved revision: | 4275 |
| Merged at revision: | 4260 |
| Proposed branch: | lp:~3v1n0/unity/use-scaling-ubuntu-schemas-settings |
| Merge into: | lp:unity |
| Diff against target: |
527 lines (+126/-159) 11 files modified
debian/control (+2/-1) debian/unity.migrations (+1/-0) tests/data/external.gschema.xml (+13/-0) tests/test_em_converter.cpp (+7/-19) tests/test_raw_pixel.cpp (+1/-2) tools/migration-scripts/02_unity_setup_text_scale_factor (+3/-7) tools/migration-scripts/04_unity_update_software_center_desktop_file (+7/-6) tools/migration-scripts/05_unity_use_ubuntu_scaling_settings_schemas (+66/-0) unity-shared/EMConverter.cpp (+8/-63) unity-shared/EMConverter.h (+1/-16) unity-shared/UnitySettings.cpp (+17/-45) |
| To merge this branch: | bzr merge lp:~3v1n0/unity/use-scaling-ubuntu-schemas-settings |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Didier Roche | Needs Fixing on 2017-10-03 | ||
| Andrea Azzarone | 2017-10-02 | Approve on 2017-10-03 | |
|
Review via email:
|
|||
Commit Message
UnitySettings: use the ubuntu-schemas path for scaling settings
Also remove unused parts of EMConverter
- 4273. By Marco Trevisan (Treviño) on 2017-10-02
-
02_unity_
setup_text_ scale_factor: don't use dconf anymore - 4274. By Marco Trevisan (Treviño) on 2017-10-02
-
04_unity_
update_ software_ center_ desktop_ file: sync settings instead of using dconf - 4275. By Marco Trevisan (Treviño) on 2017-10-02
-
MigrationScript: add 05_unity_
use_ubuntu_ scaling_ settings_ schemas This converts gnome desktop interface settings to ubuntu ones
| Andrea Azzarone (azzar1) wrote : | # |
text-scaling is not correctly migrated doing an upgrade from Z to A using this ppa. But this improves the current behavior so +1 for me.
| Didier Roche (didrocks) wrote : | # |
The change looks good to me code-wise, there are 2 things on this and other merge proposals to do:
- please file a bug to explain why we are migrating those values. This is so that the release team understands the bug fix and reference it in each package impacted.
- on this one, we have a migration script for the scaling factor. However, we have another migration script to reset the scaling factor for GNOME. It means that if we run the ubuntu session before switching to the unity one, we need to ensure about the order (and having the migration script moving the key before the Ubuntu one). Another way is to move the reset from the other script to that one, after you migrated the settings. Mind doing that change?
- 4276. By Marco Trevisan (Treviño) on 2017-10-03
-
05_unity_
use_ubuntu_ scaling_ settings_ schemas: also reset gnome values after - 4277. By Marco Trevisan (Treviño) on 2017-10-04
-
05_unity_
use_ubuntu_ scaling_ settings_ schemas: migrate keys if we know the values from unity


+1