Re: [SailfishDevel] Wrap data in Item to get notifiable properties ?

2014-12-03 Thread sfietkonstantin
Hi François, It is a good practice to load the minimal amount of data in a ListModel. I don't know which app you are developing, but for an example TODO list app, the main page would only load (from a storage, like a database), only the title and id of the TODO entries. Clicking on an entry wil

Re: [SailfishDevel] GPLv3 warning

2014-12-03 Thread sfietkonstantin
Hi Franck, This is related to package inclusion to Mer. Mer requires packages to be non (L)GPLv3 because of some issues with this license. Since the Mer build-engine uses spectacle, that is used for packaging Mer packages too, there is a warning here. However, as you are developing your own ap

Re: [SailfishDevel] Wrap data in Item to get notifiable properties ?

2014-12-02 Thread sfietkonstantin
Hi François, The best way to do this is to use QML ListModel. Instead of loading the properties in a JS object, you can load them as model properties (via http://qt-project.org/doc/qt-5/qml-qtqml-models-listmodel.html#set-method). Accessing the properties would be done via "model": DetailItem

Re: [SailfishDevel] Refreshing pages

2014-12-01 Thread sfietkonstantin
Hi Franck, What do you experience with this flow. Isn't the cardname the same in CardPage.qml and in your delegate ? Regards, Lucien - Mail original - De: "Franck Routier (perso)" À: devel@lists.sailfishos.org Envoyé: Lundi 1 Décembre 2014 16:56:56 Objet: Re: [SailfishDevel] Refreshing

Re: [SailfishDevel] Refreshing pages

2014-12-01 Thread sfietkonstantin
Hi Franck How do you push the cardPage ? How do you expect backname to change ? Regards, Lucien PS: Sorry for top-posting (my webmail don't give me any other option :() - Mail original - De: "Franck Routier (perso)" À: devel@lists.sailfishos.org Envoyé: Lundi 1 Décembre 2014 16:27:10 O

Re: [SailfishDevel] ListView vs Repeater

2014-10-10 Thread sfietkonstantin
Hello Olah, I would not recommand using Repeater for long list views, as Repeater do not manage the items. As you have guessed, ListView destroys items that are out of the view, to save memory and have better performances. In your case, the best way is to animate the removal only if the item is

Re: [SailfishDevel] Pause application on system events

2014-08-08 Thread sfietkonstantin
Hi Riccardo, At the moment, you can use nemo-keepalive [1] to make your phone not to enter in deep sleep, as well as controlling the screen state etc (you can even make the phone's screen stay permanently on). nemo-keepalive is not allowed in harbour, so you need to dynamically (rpath) or stat

Re: [SailfishDevel] Elevating process privileges?

2014-08-07 Thread sfietkonstantin
Hi Michal, Depending on what you want to do, there are several ways. Using sudo or su might be quite clumsy, especially su, where you need to have the user entering the root password. sudo can be used if you add in /etc/sudoers.d/ and install sudo, that requires mer-tools repo to be enabled IIR

Re: [SailfishDevel] Platform icons

2014-08-04 Thread sfietkonstantin
Hi Kris, The fastest way would be open a terminal and cd /usr/share/themes/jolla-ambient/meegotouch/icons ls But I agree that an index in developers doc is welcomed. Regards, Lucien - Mail original - De: fasza2mob...@gmail.com À: "Sailfish OS Developers" Envoyé: Lundi 4 Août 2014 15:2

[SailfishDevel] [API] Ambience DBus API

2014-07-22 Thread sfietkonstantin
Hello list, Following what has been decided during today's Sailfish OSS meeting, I would like to open a first discussion about internal API to be provided for developers to take advantages of all the capabilities of Sailfish OS. One of the specific capabilities of Sailfish OS is the ambience sy

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread sfietkonstantin
Add an opacity change from 1 to 0 inside your animation ? Or add a SequentialAnimation with a PropertyChanges to set visible at false at end of animation. Don't forget to disable "reversible" property, and write the reverse animation too. - Mail original - De: marmistrz...@gmail.com À: "

Re: [SailfishDevel] Is support for commercial apps a TABOO subject?

2014-07-18 Thread sfietkonstantin
Hello, I nemo-qml-plugin-configuration is not used to manage settings inside the Settings app, you need actually to put some QML files in specific subfolders (/usr/share/jolla-settings/) of the system. However, you are not allowed to install files here. I think that (for now), the settings sho

Re: [SailfishDevel] Error building buteo caldav plugin

2014-07-15 Thread sfietkonstantin
Hi ! I see that you are trying to build this plugin with the SDK, but some packages (most ?) from NemoMobile are made to be buildable on OBS but not on SDK directly. You need to patch the spec file to have it buildable. Actually, the best way is even to write a yaml file (taking inspiration fro

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread sfietkonstantin
Hello, looking a bit at your code, you are using a pagestack.push, meaning that you effectively adds another page to your pagestack. For adding a new beer, I think that the best would be using a Dialog component. - Mail original - De: "Chris Walker" À: devel@lists.sailfishos.org Envoyé:

Re: [SailfishDevel] Why this error now?

2014-07-08 Thread sfietkonstantin
A wild guess: When debugging, you have QML debug enabled, that causes including of , that itself includes the header ? - Mail original - De: "Chris Walker" À: devel@lists.sailfishos.org Envoyé: Mardi 8 Juillet 2014 14:13:01 Objet: [SailfishDevel] Why this error now? I'm trying to deplo

Re: [SailfishDevel] Follow up on faenil's topics in Community meeting 24.04.2014 @ 10:00 UTC

2014-06-25 Thread sfietkonstantin
I'm wondering how TJC is handled internally by Jolla. Some insights on how sailors proceed is very welcomed. To reply to Faenil, I would say that it depends on the users. Power users like us are often on IRC and discuss directly with some Sailors. And they can feel that TJC is a mess (especiall

Re: [SailfishDevel] my letter on switching sides [non-technical]

2014-06-12 Thread sfietkonstantin
Thank you a lot for work done in SDK ! And good luck for the future :) - Mail original - De: "Jarko Vihriala" À: "Sailfish OS Developers" Envoyé: Mercredi 11 Juin 2014 20:25:50 Objet: [SailfishDevel] my letter on switching sides [non-technical] Hello there! This is my announcement

Re: [SailfishDevel] Jolla release plan for high-level features - update 8

2014-06-11 Thread sfietkonstantin
In a slightly more technical level, can we expect Qt 5.2 to land, or is this migration still uncertain ? (Sorry for top post, web client etc.) - Mail original - De: "Soumya Bijjal" À: devel@lists.sailfishos.org Envoyé: Mercredi 11 Juin 2014 19:10:00 Objet: [SailfishDevel] Jolla release p

Re: [SailfishDevel] Recover WLAN password

2014-06-06 Thread sfietkonstantin
Hi Alex, Try /var/lib/connman (and the subfolders). Cheers, Lucien - Mail original - De: "Goulagman" À: "Sailfish OS Developers" Envoyé: Vendredi 6 Juin 2014 17:44:38 Objet: [SailfishDevel] Recover WLAN password Hi, I'm working on an information retrieval / backup app and, despit

Re: [SailfishDevel] pageStack.pop() - send paramater to prev page

2014-06-05 Thread sfietkonstantin
Hello ! The previous page might not be available (actually components created dynamically might not be aware of other dynamically created components, as it's the case with pages). You can communicate the page as a property to the new page: Page { id: somepage ... pageStack.push(Qt.

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-26 Thread sfietkonstantin
Thanks for the lengthy discussion. Don't forget that the topic will also be discussed tomorrow during the weekly sailfish OS meeting (http://piratepad.net/SailfishOSSMeetings) Please come and discuss on actions to be taken :) Cheers, Lucien - Mail original - De: "Thomas Tanghus" À: "S

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-26 Thread sfietkonstantin
I went active on TMO while developing for SFOS. It's not even a habit but more about easiness to use. Forum have a clear hiearchy (better than TJC), and a thread system (like in ML). It's focused on discussion (unlike TJC), and provides some useful tools (edit, formatting, thanks button; better

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-26 Thread sfietkonstantin
+1 TMO is often the forum of choice for many developers (me included), to communicate with users. TJC could have taken this role, but the flat hiearchy, and the focus on QA, it don't fit that much for a discussion (especially between users and devs). - Mail original - De: "Ruediger Gad"

Re: [SailfishDevel] qt5 ?

2014-05-23 Thread sfietkonstantin
- Mail original - De: mikete...@gmail.com À: devel@lists.sailfishos.org Envoyé: Vendredi 23 Mai 2014 15:29:34 Objet: [SailfishDevel] qt5 ? > Hi sorry if missed this previously on some announcement or mailing list, > are there any plans / ETA to move the sailfishos SDK to qt version 5 ? He

Re: [SailfishDevel] Screenshots in silica reference

2014-05-23 Thread sfietkonstantin
No, just ask Jolla to put some screenshots inside the documentation, to show components in action. - Mail original - De: "Andrey Kozhevnikov" À: devel@lists.sailfishos.org Envoyé: Vendredi 23 Mai 2014 11:13:30 Objet: Re: [SailfishDevel] Screenshots in silica reference like this? https

Re: [SailfishDevel] Screenshots in silica reference

2014-05-23 Thread sfietkonstantin
+2 it could be very welcomed. And it could be nice to discuss Silica API docs for next SFOS meeting, what do you think ? Will add it in the agenda. - Mail original - De: "Gabriel Böhme" À: "Sailfish OS Developers" , "Andrea Bernabei" Envoyé: Vendredi 23 Mai 2014 10:37:36 Objet: Re: [S

Re: [SailfishDevel] Next meeting on SailfishOS, open source, collaboration: 13-May @ 10:00 UTC

2014-05-16 Thread sfietkonstantin
When will the next meeting be ? - Mail original - De: "Carsten Munk" À: "Sailfish OS Developers" Envoyé: Lundi 12 Mai 2014 12:32:26 Objet: [SailfishDevel] Next meeting on SailfishOS, open source, collaboration: 13-May @ 10:00 UTC Hi, Sorry for taking so long with this. I've had a chil

Re: [SailfishDevel] Jolla release plan for high-level features - update 6 / 7

2014-05-15 Thread sfietkonstantin
(Sorry for top-posting, webmail) Thanks Somya for this summary ! I would also love to know if some developers would comment about the open-source components to be impacted. Folders support work seems to be started, since several pull requests have been done on lipstick library, but how about the