Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-05-05 Thread Tone Kastlunger
Okay;
there has been a rewrite for bearer plugin, has that helped in any way?

On Wed, May 3, 2017 at 2:46 AM, Lorn Potter  wrote:

>
>
> On 01/05/17 19:16, Slava Monich wrote:
> > Basically, QNetworkAccessManager is sometimes stuck in NotAccessible
> > state after switching from mobile data to wifi.
>
> > My theory was that
> > configurationChanged, onlineStateChanged and networkSessionStateChanged
> > (queued) signals from the past were getting mixed with the current state
> > (which was checked directly) in such a way that
> > QNetworkAccessManagerPrivate online state remained false even though
> > connman service was getting successfully connected.
>
> This is all from memory, but...
>
> The cell network 'disconnected' can come in after wifi has been
> established, but before all wifi settings are available so QNAM
> configuration cannot be 'active'. connman manager can send a 'services
> updated' signal before the service object has actually been updated
> internally. so the bearer plugin goes to check it and the properties of
> that service are not yet updated.
>
> and then, wpa/connman can also 'remove' an AP when it really is around,
> even in the middle of connecting.
>
> As well, connman's 'ready' and 'online' are both equivalent to
> QNAMConfiguration::Active. 'ready' does not guarantee that internet can
> be reached, and 'online' check can easily fail.
>
>
> I am sure there are other intricacies I am forgetting, but the
> interactions are quite complicated, so it's not an easy bug to fix.
> Even if you remove the whole 'manually setting NetworkAccessible' to
> notAccessible.
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] fonts in Sailfish

2017-05-05 Thread rinigus
Hi,

I am developing an application that has to have an access to the fonts
covering all languages. While coverage of the fonts distributed with SFOS
has improved in 2.1, I still get failure with rendering Sinhala in QML.
Probably some other scripts are missing as well.

For technical reasons, I need to specify the fonts used for rendering in
the program or accompanying style files. Changing that would be far from
trivial and I would prefer to specify font paths and names for now when
compiling program/generating styles.

Hence my questions:

* Do we have somewhere a list of fonts that are always available on SFOS
and their path (directories)? I could see a bunch of fonts under
/usr/share/fonts, I presume that's all we have for now.

* Probably correct way to tackle the font rendering issue would be to
include Noto fonts (or something similar). Ideally, it should be done via a
separate package. I can include all the required fonts in RPM, but that
would blow up the package probably by ~40MB in size (uncompressed 52MB, zip
compressed 42MB). Sounds a bit like a waste of bandwidth, but probably the
only way to do that in agreement with the Harbour policies. Jolla, any
plans to include Noto (or similar) fonts into SFOS distribution? Or changes
in policies allowing us to push fonts to the devices?

Best wishes,

Rinigus
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] sync to two google accounts when both own the same calender

2017-05-05 Thread Chris Adams
Hi Niv,

Thanks for the report.

Are you able to collect some sync logs from the msyncd (Buteo synchronisation 
daemon) process, as described in 
https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Sync_Logs
 which will give us information about the Google Calendar synchronisation.

Also, can you collect logs from contactsd by doing the following from a normal 
nemo ssh terminal:
systemctl --user stop contactsd.service
CONTACTSD_DEBUG=1 devel-su -p contactsd

Send them to me directly at chris dot adams at jolla dot com after redacting 
any personal information, and I can investigate further!

Best regards,
Chris.


From: Devel [devel-boun...@lists.sailfishos.org] on behalf of niv...@gmail.com 
[niv...@gmail.com]
Sent: Thursday, May 04, 2017 10:53 PM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] sync to two google accounts when both own the same 
calender

Hi,
I had contacts daemon use more the 90% a few times.
To resolve it , I remove all google accounts, and deleted the contacts database 
files, as advised in 
https://together.jolla.com/question/58416/fixing-the-contacts-db/

I think I may have found the reason for this error:
I connect to two google accounts, which have both access to the same calender 
resource.
Is it possible this is confusing the contacts daemon, and it never ends the 
sync?
Is there any other way to debug the root cause for this?
It reproduce often.
Niv
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org