Thread: dconf values
View Single Post
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#2
Okay, my own fault, it just took a while to work out what happened.

Basically I was expecting Settings to handle 2 lots of settings; it seems that the 'settings' for landscape cancels out 'settings' for portrait when neither is specified as separate settings.

I need to declare (perhaps with 'id') what gets set as drag settings in portrait and likewise with landscape.

For those wondering what I'm attempting to achieve, it is a draggable clock, date, weather and calendar for lockscreen, each of the mentioned items sits in/on an invisible rectangle with drag boundaries set (screen edges) in portrait and landscape.

In order to make this work, I basically hid the lockscreen Clock contents (time & date) and replaced with 2 files; PortraitPage.qml and LandscapePage.qml and filled both with contents of clock, date, weather and calendar, so there are 2 sets of each item; 2 clock, 2 date, 2 weather and 2 calendar (1 of each item for both Pages) but expecting Settings to handle both Portrait and Landscape without defining each set of Settings - hope that makes sense.

After investigating again, I tried hiding PortraitPage & LandscapePage and unhiding Clock.qml - then all my settings worked again, even surviving reboot or shutdown <----- a key factor I forgot to mention in my original question, my settings were working until the device was rebooted or restarted. *sigh*

Solved!
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following 2 Users Say Thank You to Markkyboy For This Useful Post: