Orientation lock switch doesn't notice gsettings changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gsettings-qt |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-system-settings (Ubuntu) |
Fix Released
|
High
|
Sebastien Bacher | ||
ubuntu-system-settings (Ubuntu RTM) |
New
|
Undecided
|
Unassigned |
Bug Description
Changes to the GSettings aren't reflected in the UI unless they're triggered from inside of system settings.
Manual test I tried out on 14.10 r151:
1. launch system settings
2. turn on orientation lock if it's not already on
3. from phablet shell, run "gsettings get com.ubuntu.
4. tap settings' orientation lock switch to disable lock
5. from phablet shell, run "gsettings get com.ubuntu.
6. from phablet shell, run "gsettings set com.ubuntu.
7. from system sesttings, confirm that the orientation lock switch shows the feature enabled
8. from phablet shell, run "gsettings set com.ubuntu.
9. from system sesttings, confirm that the orientation lock switch now shows the feature disabled
Fails on step 6 -- changing the GSettings isn't reflected in the UI.
This also breaks u-s-s if the flag is toggled from the rotation lock indicator (when the rotation lock indicator lands).
description: | updated |
description: | updated |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntu-system-settings (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Sebastien Bacher (seb128) |
tags: | added: rtm14 touch-2014-11-06 |
Adding gsettings-qt for another pair of eyes because at first glance the u-s-s code looks alright:
http:// bazaar. launchpad. net/~system- settings- touch/ubuntu- system- settings/ rtm-14. 09/view/ head:/plugins/ orientation- lock/EntryCompo nent.qml? start_revid= 935
control: Switch { kSwitch" rotationLock
systemSett ings.rotationLo ck = checked
schema. id: "com.ubuntu. touch.system"
id: control
objectName: "orientationLoc
checked: systemSettings.
onClicked: {
}
GSettings {
id: systemSettings
}
}