[SailfishDevel] Problem with installing
Hi, I wanted to try out qt-components-qt5 on Sailfish. I created a new project, copied packaging and .desktop to the folder of a Harmattan project. But now, while deploying, there's an error: Error on file /home/deploy/installroot/usr/share/applications/*.desktop: No such file or directory What am I doing wrong? The root project file is a subdirs file, .desktop is in the subdir 'src' Thanks -- Marcin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] File chooser
As Roberto said: don't take Android and iOS as a reference point. I simply don't want just another borked crappy UX! Maemo Fremantle was nice at filepicking, though the build-in file picker had no option of displaying the whole FS. Harmattan was a step back, as most apps store there files in mysterious or dumb place (some downloads go to .downloads, some to Downloads, and the documents are stored in /home/user). Please, don't make Sailfish two steps forward, one hundred steps back by making it an Android/iOS clone. The gallery might be usable at times, but nothing can replace a normal file picker. Tabs would work great here: one for normal picking, 2nd for the gallery. -- Marcin 2013/11/4 Martin Kolman martin.kol...@gmail.com 4.11.2013 12:32, Roberto Colistete Jr.: Em 04-11-2013 07:41, Artem Marchenko escreveu: As for my current person and arguably humble opinion, iOS is doing just great without the file dialog. It does force/encourage all the apps use own sandbox only (and own file-like selection dialogs then) and calls for workarounds when you actually want apps to interoperate, but.. the simplicity benefits you get to user by hiding the file level are great. Please, Sailfish community, don't take Android, iOS and other dumbed down mobile OS as examples. These mobile OS limit the freedom of the users, as well as developers : fake multi-tasking, restricted file system access, no dependencies, etc. For example, Ubuntu Touch 13.10 has more limitations than Android, because Canonical takes Android and iOS as models to copy many features. Please, Sailfish community, continue to take the examples from Maemo, MeeGo Harmattan and Nemo Mobile. ___ SailfishOS.org Devel mailing list +1 ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Harbour and Jolla Store
And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: devel-boun...@lists.sailfishos.org [devel-bounces@lists. sailfishos.org] on behalf of Jonni Rainisto [jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-bounces@lists. sailfishos.org] on behalf of Andrey Kozhevnikov [coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant upload some libraries, required as depends for my appliction? - does it acts as repository? On 06.11.2013 17:06, Karl Granström wrote: Ahoy all, Today we're launching Jolla Harbour harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page (harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You can also find guidelines on versioning at http://semver.org. Preparing your metadata: Jolla Harbour needs to know a few things about your app: - An app icon for the Store (86x86px, png) (Current SDK supports 90x90px images; more details to follow soon) - 1-3 screenshots (540x960px, png or jpg) - An optional Cover image for your Store page (516x252px, png or jpg) Submission process: To submit your application to Jolla Harbour, fill in the metadata for it and upload the binary and required images. After you have submitted your app, Jolla will start Quality Assurance testing. Quality Assurance testing: Jolla will perform QA testing on your applications on real Jolla devices. We will get back to you with feedback on your app within a few days. You will be notified on the QA results via the email address you have registered to your Jolla account. If you encounter any issues, please contact us by email, developer-c...@jolla.com, or report them to the Sailfish developers mailing list at devel at lists.sailfishos.org. Happy hacking! The Jolla Store Team ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Harbour and Jolla Store
It's not a pity when it comes to libraries. It is when you create a modular app ;) - divided into packages. But if there was an in-app-purchase system, it wouldn't be so bad :) -- Marcin 2013/11/6 Mohammed Hassan mohammed.has...@jollamobile.com I don't see it as a pity. I see it as an opportunity for everyone to push their libraries and stuff to mer/nemo/sailfish. An advantage of SailfishOS is that everyone can contribute and have their own applications, libraries and tools there. Just my 0.02 Cheers, On Wed, Nov 06, 2013 at 05:06:58PM +0100, Marcin M. wrote: Hi, Thanks! Well, it's a pity ;( Regards, -- Marcin 2013/11/6 Jonni Rainisto [1]jonni.raini...@jolla.com Hi, AFAIK. Currently you can only depend on mer/nemomobile packages, you cannot depend on store packages. re, Jonni __ From: [2]devel-boun...@lists.sailfishos.org [[3]devel-boun...@lists.sailfishos.org] on behalf of Marcin M. [[4]marmistrz...@gmail.com] Sent: Wednesday, November 06, 2013 5:34 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov [5]coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: [6]devel-boun...@lists.sailfishos.org [[7]devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [[8]jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: [9]devel-boun...@lists.sailfishos.org [[10]devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [[11]coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: [12]devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant upload some libraries, required as depends for my appliction? - does it acts as repository? On 06.11.2013 17:06, Karl Granström wrote: Ahoy all, Today we're launching Jolla Harbour [13]harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page ([14]harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit [15]account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You can also find guidelines on versioning at [16]http://semver.org. Preparing your metadata: Jolla Harbour needs to know a few things about your app: - An app icon for the Store (86x86px, png) (Current SDK supports 90x90px images; more details to follow soon) - 1-3 screenshots (540x960px, png or jpg) - An optional Cover image for your Store page (516x252px, png or jpg) Submission process: To submit your application to Jolla Harbour, fill in the metadata for it and upload the binary and required images. After you have submitted your app, Jolla will start Quality Assurance testing. Quality Assurance testing: Jolla will perform QA testing on your applications on real Jolla devices. We will get back to you with feedback on your app within a few days. You will be notified on the QA results via the email address you have registered to your Jolla account. If you encounter any issues, please contact us by email, [17]developer-c...@jolla.com, or report them to the Sailfish developers mailing list at devel at [18]lists.sailfishos.org. Happy
Re: [SailfishDevel] Jolla Harbour and Jolla Store
Openrepos bear here :) -- Marcin 2013/11/6 Andrey Kozhevnikov coderusin...@gmail.com Opensource dies here :D On 06.11.2013 22:12, Marcin M. wrote: It's not a pity when it comes to libraries. It is when you create a modular app ;) - divided into packages. But if there was an in-app-purchase system, it wouldn't be so bad :) -- Marcin 2013/11/6 Mohammed Hassan mohammed.has...@jollamobile.com I don't see it as a pity. I see it as an opportunity for everyone to push their libraries and stuff to mer/nemo/sailfish. An advantage of SailfishOS is that everyone can contribute and have their own applications, libraries and tools there. Just my 0.02 Cheers, On Wed, Nov 06, 2013 at 05:06:58PM +0100, Marcin M. wrote: Hi, Thanks! Well, it's a pity ;( Regards, -- Marcin 2013/11/6 Jonni Rainisto [1]jonni.raini...@jolla.com Hi, AFAIK. Currently you can only depend on mer/nemomobile packages, you cannot depend on store packages. re, Jonni __ From: [2]devel-boun...@lists.sailfishos.org [[3]devel-boun...@lists.sailfishos.org] on behalf of Marcin M. [[4]marmistrz...@gmail.com] Sent: Wednesday, November 06, 2013 5:34 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov [5]coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: [6]devel-boun...@lists.sailfishos.org [[7]devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [[8]jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: [9]devel-boun...@lists.sailfishos.org [[10]devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [[11]coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: [12]devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant upload some libraries, required as depends for my appliction? - does it acts as repository? On 06.11.2013 17:06, Karl Granström wrote: Ahoy all, Today we're launching Jolla Harbour [13]harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page ([14]harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit [15]account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You can also find guidelines on versioning at [16]http://semver.org. Preparing your metadata: Jolla Harbour needs to know a few things about your app: - An app icon for the Store (86x86px, png) (Current SDK supports 90x90px images; more details to follow soon) - 1-3 screenshots (540x960px, png or jpg) - An optional Cover image for your Store page (516x252px, png or jpg) Submission process: To submit your application to Jolla Harbour, fill in the metadata for it and upload the binary and required images. After you have submitted your app, Jolla will start Quality Assurance testing. Quality Assurance testing: Jolla will perform QA testing on your applications on real Jolla devices. We will get back to you with feedback on your app within a few days. You will be notified on the QA results via the email address you have registered to your Jolla account. If you encounter any
Re: [SailfishDevel] Jolla Harbour and Jolla Store
No dependencies mean problems too... -- Marcin 2013/11/6 Benoît HERVIER kher...@khertan.net But apps shipping his own libraries mean not updated library, and could be a mess if there is a security issue on one of it s libs ... There is always advantages and problems :) Le 2013-11-06 17:25, 郭云鹤 a écrit : i think every app should be independent. apps' dependence caused many problems. 郭云鹤(Guo Yunhe) http://guoyunhe.me/ 在 2013-11-7 上午12:13,Marcin M. marmistrz...@gmail.com写道: It's not a pity when it comes to libraries. It is when you create a modular app ;) - divided into packages. But if there was an in-app-purchase system, it wouldn't be so bad :) -- Marcin 2013/11/6 Mohammed Hassan mohammed.has...@jollamobile.com I don't see it as a pity. I see it as an opportunity for everyone to push their libraries and stuff to mer/nemo/sailfish. An advantage of SailfishOS is that everyone can contribute and have their own applications, libraries and tools there. Just my 0.02 Cheers, On Wed, Nov 06, 2013 at 05:06:58PM +0100, Marcin M. wrote: Hi, Thanks! Well, it's a pity ;( Regards, -- Marcin 2013/11/6 Jonni Rainisto [1]jonni.raini...@jolla.com Hi, AFAIK. Currently you can only depend on mer/nemomobile packages, you cannot depend on store packages. re, Jonni __ From: [2]devel-boun...@lists.sailfishos.org [[3]devel-boun...@lists.sailfishos.org] on behalf of Marcin M. [[4]marmistrz...@gmail.com] Sent: Wednesday, November 06, 2013 5:34 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov [5]coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: [6]devel-boun...@lists.sailfishos.org [[7]devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [[8]jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: [9]devel-boun...@lists.sailfishos.org [[10]devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [[11]coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: [12]devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant upload some libraries, required as depends for my appliction? - does it acts as repository? On 06.11.2013 17:06, Karl Granström wrote: Ahoy all, Today we're launching Jolla Harbour [13]harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page ([14]harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit [15]account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You can also find guidelines on versioning at [16]http://semver.org. Preparing your metadata: Jolla Harbour needs to know a few things about your app: - An app icon for the Store (86x86px, png) (Current SDK supports 90x90px images; more details to follow soon) - 1-3 screenshots (540x960px, png or jpg) - An optional Cover image for your Store page (516x252px, png or jpg) Submission process: To submit your application to Jolla Harbour, fill in the metadata for it and upload the binary and required images. After you have submitted your app, Jolla will start Quality
Re: [SailfishDevel] Jolla Harbour and Jolla Store
If everything handled correctly (assuming no 3rd party lib updates) what bad can happen? -- Marcin 2013/11/6 Martin Grimme martin.gri...@gmail.com Hi, 2013/11/6, 郭云鹤 guoyunhebr...@gmail.com: i think every app should be independent. apps' dependence caused many problems. I think the same. While having deps and libraries and everything is cool from a Linuxer's point of view, it will give a bad user experience and just cry for breaking things when updating the OS or other apps. You can either try to get the library into Nemo, or include it in your package or link to it statically. Those few kbytes wasted by this approach should be no real problem, but worth it, if it improves the user's experience and happiness with Sailfish devices. I remember people crying they could not update their N900 because of some library dependencies. Don't let this happen again. 1337 Linux h4x0rz in need of obscure libs and stuff will always find a workaround to fulfill their needs, e.g. with 3rd party repositories. :) Keep in mind that Sailfish wants to be attractive to regular users and user experience should be highly valued. My 2 cents, Martin 郭云鹤(Guo Yunhe) http://guoyunhe.me/ 在 2013-11-7 上午12:13,Marcin M. marmistrz...@gmail.com写道: It's not a pity when it comes to libraries. It is when you create a modular app ;) - divided into packages. But if there was an in-app-purchase system, it wouldn't be so bad :) -- Marcin 2013/11/6 Mohammed Hassan mohammed.has...@jollamobile.com I don't see it as a pity. I see it as an opportunity for everyone to push their libraries and stuff to mer/nemo/sailfish. An advantage of SailfishOS is that everyone can contribute and have their own applications, libraries and tools there. Just my 0.02 Cheers, On Wed, Nov 06, 2013 at 05:06:58PM +0100, Marcin M. wrote: Hi, Thanks! Well, it's a pity ;( Regards, -- Marcin 2013/11/6 Jonni Rainisto [1]jonni.raini...@jolla.com Hi, AFAIK. Currently you can only depend on mer/nemomobile packages, you cannot depend on store packages. re, Jonni __ From: [2]devel-boun...@lists.sailfishos.org [[3]devel-boun...@lists.sailfishos.org] on behalf of Marcin M. [[4]marmistrz...@gmail.com] Sent: Wednesday, November 06, 2013 5:34 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov [5]coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: [6]devel-boun...@lists.sailfishos.org [[7]devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [[8]jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: [9]devel-boun...@lists.sailfishos.org [[10]devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [[11]coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: [12]devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant upload some libraries, required as depends for my appliction? - does it acts as repository? On 06.11.2013 17:06, Karl Granström wrote: Ahoy all, Today we're launching Jolla Harbour [13]harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page ([14]harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit [15]account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store
Re: [SailfishDevel] Jolla Harbour and Jolla Store
And somehow Debian and Ubuntu and ... do well it with real depends... -- Marcin 2013/11/6 Marcin M. marmistrz...@gmail.com If everything handled correctly (assuming no 3rd party lib updates) what bad can happen? -- Marcin 2013/11/6 Martin Grimme martin.gri...@gmail.com Hi, 2013/11/6, 郭云鹤 guoyunhebr...@gmail.com: i think every app should be independent. apps' dependence caused many problems. I think the same. While having deps and libraries and everything is cool from a Linuxer's point of view, it will give a bad user experience and just cry for breaking things when updating the OS or other apps. You can either try to get the library into Nemo, or include it in your package or link to it statically. Those few kbytes wasted by this approach should be no real problem, but worth it, if it improves the user's experience and happiness with Sailfish devices. I remember people crying they could not update their N900 because of some library dependencies. Don't let this happen again. 1337 Linux h4x0rz in need of obscure libs and stuff will always find a workaround to fulfill their needs, e.g. with 3rd party repositories. :) Keep in mind that Sailfish wants to be attractive to regular users and user experience should be highly valued. My 2 cents, Martin 郭云鹤(Guo Yunhe) http://guoyunhe.me/ 在 2013-11-7 上午12:13,Marcin M. marmistrz...@gmail.com写道: It's not a pity when it comes to libraries. It is when you create a modular app ;) - divided into packages. But if there was an in-app-purchase system, it wouldn't be so bad :) -- Marcin 2013/11/6 Mohammed Hassan mohammed.has...@jollamobile.com I don't see it as a pity. I see it as an opportunity for everyone to push their libraries and stuff to mer/nemo/sailfish. An advantage of SailfishOS is that everyone can contribute and have their own applications, libraries and tools there. Just my 0.02 Cheers, On Wed, Nov 06, 2013 at 05:06:58PM +0100, Marcin M. wrote: Hi, Thanks! Well, it's a pity ;( Regards, -- Marcin 2013/11/6 Jonni Rainisto [1]jonni.raini...@jolla.com Hi, AFAIK. Currently you can only depend on mer/nemomobile packages, you cannot depend on store packages. re, Jonni __ From: [2]devel-boun...@lists.sailfishos.org [[3]devel-boun...@lists.sailfishos.org] on behalf of Marcin M. [[4]marmistrz...@gmail.com] Sent: Wednesday, November 06, 2013 5:34 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov [5]coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: [6]devel-boun...@lists.sailfishos.org [[7]devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [[8]jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: [9]devel-boun...@lists.sailfishos.org [[10]devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [[11]coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: [12]devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant upload some libraries, required as depends for my appliction? - does it acts as repository? On 06.11.2013 17:06, Karl Granström wrote: Ahoy all, Today we're launching Jolla Harbour [13]harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page ([14]harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit [15]account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla
Re: [SailfishDevel] Jolla Harbour and Jolla Store
Well, the whole problem with repos and deps is not about the user side but the server side ;) Maemo.org doesn't expose DiffIndex like Debian does but normal Packages and Release (maybe compressed). DiffIndex would greatly reduce download time. About the storing list of apps on-device... Hmm... In my debian repo, it's ~1 KB per package. Let's assume 1 million apps. It's 1 GB. Much too much. But if only installed apps were added as a repo? Let's assume a user has a maximum of 10.000 apps. It means 10 MB and is acceptable with such a big number of apps. Nokia did a deb-exec field for sources.list and a special adapter. -- Marcin 2013/11/7 Karl Granström karl.granst...@jolla.com Ahoy, thank you for all the interest in the Harbour. First of all a big apology for for the problems that we are having here at Harbour - we faced some unexpected issues due to a small storm that passed by and are working hard to resolve them. We will keep you posted when you can dock again to our Harbour and start submitting your apps. Thank you for your patience! The Jolla Store Team On 06 Nov 2013, at 13:06, Karl Granström karl.granst...@jolla.com wrote: Ahoy all, Today we're launching Jolla Harbour harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page (harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You can also find guidelines on versioning at http://semver.org. Preparing your metadata: Jolla Harbour needs to know a few things about your app: - An app icon for the Store (86x86px, png) (Current SDK supports 90x90px images; more details to follow soon) - 1-3 screenshots (540x960px, png or jpg) - An optional Cover image for your Store page (516x252px, png or jpg) Submission process: To submit your application to Jolla Harbour, fill in the metadata for it and upload the binary and required images. After you have submitted your app, Jolla will start Quality Assurance testing. Quality Assurance testing: Jolla will perform QA testing on your applications on real Jolla devices. We will get back to you with feedback on your app within a few days. You will be notified on the QA results via the email address you have registered to your Jolla account. If you encounter any issues, please contact us by email, developer-c...@jolla.com, or report them to the Sailfish developers mailing list at devel at lists.sailfishos.org. Happy hacking! The Jolla Store Team ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Harbour and Jolla Store
Well, indeed it's better than the hour is spent to provide better apps for Sailfish than to do some freaky copy-protection, finally broken by some talented hacker (If iOS is jailbroken, WAT in Win7 broken, why should Jolla's library avoid that?) ... Or to spend this hour to bring xwayland! ;) -- Marcin 2013/11/8 Attila Csipa q...@csipa.in.rs On 07-Nov-13 17:31, Michal Jerz wrote: Well, as Ronni wrote, using their copy-protection library is going to be entirely OPTIONAL, so its existence should not hurt anyone That will depend on what it actually does, and what kind of support it requires from the system. At the most benign level it can just try to figure out if the IMEI is authorized and such, at worst, it can interfere with system activities (how you guarantee a chain of trust if your copy-protection library relies on calls to user-replaceable parts of the system?). Rather than studying any researches, I'd prefer to simply give it a try myself and see if it makes any difference for me. After two years with the That's also a way of research :) Nokia Store preventing use of any protection, I'd really like to at least TRY and see what difference it can make. Certainly, I'm not implying what other developers must or must not do - everyone is free to make their own business decisions, good or bad (and since I still didn't earn a million $ by selling apps, I will not claim to be a monetization guru :). I'm just baffled at just how hellbent some people are on reducing the number of pirated copies without fully understanding the cost of development and dynamics of app-stores. And every hour a Jolla engineer (or 3rd party dev) spends devising or employing a copy-protection scheme is an hour that he's not putting towards other parts of the platform or his/her apps. One thing I know for sure is that in 2013, after all those who used to crack and release Symbian 'warez' got disinterested in the dying platform, sales of my Symbian applications actually noticeably INCREASED, despite the rapidly shrinking user base. So there must be some correlation between these things... Again, without proper context and research, the origin of that correlation might not be obvious (Was legally buying it in the beginning hard or an obstacle? Did Nokia introduce carrier billing or better payment coverage in some markets along the way?). The same applies here. I agree there is an inflection point, where the platform is too small for real piracy to exist, but then the question is - who wants to remain a small player? And if you get big, that scheme will not help you anyway, so why make it? Best regards, Attila Csipa ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Harbour and Jolla Store
Well, about Michal's point: I agree it'll be hard on Sailfish. I think that the best measure against so-called piracy is a dynamic price changing possibility as in AppStore as previously said. But I won't agree about $650 - not everyone can buy first-minute device. And take it in account that in some countries (like Poland) minimal pay is $400. New N900 is half of that in Poland. And if you'd like to expand to countries like Uzbekistan, Kazachstan, Ukraine, Belarus, ... than $1 is a lot in these countries. Don't make the mistake HP/Palm did: assuming that the world ends on EU borders (in their case it was East and West Coast of the US) The blacklisting might have detrimental effect on sales altogether - the person won't be able to buy apps even if they change their mind, if they want to undo their deeds - they won't be able to do it. What happens if someone gets blacklisted from the Harbor? -- Marcin 2013/11/9 Martin Kolman martin.kol...@gmail.com 8.11.2013 23:40, Attila Csipa: On 08-Nov-13 13:48, Michal Jerz wrote: So it is actually a matter of *ALTERNATIVE COST*. Make it sufficiently cumbersome (and possibly also risky) and at least SOME people will find paying $1 simply EASIER and QUICKER than bothering with not so easily installable and potentially risky stuff. Or opt for lack of any protection How about we try to figure out how to make the legal way Easy and Painless, rather than trying to figure out how to make software installation/usage (even) more complex and difficult? +1 Personally I don't care about any copy protection stuff - all my apps are free open source so I rather want people to copy them as much as possible. :) On the other hand I guess I would start to care if the copy protection functionality (if implemented in the end) limited OS/device functionality, leaked sensitive information, etc. Best regards, Attila ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla app store and copyright protection. Just make app store easier than piracy
Absolutely agree! -- Marcin 2013/11/9 Artem Marchenko artem.marche...@gmail.com Yeah, this discussion went too far, but then if I remain silent maybe point of view I don't like will influence Jolla sailors too much :) So my two cents: IMHO, the main point preventing piracy in Apple App Store is it's easy of use. It's just many times easier to search and tap buy for $1.95, than it is to search torrents for the same stuff. And that is hopefully the main razor-sharp goal sailors are working on. Going from unpacking device to buying my app should take less than a minute and a dozen of taps + maybe one time account creation. People who don't have money to buy will pirate anyway, they won't buy many apps anyway, so why optimize for then? All these stats that MANY% of Android apps are pirated doesn't mean at all that these apps would have been bought if copy protection was impenetrable. And yes, identifying users/accounts inapp is still useful, but first of all for easy in-app purchasing and *possibly* giving users discount codes for this or that purchase. Hopefully both things will work on the system level. Cheers and clear seas to everybody! Artem. -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] qt-components-qt5
Hi, I'm trying to run an app using qt-components-qt5 (installed in the emulator). It fails though. The output is: QML debugging is enabled. Only use this in a safe environment. Using Wayland-EGL Module 'com.nokia.meego' does not contain a module identifier directive - it cannot be protected from external registrations. MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString, QObject*) Theme: jolla-ambient LocalThemeDaemonClient: Looking for assets in (/usr/share/themes/base/meegotouch, /usr/share/themes/jolla-ambient/meegotouch) file:///usr/share/MeeIrregulars/qml/MeeIrregulars.qml:5:1: PageStackWindow is not a type PageStackWindow ^ What am I doing wrong? Thanks -- Marcin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problem with installing
Well, it was indeed the problem. (No installing from qmake) Thanks! -- Marcin 2013/11/1 sonyfe...@ovi.com Take a look at your yaml and see if there's *.desktop specified in Files field. Try changing the path to include the subdir. Also make sure you have specify where to install the desktop file in. pro. These are what I did to get the rpm packaging working. Regards, William *From: *Marcin M. *Sent: *Friday, November 1, 2013 03:00 *To: *devel@lists.sailfishos.org *Subject: *[SailfishDevel] Problem with installing Hi, I wanted to try out qt-components-qt5 on Sailfish. I created a new project, copied packaging and .desktop to the folder of a Harmattan project. But now, while deploying, there's an error: Error on file /home/deploy/installroot/usr/share/applications/*.desktop: No such file or directory What am I doing wrong? The root project file is a subdirs file, .desktop is in the subdir 'src' Thanks -- Marcin ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] qt-components-qt5
Hello, I am aware of that, that Sailfish native apps should use Silica. But it's not my point in this case to switch I'm just experimenting with the old com.nokia.meego components. They're available in the repos, so I tried, how would the app basing on it work. I installed it in Emulator only - I don't need it for building. I added to Requires instead of sailfishsilica-qt5, but it's still not detected still after installing. Thanks -- Marcin 2013/11/11 christopher.l...@thurweb.ch Hi Marcin Have you installed that package to both the Emulator and the SDK Build Engine? (and synced in the SDK Control Center?) My next guess is that you get this error from QML. Normally the qml types are available in a version of the package with import-declarative in the name (to be installed to both the Emulator and SDK build chain). But for qt-components-qt5 I can't find a import-declarative version of the package, so it looks to me to be C++ only ). But as I don't have experience of that package, I may be wrong. Sorry I have to dash off, otherwise I would experiment further ... Chris Zitat von Marcin M. marmistrz...@gmail.com: Hi, I'm trying to run an app using qt-components-qt5 (installed in the emulator). It fails though. The output is: QML debugging is enabled. Only use this in a safe environment. Using Wayland-EGL Module 'com.nokia.meego' does not contain a module identifier directive - it cannot be protected from external registrations. MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString, QObject*) Theme: jolla-ambient LocalThemeDaemonClient: Looking for assets in (/usr/share/themes/base/meegotouch, /usr/share/themes/jolla-ambient/meegotouch) file:///usr/share/MeeIrregulars/qml/MeeIrregulars.qml:5:1: PageStackWindow is not a type PageStackWindow ^ What am I doing wrong? Thanks -- Marcin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Harbour and Jolla Store
Hi, Will there be OBS for Sailfish available? Regards, -- Marcin 2013/11/12 Karl Granström karl.granst...@jolla.com Ahoy all, We managed to fix all issues with the Harbour and it is open again for all of you to dock there harbour.jolla.com. Few updates: We currently support only 3 screenshots but will improve this so that in the future you can upload more. The optional Cover image dimensions are 540x270 px IMPORTANT NOTICE: When changing the build target from i486 to ARM or vice versa, be sure to clean your project before building it again.If you don't do this you might end up deploying wrong architecture binaries of your application. Cleaning is done by selecting Build-Clean project project or Build-Clean All from Qt Creator. Also please note that Qt Creator shadow building does not work for SailfishOS - yet. If you encounter any issues, please contact us by email, developer-c...@jolla.com, or report them to the Sailfish developers mailing list at devel at lists.sailfishos.org. Br, The Jolla Store Team On 06 Nov 2013, at 13:06, Karl Granström karl.granst...@jolla.com wrote: Ahoy all, Today we're launching Jolla Harbour harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page (harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You can also find guidelines on versioning at http://semver.org. Preparing your metadata: Jolla Harbour needs to know a few things about your app: - An app icon for the Store (86x86px, png) (Current SDK supports 90x90px images; more details to follow soon) - 1-3 screenshots (540x960px, png or jpg) - An optional Cover image for your Store page (516x252px, png or jpg) Submission process: To submit your application to Jolla Harbour, fill in the metadata for it and upload the binary and required images. After you have submitted your app, Jolla will start Quality Assurance testing. Quality Assurance testing: Jolla will perform QA testing on your applications on real Jolla devices. We will get back to you with feedback on your app within a few days. You will be notified on the QA results via the email address you have registered to your Jolla account. If you encounter any issues, please contact us by email, developer-c...@jolla.com, or report them to the Sailfish developers mailing list at devel at lists.sailfishos.org. Happy hacking! The Jolla Store Team ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Saving state/config
The plugin uses gconf, doesn't it? Can we use it to modify any gconf entry then? -- Marcin 2013/11/15 Andrey Kozhevnikov coderusin...@gmail.com both are easy. check Qt Assistant. examples and api reference are inside your Qt Creator ;) On 15.11.2013 20:48, Thomas Tanghus wrote: On Friday 15 November 2013 20:26 Andrey Kozhevnikov wrote: use QSettings as Jonni said and register own component to use in qml, if need, or export single class instance via setContextProperty The latter sounds like the easiest approach. Thanks both for your good advice. On 15.11.2013 20:24, Thomas Tanghus wrote: On Friday 15 November 2013 05:44 Jonni Rainisto wrote: import org.nemomobile.configuration 1.0 My n00bness shows again :P Will I have to add this module to my project? The SailfishOS-i486-x86 target only comes with org.nemomobile.ngf ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] installing extra files via rpm
Is it possible to install files directly via .yaml/.spec (without using the qmake installs)? -- Marcin 2013/11/21 Andrey Kozhevnikov coderusin...@gmail.com check __ARMEL__ or __ARM_ARCH_7__ On 21.11.2013 21:37, Luciano Montanaro wrote: For the record, I also have problems,. whenever I switch between ARM/486 builds or between sailfish and harmattan. A slightly different topic... Is there a way to detect the kit in use from the qmake file? Currently, I add CONFIG+=sailfish on the build options when I want to build for sailfish... But this setting also gets lost often. If there were a method to detect the toolchain automatically from the qmake file that would be great. Alternatively, is it possible to add the CONFIG+=sailfish option to the .yaml file? Am I the only one that is trying to keep their applicaion buildable for sailfish as well as other targets? How are you dealing with this? Because my application.pro file is getting hard to maintain. On Thu, Nov 21, 2013 at 4:19 PM, Andrey Kozhevnikov coderusin...@gmail.com wrote: i have src/client and src/server and everything is built correctly automatically. On 21.11.2013 21:05, Artem Marchenko wrote: Yes, Qt Creator plugin trying to modify .yaml is a big annoyance to anybody with non standard .yaml (I have src/test subprojects and plugin is apparently able to work with one package only). How I solved it, I just keep resetting .yaml to version from version control whenever QtCreator wants to be clever and touch .yaml himself. Sure, sometimes I miss it, but most of the time everything's fine. Maybe same will work for you. Or maybe somebody will now post how to kill this .yaml modification plugin completely :) Cheers, Artem. On Thu, Nov 21, 2013 at 3:25 PM, Wim de Vries wsvr...@xs4all.nl wrote: Thanks. Removing and adding kits seems to generate new .yaml file based on .pro and .pri. On 11/21/2013 11:11 AM, Andrey Kozhevnikov wrote: create sailfish project, or dont use yaml, use spec. On 21.11.2013 16:01, Wim de Vries wrote: Hi Artem, Thanks for the reply. Best way would then to change .yaml, I guess. But somehow there is no .yaml in the rpm dir. Tried to add an empty one hoping that qmake or rebuild would fill it, but remains emty. Any idea how to get the yaml created? Thanks. On 11/20/2013 09:45 PM, Artem Marchenko wrote: You need to mention these files in .yaml (or user editable part of .spec that's generated from .yaml). Basically here's what happens: 1. Your project files are mounted to the virtual build machine 2. make install copies data to the appropriate final folders on the build machine (not visible from your PC) 3. RPM generation happens on build machine. RPM packager puts installed file to one or more (just one for a simple case) RPM packages according to .yaml/.spec and then it figures that some installed files are not going into any .rpm, so it gives you an error: Installed (but unpackaged) file(s) found: Cheers, Artem. On Wed, Nov 20, 2013 at 9:45 PM, Wim de Vries wsvr...@xs4all.nl wrote: Hi, I am able to deploy via RPM. Or better, QtCreator is able to do it ;-) Still, I need to install some data files as well. pro file: data.files = checklistsdata/* OTHER_FILES += \ checklistsdata/skyArrow-walkaround \ checklistsdata/skyArrowEMERGENCY \ . In the .pri: data.path = /home/nemo/checklistsdata INSTALLS += target qml desktop data As far as I understand this should be sufficient. Still deployment fails. Any hints? Thanks. Output when deploying: nstall -m 755 -p checklists /home/deploy/installroot/usr/bin/checklists install -m 755 -p /home/mersdk/qt/checklists/main.qml /home/deploy/installroot/usr/share/checklists/ cp -f -R /home/mersdk/qt/checklists/pages /home/deploy/installroot/usr/share/checklists/ cp -f -R /home/mersdk/qt/checklists/cover /home/deploy/installroot/usr/share/checklists/ cp -f -R /home/mersdk/qt/checklists/controls /home/deploy/installroot/usr/share/checklists/ install -m 755 -p /home/mersdk/qt/checklists/main.qml /home/deploy/installroot/usr/share/checklists/ install -m 755 -p /home/mersdk/qt/checklists/checklists.desktop /home/deploy/installroot/usr/share/applications/ install -m 755 -p /home/mersdk/qt/checklists/checklistsdata/eurofox /home/deploy/installroot/home/nemo/checklistsdata/ install -m 755 -p /home/mersdk/qt/checklists/checklistsdata/eurofoxEMERGENCY /home/deploy/installroot/home/nemo/checklistsdata/ install -m 755 -p /home/mersdk/qt/checklists/checklistsdata/GEO1 /home/deploy/installroot/home/nemo/checklistsdata/ install -m 755 -p /home/mersdk/qt/checklists/checklistsdata/GEO2 /home/deploy/installroot/home/nemo/checklistsdata/ install -m 755 -p /home/mersdk/qt/checklists/checklistsdata/GEO3 /home/deploy/installroot/home/nemo/checklistsdata/ install -m 755 -p /home/mersdk/qt/checklists/checklistsdata/GEO4
Re: [SailfishDevel] Update on application naming for Harbour applications
Well, seems strange 2 me too. -- Marcin 2013/11/22 Andrey Kozhevnikov coderusin...@gmail.com really? harbour-org.coderus.application how domain.organization.application naming can clash with device packages? why? On 22.11.2013 20:32, Robin Burchell wrote: Ahoy, In Iekku’s mail yesterday, we referred to application names needing to use a “dotted” form (e.g. com.example.myapp). It was brought to our attention that this isn’t factually possible at this time due to limitations in Qt Creator/qmake, so we’re unfortunately forced due to time limitations - so as to not inconvenience you developers - to change plans. The new requirement is that application names must start with a prefix of “harbour-“. The reason (if it wasn’t clear) for this requirement is so that applications do not clash with other installed packages on the device. We’re very sorry for the confusion. Thanks for understanding. Should you have any questions on this or anything else, feel free to send an e-mail as always! P.S. We’ll be launching a FAQ explaining this (and other store requirements) in detail early next week, unless anything unforeseen crops up. Happy hacking, The Jolla Crew ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically populate a ContextMenu
Agree with Cristopher. This is a workaround, but it should be fixed so that no manual tweaking is needed. Just as in c++ - private is private. -- Marcin 2013/11/23 Andrey Kozhevnikov coderusin...@gmail.com Just dont use dynamic childs if you dont want, but let it to others ;) On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote: We should not have to make that choice. using an underscore property is the pragmatic solution, but I would be interested to hear what the Jolla developers have to say on this issue. Zitat von Andrey Kozhevnikov coderusin...@gmail.com: You should use it if you want real dynamically created components. Or reimplement ContextMenu item. What would you prefer? ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Mer SDK
And is it possible to get a scratchbox shell like in the Maemo5 sdk. -- Marcin 2013/11/27 Matthias Fulz mf...@olznet.de Thank you very much - that was exactly the missing point ! I successfully compiled and deployed a test app on the emulator. BR, Matthias Quoting Luciano Montanaro mikel...@gmail.com: I did some build directly on the SDK... ssh to the build machine, then check the mb2 command mb2 --help I think you need the mb2 build and mb2 deploy commands, though I need to get back to the SDK to tell for sure. Regards, Luciano -- ()_() (0 o) ('')('') This is Bunny. Copy Bunny into your signature to help him on his way to world domination ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] community thoughts on app security
Or maybe just leave it to the user, whether to use a sandbox or not? (set the default behavior and make override rules) -- Marcin 2013/12/1 Sven Putze sailfish...@hardcodes.de 2) Sandboxes are limiting, but matter. It is way more difficult to freeze to death or misuse iPhone than Android. That probably goes against Mer/Sailfish philosophy though. Yeah, I would say properly tested applications community feedback are enough and no artificial limitations are needed. :) But how deep can a tester dive into the app? Maybe it goes bad two weeks after first usage. BR. Sven ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] community thoughts on app security
But an important thing must be done: you can run a script, create a start-up script and not mess with any security frameworks (like chaning mac on Harmattan) -- Marcin 2013/12/1 AL13N al...@rmail.be 2) Sandboxes are limiting, but matter. It is way more difficult to freeze to death or misuse iPhone than Android. That probably goes against Mer/Sailfish philosophy though. IMHO: Sandboxing is something that helps for security and QA, and if it's done structurely, it might even help developing and have apps communicate with other apps, because it might even enforce an API for each app. Sandboxing should not interfere with efficiency though... The way i see it, if each app is closed down from the outside, but it has a list of services for other apps (think DBUS, or whatnot), and it can use other apps services, and even export a list of permissions for their services (so that the user can inspect or even not give permission for one of the permissions), this could help security alot. of course, some generic services and permissions could be supplied from core apps or even system itself... a list of permissions and API stuff for services of each app, will also alow other people to see what kind of communication is possible with other apps, without even looking at their code or even documentation... it might even help in this way to create ideas that are original. plus, it will help security and find misbehaving apps... running as their own user in a separate cgroup is a first step, imho (policykit could give extra access where needed), but this general security would help for example with rpm's being emailed to sailfishos devices... if those apps are installed, at least they will be kept separate from the system... ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Serious request: please let us use C++!
I mean: use plain Qt, get Silica lookfeel. Just like on Fremantle: you use Qt, but get the gtk theme look feel. -- Marcin 2013/12/6 Wim de Vries wsvr...@xs4all.nl On 12/05/2013 06:41 PM, Marcin M. wrote: A style for plain Qt which would display with the native look feel (compare the unsupported and buggy meegotouch-qt-style) would be great too! Do you mean QML or QWidgets lookfeel? -- Marcin 2013/12/5 Filip Kłębczyk fklebc...@gmail.com W dniu 05.12.2013 13:30, Sven Putze pisze: Hi, if such an example exists, I could make templates from them. I am sure that the folks at Jolla would integrate them ;-) That's the community spirit! Thanks Sven! Regards, Filip ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Serious request: please let us use C++!
Thanks for elaborating! :) Btw. will this payback always in QML (so let's assume Fremantle Qt 4.7.4) or only on Sailfish? -- Marcin 2013/12/7 Thomas Perl th.p...@gmail.com On 06 Dec 2013, at 17:46, Marcin M. marmistrz...@gmail.com wrote: 2013/12/6 Wim de Vries wsvr...@xs4all.nl On 12/05/2013 06:41 PM, Marcin M. wrote: A style for plain Qt which would display with the native look feel (compare the unsupported and buggy meegotouch-qt-style) would be great too! Do you mean QML or QWidgets lookfeel? I mean: use plain Qt, get Silica lookfeel. Just like on Fremantle: you use Qt, but get the gtk theme look feel. (walls of text here again; tl;dr: try QML, you’ll like it, it is better [easier to write + faster to render] than QWidgets for implementing UIs) No, that won’t be possible, and even if someone were to try and replicate it (with much time and dedication, one can “fake” enough of it to look almost like Sailfish Silica, I’m sure), you wouldn’t achieve the same visual quality (note how the pattern of e.g. buttons and switches is not tied to the button and switch, but rather “lights up” the background when you scroll? cannot see that in screenshots, but only when you try it in the emulator / on the device) and performance (QML2 with the Qt Scene Graph can utilize the GPU quite well, and from what I’ve seen with Qt 5.2, this is only getting better). QML is actually quite nice for defining how the UI looks. See it as (in QWidgets terms) “more powerful versions of .ui files”. And don’t see it as “now I have to code my app in JavaScript”, that’s not the case - you can use as much or as little JavaScript as you want, and do the important stuff in C++. Granted, most of the time you actually have to use JavaScript expressions to set some property values, but the expressions look syntactically not much different from their C++ counterparts, and you get the property binding (automatic recalculation + update when a value the expression depends on) for free. And that’s also the reason why (short from moc-style pre-processing and custom language extensions on the C++ side) there is an actual need for dynamic languages like JavaScript in QML - you can’t do property bindings in “pure” C++ code, as the AST of the expression is lost after compile time. Yes, it requires you to learn something new, and yes, it’s hard in the beginning (it was for me) until you start realizing that you’re not modifying the UI tree from your C++ code anymore, but rather, you access the C++ code/state from your UI. The C++ code only needs to expose the state / content / database in a nice way (Qt models, invokables, properties, signals and slots, etc..) and then you can access these from the UI whenever you want. And if you get the properties on your C++ objects right, with notifications and all, you never have to worry when (for example) to set your button to enabled / disabled manually (mybutton.setEnabled(true), etc..), because you only define e.g. on the C++ side a property that tells you if you’re currently processing something or not (say a boolean property “processing”) and then on the QML side, you can easily say “Button { enabled: !myobject.processing }” and the button enabled state will always be right, and will be recalculated accordingly when the processing property’s value changes. This provides a nice way to split your backend from the UI and not worry about keeping your UI state in sync. You can even use that property in multiple places in the UI or not at all - the C++ side doesn’t change, which is nice (so you can e.g. have the same C++ backend for different QML UIs - one for phone, one for tablet, one for desktop, etc..) If that little JavaScript running there every time something changes sounds like too much overhead for you, think of it this way: The amount of CPU “wasted” by running JS in the QML case is saved (and paid back multiple times) by offloading big parts (not all) of the rendering from the CPU to the GPU. HTH :) Thomas ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Daemons in app store. And/or other ways of getting activated on event/schedule
And for example phone speaker switcher as on Maemo (though it would be better if it was provided by Jolla), changing mac address on startup, etc. etc. -- Marcin 2013/12/29 Alejandro Exojo s...@badopi.org El Saturday 28 December 2013, Artem Marchenko escribió: What would be the sailfish way to do it? - Harmattan-like hooking to alarm clock scheduler? Seems so. I was looking at the same issue, because I would like to understand how and alarm application should work. The Jolla one is not open source, but looking at the behaviour, where it doesn't need to be started, and is not even started for displaying the alarm (is displayed though the primary/general UI, in which seems to be a mode of the lock screen), I think it uses this Nemo framework: https://github.com/nemomobile/nemo-qml-plugin-alarms Is installed by default (or, on demand after the installation of the Alarm app), but it doesn't seem Harbour approved yet. However, I think in the future they might approve harbour- prefixed daemons, since the mention systemd services in their porting guide: https://sailfishos.org/wiki/Porting/Harmattan Sailors would provide more info. -- Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2 http://barnacity.net/ | http://disperso.net ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] SailfishOS SDK in /opt
Hi, I've installed the SDK into /opt, but I'm unable to launch the emulator nor the SDK VM - only the buttons are grayed out. Is there a known workaround, so that I can avoid reinstalling into /home/$USER/ ? thanks -- Marcin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] SailfishOS SDK in /opt
I'm using simply virtualbox-4.3 from the official repo: $ apt-cache policy virtualbox-4.3 virtualbox-4.3: Installed: 4.3.6-91406~Ubuntu~raring Candidate: 4.3.6-91406~Ubuntu~raring Version table: *** 4.3.6-91406~Ubuntu~raring 0 500 http://download.virtualbox.org/virtualbox/debian/saucy/contrib amd64 Packages 100 /var/lib/dpkg/status 4.3.0-89960~Ubuntu~raring 0 700 http://packages.linuxmint.com/ petra/import amd64 Packages $ vboxmanage list vms WinXP {4bfb163e-8537-470b-81ac-542629875e44} SailfishOS Emulator {10d6d122-6581-42da-b6e0-562266fced05} vboxmanage list runningvms shows nothing -- Marcin 2014/1/1 christopher.l...@thurweb.ch marcin What do the following commands give you (in a terminal)' vboxmanage list vms vboxmanage list runningvms The first should show installed VMS, the second those currently running. You may also have the Virtualbox-qt gui installed somewhere giving similar info. Grüsse Chrsi Zitat von Marcin M. marmistrz...@gmail.com: Hi, Thanks, it was a (partial) fix. Now, when trying to build, I get: Virtual Machine 'MerSDK' is not installed! -- Marcin 2014/1/1 christopher.l...@thurweb.ch Hi Marcin The project templates have changed quite a bit since then, and I am fairly sure I have seen the same behaviour. Try a new default project. If that works, then you can copy across your c++ / qml files from your alpha project into the new default project. Chris Zitat von Marcin Mielniczuk marmistrz...@gmail.com: Well, I should've said it more precisely :) - I open a project created by the first alpha. I click the emulator button. It grays out, nothing happens. -- Sent from my Nokia N900 Marcin On Wed Jan 1 15:56:45 2014 christopher.l...@thurweb.ch wrote: Marcin Do you have a project open? The Emulator and SDK launch buttons remain grey until you do Chris Zitat von Mikael Hermansson m...@7b4.se: That should work, I have it in opt and have no problem. Looks more like you have an issue with you project file? check the compile output/message screen if you get qmake errors or similar? also try build-clean all. On Wednesday 01 January 2014 11.12.58 Marcin M. wrote: Hi, I've installed the SDK into /opt, but I'm unable to launch the emulator nor the SDK VM - only the buttons are grayed out. Is there a known workaround, so that I can avoid reinstalling into /home/$USER/ ? thanks -- Marcin -- Skickat från Lenovo Thinkpad X230 running Kubuntu desktop ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] SailfishOS SDK in /opt
Well, after opening the VM in Virtualbox, it's gotten fixed. Thanks! My installation log must've been overwritten, 'cause it has some downloadable content stuff. Thanks again! -- Marcin 2014/1/4 christopher.l...@thurweb.ch Hi Marcin Did you get any further on this? Zitat von Marcin M. marmistrz...@gmail.com: I repeat, on this installation I've never had any SDK install. The remains have been wiped with the system reinstall. What's strange, the virtual machine exists. See the attached file -- Marcin As the files for the SDK vm are on your host, it looks like something went wrong in the installation of the VM to VBox. In your SailfishOS directory there should be a log file InstallationLog.txt. Open this and search for MerSDK.vbox. Around this entry you should find lots of commands for VBoxManage for the SDK vm. I have pasted mine at the bottom of this mail. As the files are in place, perhaps you will be able to run equivalent commands via VBoxManage to activate the VM? Alternatively you might find it easier to add the VM using the VirtualBox Gui. You should find this in /usr/share/virtualbox Start it with ./VirtualBox, Then press the new icon. Grüsse Chris backup org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, setextradata, global, GUI/SuppressMessages, remindAboutAutoCapture,remindAboutWrongColorDepth, showRuntimeError.warning.HostAudioNotResponding, remindAboutMouseIntegrationOff Done perform org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, setextradata, global, GUI/SuppressMessages, remindAboutAutoCapture,remindAboutWrongColorDepth, showRuntimeError.warning.HostAudioNotResponding, remindAboutMouseIntegrationOff /usr/bin/VBoxManage started, arguments: setextradata global GUI/SuppressMessages remindAboutAutoCapture,remindAboutWrongColorDepth, showRuntimeError.warning.HostAudioNotResponding, remindAboutMouseIntegrationOff Done backup org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, createvm, --name, MerSDK, --register, --basefolder, /Users/christopherlamb/SailfishOS/mersdk, UNDOEXECUTE, /usr/bin/VBoxManage, unregistervm, --delete, MerSDK, errormessage=Please shutdown the MerSDK VM Done perform org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, createvm, --name, MerSDK, --register, --basefolder, /Users/christopherlamb/SailfishOS/mersdk, UNDOEXECUTE, /usr/bin/VBoxManage, unregistervm, --delete, MerSDK, errormessage=Please shutdown the MerSDK VM /usr/bin/VBoxManage started, arguments: createvm --name MerSDK --register --basefolder /Users/christopherlamb/SailfishOS/mersdk Virtual machine 'MerSDK' is created and registered. UUID: 8d3ae826-1ce9-48db-a39c-e331f55997a4 Settings file: '/Users/christopherlamb/SailfishOS/mersdk/MerSDK/ MerSDK.vbox' Done backup org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, modifyvm, MerSDK, --ostype, Linux26, --memory, 512, --vram, 10, --ioapic, on, --pae, on, --nic1, nat, --nictype1, virtio, --natpf1, guestssh,tcp,127.0.0.1,,,22, --natpf1, guestwww,tcp,127.0.0.1,8080,,9292, --nic2, intnet, --intnet2, sailfishsdk, --nictype2, virtio, --macaddress2, 08005A11F155 Done perform org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, modifyvm, MerSDK, --ostype, Linux26, --memory, 512, --vram, 10, --ioapic, on, --pae, on, --nic1, nat, --nictype1, virtio, --natpf1, guestssh,tcp,127.0.0.1,,,22, --natpf1, guestwww,tcp,127.0.0.1,8080,,9292, --nic2, intnet, --intnet2, sailfishsdk, --nictype2, virtio, --macaddress2, 08005A11F155 /usr/bin/VBoxManage started, arguments: modifyvm MerSDK --ostype Linux26 --memory 512 --vram 10 --ioapic on --pae on --nic1 nat --nictype1 virtio --natpf1 guestssh,tcp,127.0.0.1,,,22 --natpf1 guestwww,tcp,127.0.0.1,8080,,9292 --nic2 intnet --intnet2 sailfishsdk --nictype2 virtio --macaddress2 08005A11F155 Done backup org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, storagectl, MerSDK, --name, SATA, --add, sata, --controller, IntelAhci, --bootable, on Done perform org.merproject.mersdk operation: Execute - arguments: /usr/bin/VBoxManage, storagectl, MerSDK, --name, SATA, --add, sata, --controller, IntelAhci, --bootable, on /usr/bin/VBoxManage started, arguments: storagectl MerSDK --name SATA --add sata --controller IntelAhci --bootable on Done backup org.merproject.mersdk operation: Execute - arguments: {0,1}, /usr/bin/VBoxManage, closemedium, disk, /Users/christopherlamb/SailfishOS/mersdk/mer.vdi Done perform org.merproject.mersdk operation: Execute - arguments: {0,1}, /usr/bin/VBoxManage, closemedium, disk, /Users/christopherlamb/SailfishOS/mersdk/mer.vdi /usr/bin/VBoxManage started, arguments: closemedium disk /Users/christopherlamb/SailfishOS/mersdk/mer.vdi Done backup
[SailfishDevel] Zypper and PackageKit
Hi, I'm wondering, what are the advantages disadvantages of Zypper vs PackageKit. Why has the latter been selected for Sailfish as default? Regards, -- Marcin ___ SailfishOS.org Devel mailing list
[SailfishDevel] qt-components-qt5 are missing theme files
Hi, I tried to experiment with the MeeGo components, and I noticed that the graphics for it are missing: Connecting to device... [D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1392 - QML debugging is enabled. Only use this in a safe environment. [D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL [W] QQmlImportDatabase::importPlugin:1697 - Module 'com.nokia.meego' does not contain a module identifier directive - it cannot be protected from external registrations. [D] MLocalThemeDaemonClient::MLocalThemeDaemonClient:82 - MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString, QObject*) Theme: jolla-ambient [D] MLocalThemeDaemonClient::MLocalThemeDaemonClient:138 - LocalThemeDaemonClient: Looking for assets in (/usr/share/themes/base/meegotouch, /usr/share/themes/jolla-ambient/meegotouch) [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-button-background [W] unknown:80 - file:///usr/lib/qt5/qml/com/nokia/meego/Button.qml:80:5: QML BorderImage: Failed to get image from provider: image://theme/meegotouch-button-background [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-toolbar-portrait-background [W] unknown:89 - file:///usr/lib/qt5/qml/com/nokia/meego/ToolBar.qml:89:5: QML BorderImage: Failed to get image from provider: image://theme/meegotouch-toolbar-portrait-background [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-menu-shadow-bottom [W] unknown:82 - file:///usr/lib/qt5/qml/com/nokia/meego/ToolBar.qml:82:5: QML Image: Failed to get image from provider: image://theme/meegotouch-menu-shadow-bottom [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-menu-shadow-right [W] unknown:76 - file:///usr/lib/qt5/qml/com/nokia/meego/ToolBar.qml:76:5: QML Image: Failed to get image from provider: image://theme/meegotouch-menu-shadow-right [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-menu-shadow-top [W] unknown:70 - file:///usr/lib/qt5/qml/com/nokia/meego/ToolBar.qml:70:5: QML Image: Failed to get image from provider: image://theme/meegotouch-menu-shadow-top [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-menu-shadow-left [W] unknown:64 - file:///usr/lib/qt5/qml/com/nokia/meego/ToolBar.qml:64:5: QML Image: Failed to get image from provider: image://theme/meegotouch-menu-shadow-left [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-applicationwindow-corner-bottom-right [W] unknown:123 - file:///usr/lib/qt5/qml/com/nokia/meego/PageStackWindow.qml:123:13: QML Image: Failed to get image from provider: image://theme/meegotouch-applicationwindow-corner-bottom-right [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-applicationwindow-corner-bottom-left [W] unknown:118 - file:///usr/lib/qt5/qml/com/nokia/meego/PageStackWindow.qml:118:13: QML Image: Failed to get image from provider: image://theme/meegotouch-applicationwindow-corner-bottom-left [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-applicationwindow-corner-top-right [W] unknown:113 - file:///usr/lib/qt5/qml/com/nokia/meego/PageStackWindow.qml:113:13: QML Image: Failed to get image from provider: image://theme/meegotouch-applicationwindow-corner-top-right [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-applicationwindow-corner-top-left [W] unknown:108 - file:///usr/lib/qt5/qml/com/nokia/meego/PageStackWindow.qml:108:13: QML Image: Failed to get image from provider: image://theme/meegotouch-applicationwindow-corner-top-left [W] err_method_notfound:2082 - QObject::connect: No such signal QScreen::currentOrientationChanged(Qt::ScreenOrientation) [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-button-background-pressed [W] unknown:80 - file:///usr/lib/qt5/qml/com/nokia/meego/Button.qml:80:5: QML BorderImage: Failed to get image from provider: image://theme/meegotouch-button-background-pressed [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-button-background [W] unknown:80 - file:///usr/lib/qt5/qml/com/nokia/meego/Button.qml:80:5: QML BorderImage: Failed to get image from provider: image://theme/meegotouch-button-background [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-button-background-pressed [W] unknown:80 - file:///usr/lib/qt5/qml/com/nokia/meego/Button.qml:80:5: QML BorderImage: Failed to get image from provider: image://theme/meegotouch-button-background-pressed [D] MLocalThemeDaemonClient::readImage:186 - Unknown theme image: meegotouch-button-background [W] unknown:80 - file:///usr/lib/qt5/qml/com/nokia/meego/Button.qml:80:5: QML BorderImage: Failed to get image from provider: image://theme/meegotouch-button-background [D]
Re: [SailfishDevel] Zypper and PackageKit
And is it possible to make packagekit show bytes (or x 10^n bytes) progress just like apt or zypper? -- Marcin 2014/1/4 Mikael Hermansson m...@7b4.se On Saturday 04 January 2014 20.07.52 Martin Grimme wrote: Hi, 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com: afaik pakckagekit have easy queue management Yes, PackageKit can queue transactions, and it can be operated without root privileges (which zypper would require). Sailfish/Nemo uses zypper's libzypp as backend for PackageKit, however. AFAIK zypper doesn't come preinstalled on Sailfish, but can be installed. One reason for packagekit is is to make platform independent package manager pkcon working both for RPM, DEB maybe more its a freedesktop project see: http://www.packagekit.org/index.html -- Skickat från Lenovo Thinkpad X230 running Kubuntu desktop ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Zypper and PackageKit
The manual is about the D-Bus service, and I meant the CLI interface - pkcon. -- Marcin 2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com afaik zypper downloading via curl, and it displaying information you want. On 07.01.2014 00:09, Marcin M. wrote: And is it possible to make packagekit show bytes (or x 10^n bytes) progress just like apt or zypper? -- Marcin 2014/1/4 Mikael Hermansson m...@7b4.se On Saturday 04 January 2014 20.07.52 Martin Grimme wrote: Hi, 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com: afaik pakckagekit have easy queue management Yes, PackageKit can queue transactions, and it can be operated without root privileges (which zypper would require). Sailfish/Nemo uses zypper's libzypp as backend for PackageKit, however. AFAIK zypper doesn't come preinstalled on Sailfish, but can be installed. One reason for packagekit is is to make platform independent package manager pkcon working both for RPM, DEB maybe more its a freedesktop project see: http://www.packagekit.org/index.html -- Skickat från Lenovo Thinkpad X230 running Kubuntu desktop ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Zypper and PackageKit
It does only: Installing[=] Waiting in queue [=] Starting [=] Refreshing software list [=] Querying [=] Resolving dependencies[=] Installing packages [=] The following packages have to be installed: augeas-libs-1.0.0-1.1.1.i486Libraries for augeas zypper-1.8.3-1.1.3.i486Command line software manager using libzypp Proceed with changes? [N/y] y [=] Installing[=] Waiting in queue [=] Waiting for authentication[=] Waiting in queue [=] Starting [=] Refreshing software list [=] Querying [=] Resolving dependencies[=] Installing packages [=] Downloading packages [=] And doesn't show in the geeky way as apt ;) -- Marcin 2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com so? pkcon providin same data which pk server sent :) On 07.01.2014 00:23, Marcin M. wrote: The manual is about the D-Bus service, and I meant the CLI interface - pkcon. -- Marcin 2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com afaik zypper downloading via curl, and it displaying information you want. On 07.01.2014 00:09, Marcin M. wrote: And is it possible to make packagekit show bytes (or x 10^n bytes) progress just like apt or zypper? -- Marcin 2014/1/4 Mikael Hermansson m...@7b4.se On Saturday 04 January 2014 20.07.52 2014%2020.07.52 Martin Grimme wrote: Hi, 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com: afaik pakckagekit have easy queue management Yes, PackageKit can queue transactions, and it can be operated without root privileges (which zypper would require). Sailfish/Nemo uses zypper's libzypp as backend for PackageKit, however. AFAIK zypper doesn't come preinstalled on Sailfish, but can be installed. One reason for packagekit is is to make platform independent package manager pkcon working both for RPM, DEB maybe more its a freedesktop project see: http://www.packagekit.org/index.html -- Skickat från Lenovo Thinkpad X230 running Kubuntu desktop ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour
So how else can we update sudoers...? No custom package manager could be done without it. -- Marcin 2014/1/11 Thomas Perl th.p...@gmail.com Duty calls[1]... tl;dr: No postinst scripts in Harbour. chmod 666 stuff in /usr/ is wrong. On 11 Jan 2014, at 13:51, Martin Kolman martin.kol...@gmail.com wrote: 11.1.2014 13:34, Alejandro Exojo: QA can check if post script doing some good job and allow it? If the script is simple, yes. If it is not, there is a serious risk that somebody adds a trojan horse to the phone. That would mean that somebody has to define what is a simple script. And that a problem in QA could mean a trojan horse is added to users' phones. And yet normal Linux distributions like Fedora, Debian, Ubuntu or openSUSE manage to check their tens of thousands of packages just fine… The following is just my personal opinion on this story in the form of a wall of text[4], in which you can choose to run into or not. Also, it’s not meant to be harsh, even if it reads like this in some parts of it. Just a (hopefully thorough enough) explanation of why it’s a bad idea to have postinst and chmod 666 stuff in /usr/ so that app developers can go back to creating great apps, understanding the reasons for not having postinst scripts and that it’s a Good Thing, and doesn’t conflict with What We’re Used To on Desktop Linux. All the core packages (well, most of them at least) of Fedora, Debian, etc.. are open source in the repositories, built on their servers, and could at least in theory be reviewed by someone. Try to get a package into Fedora or Debian that does “chmod 666” to some directory in /usr/share/ in the postinst script - probably not going to be accepted there. In fact, if you want to go all “Desktop Linux” on this issue, read the FHS[6], and let me quote RedHat’s documentation[7]: “The two most important elements of FHS compliance are: […] The ability to mount a /usr/ partition as read-only. In any case, at least for Debian, here’s the policy page regarding maintainer scripts in case you haven’t read it yet: http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html Also, have a look at all those nice flow graphs (I especially like the “Upgrading” one) in the Debian wiki related to maintainer scripts (it might be different in the RPM world, but the point is that it’s not as trivial as it sounds initially): https://wiki.debian.org/MaintainerScripts But - we’re neither Debian nor Fedora (nor openSuSE for that matter); and I don’t even know if we comply to the FHS or not - this is Sailfish OS. Don’t say “It’s an RPM system - I know this”[2] while not understanding the subtle points, and that a package in Debian/Fedora is different from an “app” on a mobile device. Where postinst scripts make sense on Debian for system packages, and even where they make sense on Sailfish OS/Mer for system packages (we use postinst scripts there, and for good reasons!), these scripts in almost all cases do not make sense in third-party app packages. If you think your package is that useful and needs to run as daemon and have postinst scripts, chances are you should be trying to get it into Mer or Nemo Mobile, from which it can then be picked up and be installed into the system - possibly even by default (yay!), because it’s so awesome (seriously, if you have such an app/middleware/service, don’t bother getting it into Harbour - get the middleware parts into Nemo Mobile and integrated well, then only push a GUI for it into Harbour [yes, I know that’s more work *for you* and will take “ages, but it will result in something much nicer and saner *for everybody*]). The problem in this thread is that somebody is trying to do something that’s a bad idea in general. The question should not be “How do I make /usr/share/$NAME world-writable?” (that is usually NEVER a good idea), but rather “My app wants to do this and that, my initial approach was to make /usr/share/$NAME world-writable, but that’s not allowed by Harbour, and now that I come to think of it, it’s probably the wrong solution - how would I solve this problem in a way that is acceptable by Harbour and still achieves my goal?” (and if you ask that question, I’ll be more than happy to help ;). By the way, the Harbour rules are not set in stone and up for discussion to be improved and more developer-friendly, so please post any issues that you have here. However, postinst scripts (at the current state where they are run as root at installation time) and world-writable /usr/ are NOT up for discussion (and this very mail tries to explain why). Just for the record, in case it wasn’t clear: - Files in /usr/share/ must not be writable by normal users (guess what? that’s a requirement in Fedora, Debian, etc.. as well!, also it makes debugging so much harder; there’s no way to just “nuke the app’s config in /home/nemo/ to start afresh“ if the app might have overwritten,
Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour
Hi, Sorry, I forgot about PackageKit! ;) I was still in the apt world :) Regards, -- Marcin 2014/1/11 Mike Sheldon m...@mikeasoft.com Hi Marcin, On Sat, 2014-01-11 at 16:49 +0100, Marcin M. wrote: So how else can we update sudoers...? No custom package manager could be done without it. As I understand it you don't need to be root to carry out package management tasks on Sailfish due to the way it implements packagekit, which you can communicate with via dbus. Take a look at pkcon as an example of a command line packagekit client, you'll notice that running pkcon install foo or pkcon remove bar all works as the normal nemo user. In addition to this ssu can be used to add new repositories. You might also want to checkout the new warehouse client for an example of a custom graphical package manager: http://talk.maemo.org/showpost.php?p=1404764postcount=194 Cheers, Mike. 2014/1/11 Thomas Perl th.p...@gmail.com Duty calls[1]... tl;dr: No postinst scripts in Harbour. chmod 666 stuff in /usr/ is wrong. On 11 Jan 2014, at 13:51, Martin Kolman martin.kol...@gmail.com wrote: 11.1.2014 13:34, Alejandro Exojo: QA can check if post script doing some good job and allow it? If the script is simple, yes. If it is not, there is a serious risk that somebody adds a trojan horse to the phone. That would mean that somebody has to define what is a simple script. And that a problem in QA could mean a trojan horse is added to users' phones. And yet normal Linux distributions like Fedora, Debian, Ubuntu or openSUSE manage to check their tens of thousands of packages just fine… The following is just my personal opinion on this story in the form of a wall of text[4], in which you can choose to run into or not. Also, it’s not meant to be harsh, even if it reads like this in some parts of it. Just a (hopefully thorough enough) explanation of why it’s a bad idea to have postinst and chmod 666 stuff in /usr/ so that app developers can go back to creating great apps, understanding the reasons for not having postinst scripts and that it’s a Good Thing, and doesn’t conflict with What We’re Used To on Desktop Linux. All the core packages (well, most of them at least) of Fedora, Debian, etc.. are open source in the repositories, built on their servers, and could at least in theory be reviewed by someone. Try to get a package into Fedora or Debian that does “chmod 666” to some directory in /usr/share/ in the postinst script - probably not going to be accepted there. In fact, if you want to go all “Desktop Linux” on this issue, read the FHS[6], and let me quote RedHat’s documentation[7]: “The two most important elements of FHS compliance are: […] The ability to mount a /usr/ partition as read-only. In any case, at least for Debian, here’s the policy page regarding maintainer scripts in case you haven’t read it yet: http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html Also, have a look at all those nice flow graphs (I especially like the “Upgrading” one) in the Debian wiki related to maintainer scripts (it might be different in the RPM world, but the point is that it’s not as trivial as it sounds initially): https://wiki.debian.org/MaintainerScripts But - we’re neither Debian nor Fedora (nor openSuSE for that matter); and I don’t even know if we comply to the FHS or not - this is Sailfish OS. Don’t say “It’s an RPM system - I know this”[2] while not understanding the subtle points, and that a package in Debian/Fedora is different from an “app” on a mobile device. Where postinst scripts make sense on Debian for system packages, and even where they make sense on Sailfish OS/Mer for system packages (we use postinst scripts there, and for good reasons!), these scripts in almost all cases do not make sense in third-party app packages. If you think your package is that useful and needs to run as daemon and have postinst scripts, chances are you should be trying to get it into Mer or Nemo Mobile, from which it can then be picked up and be installed into the system - possibly even by default (yay!), because it’s so awesome (seriously, if you have such an app/middleware/service, don’t bother getting it into Harbour - get the middleware parts into Nemo Mobile and integrated well, then only push a GUI for it into Harbour [yes, I know
Re: [SailfishDevel] Division by zero in Slider.qml
In the second case it's not 0, but 10. -- Marcin 2014/1/16 Hendrik Borghorst hendrikborgho...@gmail.com Hello folks, I've noticed some strange behaviour in Silica Silder. If you set minimumValue=maximumValue , the handle gets invisible and cannot get activated again. if you've a look at (except from Slider.qml) you'll see: function _updateHighlightToValue() { highlight.x = (sliderValue - minimumValue) / (maximumValue - minimumValue) * _grooveWidth - highlight.width/2 + leftMargin } that there is a case where an zero divison is done. For example ( min=Max=0 or min=-5 and max=5) greetings ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] Status menu?
Hi, I've recently installed Sailfish on my N950 and, well, I'm impressed, but there's one thing that drives me nuts (and which would discourage me from buying a Jolla). The thing is the status menu, and exactly lack of it. I see no possibility of quick connecting to a wifi network, as it was in Harmattan/Fremantle. The settings have some wifi thing on the top, but it seems to be enable/disable auto-scanning, and I'd like to always connect myself, never automatically, no scanning in background... And the actual option is dug deep in the settings. Regards, -- Marcin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Status menu?
It's a workaround, indeed ;) And connect to internet shortcut isn't enough! It would be ideal to be able to launch some status menu from the lockscreen ;) Changing brightness, wlan+mobile internet, 2G/3G switch are things I very often use from status menu, and I want them to be at hand. Some orientation lock is useful, switching availability from such menu -- Marcin 2014/1/17 Oleksii Serdiuk conta...@oleksii.name On 17.01.2014 20:14, Marcin M. wrote: The settings have some wifi thing on the top, but it seems to be enable/disable auto-scanning, and I'd like to always connect myself, never automatically, no scanning in background... And the actual option is dug deep in the settings. There's a nice feature I accidentally found in Settings. Go to Settings - System settings and long tap WLAN. Context menu will slide out. Tap Add to favourites there. This will place an icon to the top of the main page of Settings app that will take you directly to WLAN page. -- With best regards, Oleksii Serdiuk ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Applications Bug Tracking
Nevertheless, some bugzilla should be created for a better bug management. -- Marcin 2014/1/19 Hannes Rantzsch hannes.rantz...@student.hpi.uni-potsdam.de Great tip, thanks! Actually, the issue I wanted to post is even there already :) Hannes On 01/19/2014 05:19 PM, Martin Grimme wrote: Hi, 2014/1/19, Hannes Rantzsch hannes.rantz...@student.hpi.uni-potsdam.de: I was wondering if there is a bug tracking system for Jolla applications somewhere. You can use https://together.jolla.com for reporting bugs or suggestions. This is the official place where the Jolla developers look for feedback from the users. Martin ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Status menu?
And how to quickly turn it off then? The same problem appears. What I'm missing on Harmattan and Sailfish is something like Autodisconnect for Maemo :) -- Marcin 2014/1/17 martin.gri...@lintegra.de Hi, just do something that requires an internet connection and Sailfish will popup a connection dialog. No need to go to the settings. Martin Am Fri Jan 17 2014 20:31:57 GMT+0100 (CET) schrieb Julius Loman: Yes, but we want to have shortcut to Connect to internet option in the pulley menu. :) Shortcut to WLAN doesn't really help. It just skips one menu level. Connect to internet should be definitely in the pulley menu on the lockscreen somewhere else quickly accessible. On Fri, Jan 17, 2014 at 08:28:10PM +0100, Oleksii Serdiuk conta...@oleksii.name wrote: On 17.01.2014 20:14, Marcin M. wrote: The settings have some wifi thing on the top, but it seems to be enable/disable auto-scanning, and I'd like to always connect myself, never automatically, no scanning in background... And the actual option is dug deep in the settings. There's a nice feature I accidentally found in Settings. Go to Settings - System settings and long tap WLAN. Context menu will slide out. Tap Add to favourites there. This will place an icon to the top of the main page of Settings app that will take you directly to WLAN page. -- With best regards, Oleksii Serdiuk ___ SailfishOS.org Devel mailing list -- [ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ] ___ SailfishOS.org Devel mailing list -- Gesendet von meinem Jolla ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Python and Qt Widgets development possible?
Just a thought - maybe using some legacy (i.e. Fremantle) theme could be a fix. But I have no idea whether it can be done and with how much effort. -- Marcin 2014-01-26 christopher.l...@thurweb.ch Hi Dietmar Zitat von Dietmar Schwertberger maill...@schwertberger.de: Switching to QML/Qt Quick seems a major effort and especially, it is very un-pythonic to use this mixture of two languages. There is only one language here, QML, which is an extension of javascript. Qt Quick is a set of components used by QML. This component set is further extended by the Sailfish Silica component set. I did not find QML itself that hard to learn, and there are lots of examples and tutorials on the interweb. The mix of 2 languages comes when need to do some heavy-lifting and have to fall back to C++. Having said that C++ and QML are well integrated. Zitat von Dietmar Schwertberger maill...@schwertberger.de: ...there's quite some effort to stay compatible over multiple platforms You have hit the nail on the head. Multiplatform coding is not easy, especially if you want to keep native interaction, and look and feel. We know that Sailfish is quite a bit different from any other platform. Multi-platform is not impossible, but it does involve compromises. I have been working for some while to port a Harmattan app to Sailfish. For the most part I have got it working, but not without some obstacles. Off the top of my head (and without going into detail), here is a list of differences I found between these 2 platforms 1) Qt Version 4.7.4 -- 5.x 2) QtQuick version 1.0 -- 2.0 3) Mobility 1.2 -- Qt 5.0 equivalents 4) Project Template Files C++ main function, Pro file 5) Project structure 6) Sailfish look and feel, user interaction 7) Sailfish Specials: e.g Cover 8) Missing QML Components / Extra Components, 9) Component Property differences 10) Library differences inc. Bugs 11) Niggly Technical Stuff 11.1) How a javascript file imports a second javascript file 11.2) Location of LocalStorage DB 12) Harbour rules (somethings are technically possible, but not allowed to be harbour compliant) 13) etc Grüsse Chris ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Harbour compliant way to read contacts
And wouldn't separate permission for each app solve the thing? -- Marcin 2014-01-26 Bernd Wachter bernd.wach...@jolla.com christopher.l...@thurweb.ch writes: Hi Sven I am equally curious: Reading and rereading Bernd's mail I see ..contacts synced to the device from some third party services... I entered all the contacts on my phone myself (most via bluetooth from the N9). No third parties are involved at all. So surely my apps should have full readonly access. If the source is an issue, then the source should be an attribute of each contact, thus allowing apps access to kosher contacts, and barring access to those from third parties. That's what we're currently working on. Surely what an app does with the contacts is more important than the source of the contacts? We need to follow the terms of service from where we sync the contacts, or they might revoke our API keys without warning, which then would affect the whole userbase. In doing so we need to allow for creative interpretation of the TOS on their end as well -- we're the ones in trouble if they decide to revoke our API keys after all. TLDR: Lawyers are making our contacts middleware unnecessarily complicated, not all features implemented yet. Bernd ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] White screen and no errors
Hi, I'm giving one more go at my Sailfish app, but when I try to run it, I get a white screen only. The log is [D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1392 - QML debugging is enabled. Only use this in a safe environment. [D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL and nothing more... Why can it happen? -- Marcin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] White screen and no errors
You mean unclosed brackets? With the MeeGo components such thing always was being reported in the log... -- Marcin 2014-01-28 Gabriel Böhme m.gabrielboe...@googlemail.com Hi, but an error in the QML file - *should* throw an error message on the console?! Gabriel. Am Dienstag, den 28.01.2014, 15:25 +0100 schrieb Luciano Montanaro: On Tue, Jan 28, 2014 at 2:51 PM, Marcin M. marmistrz...@gmail.com wrote: Why can it happen? Something similar has happened to me when a QML file cannot be parsed. Check those curly brackets! :) Luciano ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Python and Qt Widgets development possible?
But they could make the UI usable on mobile phones, as it's done in Fremantle. I can send you a screenshot with the app themed and not themed. -- Marcin 2014-02-11 19:07 GMT+01:00 Dietmar Schwertberger maill...@schwertberger.de : Am 11.02.2014 16:51, schrieb Marcin M.: Don't know much about Qt theming capability but you could try installing some custom theme for plain Qt, as Maemo does. But sitll there'll be no native lookfeel Themes would only change the look. Things like dialogs, multiple windows, menus etc. still would not behave as expected. Regards, Dietmar ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Python and Qt Widgets development possible?
Death? The folks on qt project said that qt widgets isn't gonna be dropped. -- Marcin 2014-02-16 16:40 GMT+01:00 christopher.l...@thurweb.ch: Dietmar Sailfish is very far from being QML only. Sailfish like all other platforms based on Qt5.X supports a rich mix of C++, QML and Javascript. The exact mix is up to you, and depends on your own experience, preferences and predilections, and of course on what you need to do. The death of Qt Widgets is nothing to with Sailfish, that is q Qt5.X thing. Grüsse Chris Zitat von Dietmar Schwertberger maill...@schwertberger.de: Thanks for the hints. I've come to the conclusion that for me it's not yet time to make the switch from N900 to Jollaas main device. (The main blocking point is lack of calendar synchronization with Outlook on a PC.) So I will probably have enough time to learn QML... But IMHO restricting GUI to QML only is a mistake. Such a limitation of tools stops software frombeing ported, written and/orpublished. The unique selling point of Jolla / Sailfish OScould be thatit's as versatile as a PC. But QML only reduces this very much to being just another Smartphone platform.If the N900 had been QML only, then I would have bought an Android device instead. Of course I understand that the resources of Jolla are limited and that priorities are somewhere else. Regards, Dietmar ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Python and Qt Widgets development possible?
Is Qt Quick faster on desktop too? -- Marcin 2014-02-17 13:12 GMT+01:00 Roberto Colistete Jr. roberto.colist...@gmail.com: Em 16-02-2014 12:40, christopher.l...@thurweb.ch escreveu: Dietmar Sailfish is very far from being QML only. Sailfish like all other platforms based on Qt5.X supports a rich mix of C++, QML and Javascript. The exact mix is up to you, and depends on your own experience, preferences and predilections, and of course on what you need to do. The death of Qt Widgets is nothing to with Sailfish, that is q Qt5.X thing. Grüsse Chris Long before Qt5 : with MeeGo Harmattan 1.2 in 2011, Qt Widgets were not supported to develop for Nokia N9. So Qt Quick 1.0 QML is not new at all. ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] HowTo package my resources (images/sounds/etc)
Is there no debian/install counterpart in rpm, not to have use qmake INSTALLS? -- Marcin 2014-02-27 20:25 GMT+01:00 Andrey Kozhevnikov coderusin...@gmail.com: res.files = Home/* res.path = /usr/share/mygame/resourcces INSTALLS += res On 28.02.2014 01:14, Iosif Hamlatzis wrote: ok thanks and if I am not making a Qt application but just a plain c/c++ application? Is there a way to define just the root of my assets folder? Let's say my tree is: c:\workspace\mygame\Home c:\workspace\mygame\Home\media c:\workspace\mygame\Home\media\bmps c:\workspace\mygame\Home\media\bmps\. c:\workspace\mygame\Home\media\bmps\.\. c:\workspace\mygame\Home\media\sounds c:\workspace\mygame\Home\other\ etc is it possible to say I want everything under the c:\workspace\mygame\Home folder? If I have lots and lots of sounds, images, fonts etc it's getting . (I cannot find a polite word to use) to manually add each and every file, something is going to get lost ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Harbour and Jolla Store
Is there any estimated time when paid apps will be allowed to Harbour? -- Marcin 2013-11-12 19:45 GMT+01:00 Martin Kolman martin.kol...@gmail.com: 12.11.2013 17:57, David Greaves: Last I heard the plan was to allow the Mer OBS to build SailfishOS rpms. Sounds great, fingers crossed! :) David On 12/11/13 15:18, Marcin M. wrote: Hi, Will there be OBS for Sailfish available? Regards, -- Marcin 2013/11/12 Karl Granström karl.granst...@jolla.com mailto:karl.granst...@jolla.com Ahoy all, We managed to fix all issues with the Harbour and it is open again for all of you to dock there harbour.jolla.com http://harbour.jolla.com . Few updates: We currently support only 3 screenshots but will improve this so that in the future you can upload more. The optional Cover image dimensions are 540x270 px IMPORTANT NOTICE: When changing the build target from i486 to ARM or vice versa, be sure to clean your project before building it again.If you don't do this you might end up deploying wrong architecture binaries of your application. Cleaning is done by selecting Build-Clean project project or Build-Clean All from Qt Creator. Also please note that Qt Creator shadow building does not work for SailfishOS - yet. If you encounter any issues, please contact us by email, developer-c...@jolla.com mailto:developer-c...@jolla.com, or report them to the Sailfish developers mailing list at devel at lists.sailfishos.org http://lists.sailfishos.org. Br, The Jolla Store Team On 06 Nov 2013, at 13:06, Karl Granström karl.granst...@jolla.com mailto:karl.granst...@jolla.com wrote: Ahoy all, Today we're launching Jolla Harbour harbour.jolla.com http://harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page (harbour.jolla.com http://harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit account.jolla.com http://account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You can also find guidelines on versioning at http://semver.org. Preparing your metadata: Jolla Harbour needs to know a few things about your app: - An app icon for the Store (86x86px, png) (Current SDK supports 90x90px images; more details to follow soon) - 1-3 screenshots (540x960px, png or jpg) - An optional Cover image for your Store page (516x252px, png or jpg) Submission process: To submit your application to Jolla Harbour, fill in the metadata for it and upload the binary and required images. After you have submitted your app, Jolla will start Quality Assurance testing. Quality Assurance testing: Jolla will perform QA testing on your applications on real Jolla devices. We will get back to you with feedback on your app within a few days. You will be notified on the QA results via the email address you have registered to your Jolla account. If you encounter any issues, please contact us by email, developer-c...@jolla.com mailto:developer-c...@jolla.com, or report them to the Sailfish developers mailing list at devel at lists.sailfishos.org http://lists.sailfishos.org. Happy hacking! The Jolla Store Team ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] SailfishOS SDK install to /opt
Why do the mersdk/MerSDK and emulator/SailfishOS Emulator directories have 700 permissions? It makes the VMs unaccesible. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SailfishOS SDK install to /opt
And btw. even after fixing the permissions, VirtualBox comes with the following error: Failed to open a session for the virtual machine SailfishOS Emulator. The VM session was closed before any attempt to power it on. Result Code: NS_ERROR_FAILURE (0x80004005) Component: SessionMachine Interface: ISession {12f4dcdb-12b2-4ec1-b7cd-ddd9f6c5bf4d} -- Marcin 2014-07-12 10:02 GMT+02:00 Marcin M. marmistrz...@gmail.com: Why do the mersdk/MerSDK and emulator/SailfishOS Emulator directories have 700 permissions? It makes the VMs unaccesible. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] In-app-advertising
In what sense imei is unavailable in harbour? -- Marcin 2014-07-15 15:57 GMT+02:00 Giuliettasw users.giulie...@gmail.com: Inei == imei Von meinem iPad gesendet Am 15.7.2014 um 16.55 schrieb Giuliettasw users.giulie...@gmail.com: There are at least two adservices with qt sdks: Smaato (qt 4.7) Inneractive (ver ??) But at the moment inei is unavailable in harbour. Tortoisedoc . Von meinem iPad gesendet Am 15.7.2014 um 15.28 schrieb Marcin M. marmistrz...@gmail.com: Hi, What about in-app-advertitising Jolla Store. Will we be provided a framework for it? -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] sporadic bouts of Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server.
It happened to me after resuming my Linux box from suspend. Maybe this'll give some clue. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] A welcome dialog and pageStack's operation in progress.
I'd like to open a welcome dialog at startup which can be disabled by a user. Page { id: mainPage function openWelcomeDialog() { var component = Qt.createComponent(WelcomeDialog.qml) var popup = component.createObject(mainPage) popup.open() } Component.onCompleted: openWelcomeDialog() // ... } In fact [W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90: Error: Cannot push while operation is in progress: push happens. What's done wrong? -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.
This way the dialog opens after closing the dialog. Worked it around by Component.onCompleted: { while (status != PageStatus.Active) {} openWelcomeDialog() } -- Marcin 2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com: do not use onCompleted in this case. use status == PageStatus.Active instead 16.07.2014 14:58, Marcin M. пишет: I'd like to open a welcome dialog at startup which can be disabled by a user. Page { id: mainPage function openWelcomeDialog() { var component = Qt.createComponent(WelcomeDialog.qml) var popup = component.createObject(mainPage) popup.open() } Component.onCompleted: openWelcomeDialog() // ... } In fact [W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90: Error: Cannot push while operation is in progress: push happens. What's done wrong? -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.
Take back what I said. The workaround doesn't work. :P -- Marcin 2014-07-16 14:42 GMT+02:00 Marcin M. marmistrz...@gmail.com: This way the dialog opens after closing the dialog. Worked it around by Component.onCompleted: { while (status != PageStatus.Active) {} openWelcomeDialog() } -- Marcin 2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com: do not use onCompleted in this case. use status == PageStatus.Active instead 16.07.2014 14:58, Marcin M. пишет: I'd like to open a welcome dialog at startup which can be disabled by a user. Page { id: mainPage function openWelcomeDialog() { var component = Qt.createComponent(WelcomeDialog.qml) var popup = component.createObject(mainPage) popup.open() } Component.onCompleted: openWelcomeDialog() // ... } In fact [W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90: Error: Cannot push while operation is in progress: push happens. What's done wrong? -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Translating apps for SailfishOS
I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Should /usr/share/appname/i18n or .../appname/translations be used? If ` - '%{_datadir}/%{name}' ` is already in .yaml is anything else needed concerning packaging? 3. What's the recommended way of testing translations in the Emulator? setting LANG in the environmental variables? PS. There's no documentation concerning this on the sailfishos.org website. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Translating apps for SailfishOS
Thanks 1. The problem is that Tools/External/lupdate doesn't do anything. I created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and the pl translation file didn't change. My .pro looks like that: TARGET = harbour-myapp CONFIG += sailfishapp SOURCES += src/harbour-myapp.cpp \ src/settings.cpp OTHER_FILES += qml/harbour-myapp.qml \ qml/cover/CoverPage.qml \ rpm/harbour-myapp.changes.in \ rpm/harbour-myapp.spec \ rpm/harbour-myapp.yaml \ harbour-myapp.desktop \ qml/pages/SettingsPage.qml \ qml/pages/MainPage.qml \ qml/pages/FontPickerDialog.qml \ qml/pages/WelcomeDialog.qml \ harbour-myapp.png \ translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts CONFIG += sailfishapp_i18n TRANSLATIONS += translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts HEADERS += \ src/settings.h What's missing here? -- Marcin 2014-07-17 10:51 GMT+02:00 Luca Donaggio donag...@gmail.com: 1. No, lupdate is included in the virtual machine used to bild your app and invoked automatically 2. Just put your harbour-yourappname-xx.ts files into 'translations' directory and you're set 3. Usually I install the RPM in the emulator and run it from command line after changing LANG env variable On Thu, Jul 17, 2014 at 10:37 AM, Marcin M. marmistrz...@gmail.com wrote: I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Should /usr/share/appname/i18n or .../appname/translations be used? If ` - '%{_datadir}/%{name}' ` is already in .yaml is anything else needed concerning packaging? 3. What's the recommended way of testing translations in the Emulator? setting LANG in the environmental variables? PS. There's no documentation concerning this on the sailfishos.org website. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Luca Donaggio ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Translating apps for SailfishOS
And how can I run the mer's lupdate lrelease from terminal? -- Marcin 2014-07-17 11:36 GMT+02:00 Marcin M. marmistrz...@gmail.com: Thanks 1. The problem is that Tools/External/lupdate doesn't do anything. I created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and the pl translation file didn't change. My .pro looks like that: TARGET = harbour-myapp CONFIG += sailfishapp SOURCES += src/harbour-myapp.cpp \ src/settings.cpp OTHER_FILES += qml/harbour-myapp.qml \ qml/cover/CoverPage.qml \ rpm/harbour-myapp.changes.in \ rpm/harbour-myapp.spec \ rpm/harbour-myapp.yaml \ harbour-myapp.desktop \ qml/pages/SettingsPage.qml \ qml/pages/MainPage.qml \ qml/pages/FontPickerDialog.qml \ qml/pages/WelcomeDialog.qml \ harbour-myapp.png \ translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts CONFIG += sailfishapp_i18n TRANSLATIONS += translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts HEADERS += \ src/settings.h What's missing here? -- Marcin 2014-07-17 10:51 GMT+02:00 Luca Donaggio donag...@gmail.com: 1. No, lupdate is included in the virtual machine used to bild your app and invoked automatically 2. Just put your harbour-yourappname-xx.ts files into 'translations' directory and you're set 3. Usually I install the RPM in the emulator and run it from command line after changing LANG env variable On Thu, Jul 17, 2014 at 10:37 AM, Marcin M. marmistrz...@gmail.com wrote: I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Should /usr/share/appname/i18n or .../appname/translations be used? If ` - '%{_datadir}/%{name}' ` is already in .yaml is anything else needed concerning packaging? 3. What's the recommended way of testing translations in the Emulator? setting LANG in the environmental variables? PS. There's no documentation concerning this on the sailfishos.org website. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Luca Donaggio ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Is support for commercial apps a TABOO subject?
When the Harbor becomes open for paid apps, will we be permitted to use nemo-qml-plugin-configuration? Should we then put the apps' settings into the Settings app or should they be handed inside the app? -- Marcin 2014-05-29 9:22 GMT+02:00 Giuliettasw users.giulie...@gmail.com: Another cool thing could be possibility to have beta testing on end users (as for example steam does for games). Von meinem iPad gesendet Am 29.5.2014 um 2.32 schrieb Artem Marchenko artem.marche...@gmail.com: Hi there In the mean time, you have time to get your apps ready, tested and polished. Also, let us know what additional APIs you need for your Harbour app so that by the time payments are available, your app is ready to sail. As for harbour-related APIs and functions, subscription-based and try-before-you-buy would have been very nice [for me at least] as IMHO they motivate developers for continuous app improvement. I'd love to have platform support for something like WhatsApp is doing: have free usage for a substantially long time (a month at least, maybe a year), and then something like $1 or even $0.1 per half a year. That would motivate for paying only for the actually useful apps (you tried app for a long time and still use it) and for continuing development (if app doesn't improve, user uninstalls and goes for another app). Sure, how to implement it technically without touching user privacy too much is a separate story (who will check whether user still has the app installed/running?). One option could be to encourage implementing this via in-app purchase of subscriptions (a'la iOS?) that could be verified completely on device without contacting the home base except for the act of purchase. Cheers, Artem. On Fri, Apr 25, 2014 at 3:42 PM, Karl Granström karl.granst...@jolla.com wrote: Ahoy!!! We see the payment support in store as a really important part of our developer offering. We are currently working to support payments in our Jolla Store and Harbour but there are a lot of things for us to do. Our current target is to provide you the monetizing possibility durign the 2nd half of 2014. In the mean time, you have time to get your apps ready, tested and polished. Also, let us know what additional APIs you need for your Harbour app so that by the time payments are available, your app is ready to sail. Br, Jolla Store team On 24 Apr 2014, at 14:34, Mohammed Hassan mohammed.has...@jollamobile.com wrote: On Thu, Apr 24, 2014 at 09:33:22AM +0200, tw_bolek wrote: [...] So my question is: is this some kind of taboo subject, or something of as little importance that for over 4 months now no Jollan has said A WORD about it despite numerous requests? A couple of my friends already gave up after waiting so long for even just any information, and I must say that I'm slowly losing hope, too. We all understand and are aware of the enormous job Jolla has been doing, so we're asking for just INFORMATION about the progress, even just if AT ALL there are any plans to do it in a foreseeable future, and if so then knowing even just as little as if it will take a month or half a year would be all we need... There will be support for commercial apps and those will have copy protection. This was mentioned bt Rainisto long ago already. I cannot give more info nor can I give an ETA for that though :/ Cheers, ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to properly hide and show UI elements?
OK, I thought it might be that the size of the inner elements is still 0, so did like that (bolded changes) Row { id: root property string color: transparent width: parent.width Rectangle { id: colorIndicator color: root.color width: Theme.itemSizeSmall *height: parent.height* border.color: black border.width: 5 } Button { id: button text: Choose a color *height: parent.height* onClicked: { var dialog = pageStack.push(Sailfish.Silica.ColorPickerDialog) dialog.accepted.connect(function() { root.color = dialog.color }) } } } The Rectangle hides and so Button's label does. It doesn't work with the Button. And after enabling and disabling the effect is similar as previously. The button doesn't react if clicked. Seems I'll have go for opacity, still the question is: why are these elements still shown? -- Marcin 2014-07-18 16:15 GMT+02:00 Marcin M. marmistrz...@gmail.com: It might be an option... I'll take a look. But why is the component left there? If it has height = 0, it should not be displayed. -- Marcin 2014-07-18 13:16 GMT+02:00 sfietkonstan...@free.fr: 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 À: Sailfish OS Developers devel@lists.sailfishos.org Envoyé: Vendredi 18 Juillet 2014 13:09:37 Objet: Re: [SailfishDevel] How to properly hide and show UI elements? Visible = false is instant so it can't be animated. It won't look really nice without animation On 18.07.2014 12:42 Dmitriy Purgin wrote: so you try to hide a component by setting its height = 0? have you tried visible = false? 2014-07-18 16:30 GMT+06:00 Marcin M. marmistrz...@gmail.com : I'm want to display some elements only when needed. So I did it like this (the components are inside a Column): TextSwitch { id: switchTextColor text: qsTr(Override text color) checked: settings.overrideTextColor states: State { name: checked; when: switchTextColor.checked == true; PropertyChanges { target: textColorButton; height: Theme.itemSizeSmall} } transitions: Transition { from: *; to: checked; reversible: true NumberAnimation { property: height; duration: 200; easing.type: Easing.InOutQuad } } } ColorButton { id: textColorButton height: 0 } And the ColorButton component is: Row { id: root property string color: transparent width: parent.width Rectangle { id: colorIndicator color: root.color width: Theme.itemSizeSmall height: Theme.itemSizeSmall border.color: black border.width: 5 } Button { id: button text: Choose a color onClicked: { var dialog = pageStack.push(Sailfish.Silica.ColorPickerDialog) dialog.accepted.connect(function() { root.color = dialog.color }) } } } Instead of hiding, the textColorButton is at the top of the Page. If I check switchTextColor, then it goes where it should be. If then I uncheck the Switch, the component below goes up, but the textColorButton doesn't disappear (screenshot)? What am I doing wrong? -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to marmistrz...@gmail.com ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to marmistrz...@gmail.com On 18.07.2014 12:42 Dmitriy Purgin wrote: so you try to hide a component by setting its height = 0? have you tried visible = false? 2014-07-18 16:30 GMT+06:00 Marcin M. marmistrz...@gmail.com : I'm want to display some elements only when needed. So I did it like this (the components are inside a Column): TextSwitch { id: switchTextColor text: qsTr(Override text color) checked: settings.overrideTextColor states: State { name: checked; when: switchTextColor.checked == true; PropertyChanges { target: textColorButton; height: Theme.itemSizeSmall} } transitions: Transition { from: *; to: checked; reversible: true NumberAnimation { property: height; duration: 200; easing.type: Easing.InOutQuad } } } ColorButton { id: textColorButton height: 0 } And the ColorButton component is: Row { id: root property string color: transparent width: parent.width Rectangle { id: colorIndicator color: root.color width: Theme.itemSizeSmall height: Theme.itemSizeSmall border.color: black border.width: 5 } Button { id: button text: Choose a color onClicked: { var dialog = pageStack.push(Sailfish.Silica.ColorPickerDialog) dialog.accepted.connect(function() { root.color
Re: [SailfishDevel] How to properly hide and show UI elements?
Oh, right. It was so trivial. I totally forgot about it. Thanks! -- Marcin 2014-07-18 17:10 GMT+02:00 Tomasz Sterna to...@xiaoka.com: Dnia 2014-07-18, pią o godzinie 16:31 +0200, Marcin M. pisze: The Rectangle hides and so Button's label does. It doesn't work with the Button. And after enabling and disabling the effect is similar as previously. The button doesn't react if clicked. Seems I'll have go for opacity, still the question is: why are these elements still shown? QML Item does not clip by default. It allows for its children to draw outside Item boundaries. It's faster and usually useful. If you want an Item to clip its children, you need to set the property clip [1] to 'true'. [1] http://qt-project.org/doc/qt-5/qml-qtquick-item.html#clip-prop -- Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/ ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Adding colors the ColorPickerDialog
Hi, I want to make sure not to make mess in my app. I'd like to add additional colors to the ColorPicker. Can I simply append the hexcodes to ColorPickerDialog::colors? Or should I do it in another way? Thanks -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Adding colors the ColorPickerDialog
Thanks ;) -- Marcin 2014-07-20 7:17 GMT+02:00 Kimmo Lindholm kimmo.lindh...@eke.fi: TJC has answer for this: https://together.jolla.com/question/18240/more-colors-in-silica-color-picker/ -kimmo *From:* devel-boun...@lists.sailfishos.org [mailto: devel-boun...@lists.sailfishos.org] *On Behalf Of *Marcin M. *Sent:* 19. heinäkuuta 2014 21:43 *To:* devel@lists.sailfishos.org *Subject:* [SailfishDevel] Adding colors the ColorPickerDialog Hi, I want to make sure not to make mess in my app. I'd like to add additional colors to the ColorPicker. Can I simply append the hexcodes to ColorPickerDialog::colors? Or should I do it in another way? Thanks -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] How to combine multiple Flickables?
Hi, My app uses PullDown and PushUp menus. Besides, it has a SilicaListView inside to support multiple views inside the app (different text displayed on each view). Page { SilicaFlickable // vertical one { PullDownMenu{ ... } PushUpMenu{ ... } SilicaListView { orientation: ListView.Horizontal; snapMode: ListView.snapOneItem; ... } } } 1. If the menu has been used, most gestures are stealed by the top Flickable and it's difficult to switch views. if a view has been switched, it's easy to go back to the view. How to cope with this (make all swipes - both horizontal and vertical of equal importance) 2. How to properly indicate to the user, that there are still views left? Should I do it the same way as the PullDownMenu indicates? Simply allowing to go out of bounds for a little? Thanks -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to combine multiple Flickables?
Thanks, I'll try it out. -- Marcin 2014-08-04 13:58 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com: set pressDelay: 0 to flickable and listview 04.08.2014 16:42, Marcin M. пишет: Hi, My app uses PullDown and PushUp menus. Besides, it has a SilicaListView inside to support multiple views inside the app (different text displayed on each view). Page { SilicaFlickable // vertical one { PullDownMenu{ ... } PushUpMenu{ ... } SilicaListView { orientation: ListView.Horizontal; snapMode: ListView.snapOneItem; ... } } } 1. If the menu has been used, most gestures are stealed by the top Flickable and it's difficult to switch views. if a view has been switched, it's easy to go back to the view. How to cope with this (make all swipes - both horizontal and vertical of equal importance) 2. How to properly indicate to the user, that there are still views left? Should I do it the same way as the PullDownMenu indicates? Simply allowing to go out of bounds for a little? Thanks -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Platform icons
You might simply want to scp all of them from the Emulator to your desktop system. -- Marcin 2014-08-04 16:11 GMT+02:00 martin.gri...@gmail.com: Hi, Am Mon Aug 04 2014 15:21:58 GMT+0200 (CEST) schrieb fasza2mob...@gmail.com : Hi all, Is there a way to see a list/dictionary of platform icons, such as image://theme/icon-[s/m/l]-iconname; Preferebly with the corresponding pictures, but a path in the OS will do just fine. One way would be to install Cargo Dock on your device or the emulator and (Developer mode enabled) navigate to /usr/share/themes/jolla-ambient/meegotouch/icons/ to see them all. Regards, Martin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to combine multiple Flickables?
It worked like charm but one more difficulty occured: inside the delegate there's a TextField (it's much easier to handle this than a global TextField). If in gains focus, it doesn't autoScroll at all (it'd like to scroll inside the inner flickable). If I put second TextField outside the SilicaListView, it scrolls perfectly. How to handle this? I tried setting the main SilicaFlickable as a visual parent but it causes even more trouble (visual layout broken) -- Marcin 2014-08-04 18:24 GMT+02:00 Marcin M. marmistrz...@gmail.com: Thanks, I'll try it out. -- Marcin 2014-08-04 13:58 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com: set pressDelay: 0 to flickable and listview 04.08.2014 16:42, Marcin M. пишет: Hi, My app uses PullDown and PushUp menus. Besides, it has a SilicaListView inside to support multiple views inside the app (different text displayed on each view). Page { SilicaFlickable // vertical one { PullDownMenu{ ... } PushUpMenu{ ... } SilicaListView { orientation: ListView.Horizontal; snapMode: ListView.snapOneItem; ... } } } 1. If the menu has been used, most gestures are stealed by the top Flickable and it's difficult to switch views. if a view has been switched, it's easy to go back to the view. How to cope with this (make all swipes - both horizontal and vertical of equal importance) 2. How to properly indicate to the user, that there are still views left? Should I do it the same way as the PullDownMenu indicates? Simply allowing to go out of bounds for a little? Thanks -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to combine multiple Flickables?
/edit: Yes, the visual parent seems to be the Column (it doesn't have maximumFlickVelocity, it does have spacing) What to do with this? I have two items in the Column. -- Marcin 2014-08-12 16:36 GMT+02:00 Marcin M. marmistrz...@gmail.com: OK, I might've found where the problem is. a - b will mean b is a's child (a is b's parent (doesn't have to be a visual parent). Then SilicaFlickable - Column - SilicaListView - Column (a delegate) - TextField. So maybe SilicaListView isn't simply the TextField's visual parent? TextAutoScroller.qml has some code for multiple Flickables. Maybe it'd be a good idea to add an option to specify the Flickable to scroll to manually? -- Marcin 2014-08-11 12:10 GMT+02:00 Marcin M. marmistrz...@gmail.com: It worked like charm but one more difficulty occured: inside the delegate there's a TextField (it's much easier to handle this than a global TextField). If in gains focus, it doesn't autoScroll at all (it'd like to scroll inside the inner flickable). If I put second TextField outside the SilicaListView, it scrolls perfectly. How to handle this? I tried setting the main SilicaFlickable as a visual parent but it causes even more trouble (visual layout broken) -- Marcin 2014-08-04 18:24 GMT+02:00 Marcin M. marmistrz...@gmail.com: Thanks, I'll try it out. -- Marcin 2014-08-04 13:58 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com: set pressDelay: 0 to flickable and listview 04.08.2014 16:42, Marcin M. пишет: Hi, My app uses PullDown and PushUp menus. Besides, it has a SilicaListView inside to support multiple views inside the app (different text displayed on each view). Page { SilicaFlickable // vertical one { PullDownMenu{ ... } PushUpMenu{ ... } SilicaListView { orientation: ListView.Horizontal; snapMode: ListView.snapOneItem; ... } } } 1. If the menu has been used, most gestures are stealed by the top Flickable and it's difficult to switch views. if a view has been switched, it's easy to go back to the view. How to cope with this (make all swipes - both horizontal and vertical of equal importance) 2. How to properly indicate to the user, that there are still views left? Should I do it the same way as the PullDownMenu indicates? Simply allowing to go out of bounds for a little? Thanks -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to combine multiple Flickables?
OK, I might've found where the problem is. a - b will mean b is a's child (a is b's parent (doesn't have to be a visual parent). Then SilicaFlickable - Column - SilicaListView - Column (a delegate) - TextField. So maybe SilicaListView isn't simply the TextField's visual parent? TextAutoScroller.qml has some code for multiple Flickables. Maybe it'd be a good idea to add an option to specify the Flickable to scroll to manually? -- Marcin 2014-08-11 12:10 GMT+02:00 Marcin M. marmistrz...@gmail.com: It worked like charm but one more difficulty occured: inside the delegate there's a TextField (it's much easier to handle this than a global TextField). If in gains focus, it doesn't autoScroll at all (it'd like to scroll inside the inner flickable). If I put second TextField outside the SilicaListView, it scrolls perfectly. How to handle this? I tried setting the main SilicaFlickable as a visual parent but it causes even more trouble (visual layout broken) -- Marcin 2014-08-04 18:24 GMT+02:00 Marcin M. marmistrz...@gmail.com: Thanks, I'll try it out. -- Marcin 2014-08-04 13:58 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com: set pressDelay: 0 to flickable and listview 04.08.2014 16:42, Marcin M. пишет: Hi, My app uses PullDown and PushUp menus. Besides, it has a SilicaListView inside to support multiple views inside the app (different text displayed on each view). Page { SilicaFlickable // vertical one { PullDownMenu{ ... } PushUpMenu{ ... } SilicaListView { orientation: ListView.Horizontal; snapMode: ListView.snapOneItem; ... } } } 1. If the menu has been used, most gestures are stealed by the top Flickable and it's difficult to switch views. if a view has been switched, it's easy to go back to the view. How to cope with this (make all swipes - both horizontal and vertical of equal importance) 2. How to properly indicate to the user, that there are still views left? Should I do it the same way as the PullDownMenu indicates? Simply allowing to go out of bounds for a little? Thanks -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] How to use the QML/JS console?
I launched the app in a debug mode, launched the QML/JS console, but any id I type in is undefined. Why? -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Commercial apps - when?
Martin: free software is really great unless you have to pay for a place to sleep and for stuff to eat, e.g. as a univerisity student. You don't get a big revenue from donations unless you create something really big (e.g. the Whatsapp clients). And you rarely create big stuff. If you need money for such things, a payment in a store is superior to a donation method. Correct me if I'm wrong. -- Marcin 2015-04-17 0:49 GMT+02:00 Martin Kolman martin.kol...@gmail.com: Thu, 16 Apr 2015 05:27:46 + Karl Granström karl.granst...@jolla.com: Hi, We are still working hard on it but the tablet support work has been eating our resources from this area. But some good news is that we are planing to launch the donation support in Store in really near future. That's a really good news! Especially for for developers that don't want to place any artificial barriers (such as requiring a payment) between users and their applications but still want to give the users a way of showing their gratitude and helping with furter development. :) This seems to work quite nicely in the Mozilla extension repository and elsewhere, so it is really good the see it also coming to the Jolla store. :) Best Wishes Martin Kolman Br, Karl On 15 Apr 2015, at 20:06, Marcin M. marmistrz...@gmail.com wrote: Hi, Any ETA for the support for commercial apps for Sailfish? IIRC, it was the second half of 2014, :) so time long past :) Regards, -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Commercial apps - when?
Peter, I'm not against donations. I only think that both methods are needed and if only one of them is available, it's poor. -- Marcin 2015-04-24 22:37 GMT+02:00 Peter legi...@gmail.com: I do not get you. Are you against Donations? I think it is great step. Of course it would be nice to have a Payment option. But not all software is made based on payment. There are tons of software that work by donations. Most famous one, without beeing the next big thing, is the Apachee Web server. Another one is the Famous J2EE Aplication Server from JBoss. Actually the JBoss Server is a Paradigm shift in market. They became markt leader within view years. I am not saying Payment stuff is rubbish. I think it should also an option. For Software that does not work like Apache, JBoss or Star Citizen (The next Big thing ...). But to have the Option is freedom. And freedom we want or? Cheers Peter Am 24.04.2015 um 16:22 schrieb Marcin M.: Martin: free software is really great unless you have to pay for a place to sleep and for stuff to eat, e.g. as a univerisity student. You don't get a big revenue from donations unless you create something really big (e.g. the Whatsapp clients). And you rarely create big stuff. If you need money for such things, a payment in a store is superior to a donation method. Correct me if I'm wrong. -- Marcin 2015-04-17 0:49 GMT+02:00 Martin Kolman martin.kol...@gmail.com: Thu, 16 Apr 2015 05:27:46 + Karl Granström karl.granst...@jolla.com : Hi, We are still working hard on it but the tablet support work has been eating our resources from this area. But some good news is that we are planing to launch the donation support in Store in really near future. That's a really good news! Especially for for developers that don't want to place any artificial barriers (such as requiring a payment) between users and their applications but still want to give the users a way of showing their gratitude and helping with furter development. :) This seems to work quite nicely in the Mozilla extension repository and elsewhere, so it is really good the see it also coming to the Jolla store. :) Best Wishes Martin Kolman Br, Karl On 15 Apr 2015, at 20:06, Marcin M. marmistrz...@gmail.com wrote: Hi, Any ETA for the support for commercial apps for Sailfish? IIRC, it was the second half of 2014, :) so time long past :) Regards, -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- [image: Avast logo] http://www.avast.com/ Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. www.avast.com ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Commercial apps - when?
Hi, Any ETA for the support for commercial apps for Sailfish? IIRC, it was the second half of 2014, :) so time long past :) Regards, -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Commercial apps - when?
Thanks. And what would be the planned time for introducing paid apps? I'm not asking about the exact date but about an approximate period. Regards, -- Marcin 2015-04-16 7:27 GMT+02:00 Karl Granström karl.granst...@jolla.com: Hi, We are still working hard on it but the tablet support work has been eating our resources from this area. But some good news is that we are planing to launch the donation support in Store in really near future. Br, Karl On 15 Apr 2015, at 20:06, Marcin M. marmistrz...@gmail.com wrote: Hi, Any ETA for the support for commercial apps for Sailfish? IIRC, it was the second half of 2014, :) so time long past :) Regards, -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org