The Following User Says Thank You to Feathers McGraw For This Useful Post: | ||
|
2015-05-15
, 07:33
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#352
|
The Following User Says Thank You to smoku For This Useful Post: | ||
|
2015-05-15
, 12:30
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#353
|
|
2015-05-15
, 12:49
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#354
|
So are you saying the bug disappeared and reappeared with the last couple of updates to qt?
Do you know of any other sailfish apps that have had similar issues?
The Following User Says Thank You to smoku For This Useful Post: | ||
|
2015-05-15
, 13:24
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#355
|
We fixed it.
But it looks like the fix stopped working with the upgrade to Qt 5.2.
It is hard to debug, as it does not have a stable reproduction.
The Following 3 Users Say Thank You to javispedro For This Useful Post: | ||
|
2015-05-15
, 15:25
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#356
|
|
2015-05-15
, 19:35
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#357
|
QObject->property() will only return an invalid variant if the property does not exist. The property exists (it is not dynamic, since it is declared via Q_PROPERTY), and therefore the isValid() check is useless (always returns true).
Sorry I don't have time to make a patch atm, but it should be as trivial as changing the settings.h constructor to initialize the member variables to the proper default values.
The Following 2 Users Say Thank You to smoku For This Useful Post: | ||
|
2015-05-15
, 19:59
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#358
|
The Following User Says Thank You to smoku For This Useful Post: | ||
|
2015-05-15
, 19:59
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#359
|
I'm hesistant to such change as it would mean storing default values both in daemon and app and a need to keep them synchronized.
The Following 2 Users Say Thank You to javispedro For This Useful Post: | ||
|
2015-05-15
, 20:00
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#360
|
The current situation is much worse where you're doing that implicitly depending on how the ->isValid() checks are wired
The Following User Says Thank You to smoku For This Useful Post: | ||
Thank you so much for the pebble app. I can't believe how lucky we are to have such a high quality open source app for Sailfish, especially when the app for Android is proprietary!
I now have it working well, but one thing I noticed is that I wasn't getting XMPP messages through until I unchecked and re-checked the option for Messaging notifications. Is this something you've seen before? I was thinking maybe the default config file might have different options to what's shown in the GUI or something like that?
Thanks again!