[SailfishDevel] Ignoring auto signed SSL certificates

2013-11-05 Thread Tigre-Bleu
Hello, The open() function of XMLHttpRequest seems to not work with auto signed ssl certificates. I have checked with valid certificates and there is no problem. Is this the expected behavior? If so how am I supposed to fetch some data from an auto signed https page using QML? Thanks, Antoine

Re: [SailfishDevel] Ignoring auto signed SSL certificates

2013-11-08 Thread Tigre-Bleu
Hi, I know all the attention is going to the Jolla Harbour but do you have any idea for me ;) Thanks, Antoine -- Tigre-Bleu mail/jabber: antoine.vac...@tigre-bleu.net - Mail original - De: "Tigre-Bleu" À: devel@lists.sailfishos.org Envoyé: Mercredi 6 Novembre 2013 00:0

Re: [SailfishDevel] Ignoring auto signed SSL certificates

2013-11-09 Thread Tigre-Bleu
y with QNetwork. Maybe I'll find something on the internet... Regards, Antoine -- Tigre-Bleu mail/jabber: antoine.vac...@tigre-bleu.net - Mail original - De: "Gianni Vialetto" À: "Sailfish OS Developers" Envoyé: Samedi 9 Novembre 2013 12:25:54 Objet:

Re: [SailfishDevel] Ignoring auto signed SSL certificates

2013-11-09 Thread Tigre-Bleu
ginning of your main() QSslConfiguration config = QSslConfiguration::defaultConfiguration(); config.setPeerVerifyMode(QSslSocket::VerifyNone); QSslConfiguration::setDefaultConfiguration(config); re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on

Re: [SailfishDevel] Ignoring auto signed SSL certificates

2013-11-09 Thread Tigre-Bleu
th python, so that's will not help you. Regards -- Benoît HERVIER - http://khertan.netLe 09/11/13 18:56 Tigre-Bleu a écrit : Hi Gianni I agree that accepting the auto-signed certificate without prompt would be a potential security breach. However, I think there should be a dialog automat

[SailfishDevel] Link in Text component

2013-11-09 Thread Tigre-Bleu
Hello, If a link is displayed in a Text component with html, it is displayed underlined with an ugly blue from the old internet ages... I think there is room for improvement to better fit the silica theme :) Unless of course I missed something... Regards, Antoine _

Re: [SailfishDevel] Link in Text component

2013-11-10 Thread Tigre-Bleu
It's looking a lot better like this. Thanks for the workaround. Antoine - Mail original - De: "Martin Grimme" À: "Sailfish OS Developers" Envoyé: Dimanche 10 Novembre 2013 10:03:05 Objet: Re: [SailfishDevel] Link in Text component Hi, 2013/11/10, Ti

[SailfishDevel] Account management

2013-11-12 Thread Tigre-Bleu
Hi, Is there in SailFish the same mechanism as in Harmattan to hold various services user accounts in a single location? (My hope: yes!) If yes is it working in the same way as in harmattan and is it possible to test it with the emulator? Thanks, Antoine _

Re: [SailfishDevel] Account management

2013-11-13 Thread Tigre-Bleu
gin-accounts-qt5 and libaccounts-qt5 Anyways you might want to do "zypper se accounts" inside emulator to see all the packages that are avail. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of

Re: [SailfishDevel] Account management

2013-11-13 Thread Tigre-Bleu
3 23:41:48 Objet: Re: [SailfishDevel] Account management Hi, On Wed, Nov 13, 2013 at 9:26 PM, Tigre-Bleu wrote: > Hi Jonni, > > nemo-qml-plugin-accounts-qt5 looks like what I'm looking for, but I have a > hard time trying to figure out how it's working because I can'

[SailfishDevel] ListModel sorting in QML

2013-11-17 Thread Tigre-Bleu
Hi, I have a ListView which loads a model from JSON with JSONListModel. The model contains items and category ids, but is not sorted by category. What I wand to do is to display the items sorted by categories in the ListView. I have put a section.property in the ListView but it is working only

Re: [SailfishDevel] ListModel sorting in QML

2013-11-17 Thread Tigre-Bleu
t intended the sorting functions. you need to make own model and sort json data before pushing it to model. On 17.11.2013 18:39, Tigre-Bleu wrote: > Hi, > > I have a ListView which loads a model from JSON with JSONListModel. The model > contains items and category ids, but is not sorted

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread Tigre-Bleu
Hi Andrey, I wonder why those properties are not documented in the list of all members of ContextMenu: https://sailfishos.org/sailfish-silica/qml-sailfishsilica-contextmenu-members.html Anyway, using menu._contentColumn solved my problem. Thanks for the help. Antoine - Mail original

[SailfishDevel] .ico : Unsupported image format

2013-11-24 Thread Tigre-Bleu
Hi sailors, I've just realized that .ico is not supported by QtQuick Image {} QML Component QML Image: Error decoding: http://www.jollatides.com/favicon.ico: Unsupported image format I'm surprised as I was assuming that ico files shall be displayed as it is a defacto icon standard. Is there a

Re: [SailfishDevel] .ico : Unsupported image format

2013-11-25 Thread Tigre-Bleu
] .ico : Unsupported image format Have you tried adding following line in your yaml/spec?: Requires: qt5-plugin-imageformat-ico From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Tigre-Bleu [de...@tigre-bleu.net] Sent:

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-25 Thread Tigre-Bleu
Repeater is a nice & clean solution. I'll go with that. Thanks - Mail original - De: "Martin Kampas" À: devel@lists.sailfishos.org, "Tigre-Bleu" Cc: "christopher lamb" , "Andrey Kozhevnikov" Envoyé: Lundi 25 Novembre 2013

Re: [SailfishDevel] best way to work with covers?

2013-11-29 Thread Tigre-Bleu
Hi, While that solution below works perfectly fine to get data from the appWindow to the cover, I am facing an issue trying to do the opposite. Let's explain. My AppWindow looks like this: ApplicationWindow { MyModel { ... onUpdated(cover.myFunction()) } cover: Qt.resolvedUrl("cover/C

[SailfishDevel] Silica issue on coverpage: Opacity value is ignored in CoverBackground if a label is truncated with fading

2014-02-05 Thread Tigre-Bleu
Hi guys, If in a cover, a label is truncated with truncationMode: TruncationMode.Fade then the opacity value is ignored. For code example and screenshot, see the following bug report: https://github.com/Buschtrommel/ocNews/issues/27#issuecomment-34267086 I think it is an issue with Silica comp

[SailfishDevel] Inhibit PageStack back gestures on Map widget

2014-02-16 Thread Tigre-Bleu
Hi, I have a Pagestack where a page is displaying a map with QtLocation Map {} element. I can pan the map to the top/bottom/right but if I try to pan to the left, the OS thinks it is a swipe back and pop the page out. I would expect that the Map {} element intercepts all mouse events when gest

Re: [SailfishDevel] Inhibit PageStack back gestures on Map widget

2014-02-18 Thread Tigre-Bleu
i, On Sun, 16 Feb 2014 18:29:55 Tigre-Bleu wrote: > I have a Pagestack where a page is displaying a map with QtLocation Map {} > element. > > I can pan the map to the top/bottom/right but if I try to pan to the left, > the OS thinks it is a swipe back and pop the page out. I wo