Re: [SailfishDevel] Linux desktop software on Sailfish?

2018-03-06 Thread Marcin Mielniczuk
IIRC there were some community Fremantle gtk apps, some others using libhildon. Tuner was one of them. On March 6, 2018 11:47:45 PM GMT+01:00, "Pali Rohár" wrote: >On Tuesday 06 March 2018 23:28:43 tuntematon wrote: >> 2018-03-06 22:43 GMT+01:00 Dietmar Schwertberger >: >> > On Maemo, the stand

Re: [SailfishDevel] Keep an application running without keeping the window open

2018-02-18 Thread Marcin Mielniczuk
ne, take a look at tohkbd2 . it has 2 daemons, system and > user, and ui app that all communicate together over dbus > >   > > -kimmo > >   > > *Lähettäjä:*Devel [mailto:devel-boun...@lists.sailfishos.org] > *Puolesta *Marcin Mielniczuk > *Lähetetty:* sunnuntai 18. he

Re: [SailfishDevel] Keep an application running without keeping the window open

2018-02-18 Thread Marcin Mielniczuk
> wish. Also, it would survive X11 crashes as a bonus. So, if you > plan to run it 24x7, service running on the background is a good > way of doing it. > > But maybe someone has better idea. > > Cheers, > > Rinigus > > On Sat, Feb 17, 2018 at 9:1

Re: [SailfishDevel] Keep an application running without keeping the window open

2018-02-17 Thread Marcin Mielniczuk
n between. Myself I would have used zeromq, but > you could choose probably many others. > > Cheers, > > Rinigus > > On Mon, Feb 5, 2018 at 11:17 AM, Marcin Mielniczuk > mailto:marmistrz...@gmail.com>> wrote: > > Hi, > > When creating SFOS application

[SailfishDevel] Keep an application running without keeping the window open

2018-02-05 Thread Marcin Mielniczuk
Hi, When creating SFOS applications which should run 24/7 (e.g. IMs) we would like to achieve similar behavior as the stock applications, e.g. the stock e-mail client: the sync (*) runs in the background, even though the application is closed. A window staying open just to make sure the sync goes

[SailfishDevel] [OBS] What should I do if rpmlint just crashes?

2018-01-14 Thread Marcin Mielniczuk
Hi, While trying to build newer boost on the OBS, I encountered the following problem: [ 1672s] RPMLINT report: [ 1672s] === [ 1742s] Traceback (most recent call last): [ 1742s]   File "rpmlint.py", line 371, in [ 1742s]   File "rpmlint.py", line 160, in main [ 1742s]   File "rpmlint

Re: [SailfishDevel] Increase buildspeed of the Application SDK

2018-01-08 Thread Marcin Mielniczuk
... I noticed that the problem I have described doesn't occur when using make (i.e. affects scons, doesn't affect make) On 08.01.2018 10:45, Marcin Mielniczuk wrote: > > Well, I added a second core to the MerSDK VM and then executed: > > sb2 -t SailfishOS-2.1.3.7-arm

Re: [SailfishDevel] Where did devel-su come from and what's its purpose?

2018-01-02 Thread Marcin Mielniczuk
Hi Bernd, On 13.05.2014 16:13, Bernd Wachter wrote: > Mehdi El Gueddari writes: > >> I'm been googling long and hard but haven't been able to find much >> information about the 'devel-su' command, beyond the fact that it's the >> command to use on Sailfish to switch to the root user. I also could

Re: [SailfishDevel] booster loading wrong libstdc++

2017-09-11 Thread Marcin Mielniczuk
I think it would be wise to allow blacklisting a single library from being boosted or allowing multiple library instances in booster. On 11.09.2017 10:56, rinigus wrote: > Thank you very much - worked as requested! > > Rinigus > > On Mon, Sep 11, 2017 at 11:26 AM, Andrew Penkrat

Re: [SailfishDevel] (Unit) tests for QML apps

2017-07-28 Thread Marcin Mielniczuk
+1, I've never figured it out either. I asked a similar question a long time ago but never received an answer. On July 27, 2017 1:08:26 AM GMT+02:00, Trolli Schmittlauch wrote: >Hi, > >I'm currently working on a QML only app for Sailfish and want to write >some unit tests for it. For that I'm u

Re: [SailfishDevel] SQLite linking

2017-03-04 Thread Marcin Mielniczuk
You can always use OpenRepos... On March 4, 2017 8:50:37 AM GMT+01:00, rinigus wrote: >Hi, > >one month + 10 days later - no response for PR nor SQLite linking from >Harbour / Jolla devs. Already had to ship few versions with SQLite >bundled >with application as well. I'd say its rather poor resp

Re: [SailfishDevel] Context menu of a grid view

2016-11-22 Thread Marcin Mielniczuk
activated one. > > > -- Исходное сообщение ------ > От: "Marcin Mielniczuk" > Кому: "Sailfish OS Developers" > Отправлено: 21.11.2016 20:49:46 > Тема: [SailfishDevel] Context menu of a grid view > >> Hi, >> >> In my app I show the

[SailfishDevel] Context menu of a grid view

2016-11-21 Thread Marcin Mielniczuk
Hi, In my app I show the user a grid view. It's elements should be interactive and its state can be modified. I'd like to use a context menu for this. My current approach is SilicaGridView { id: diceView Layout.preferredWidth: parent.width

Re: [SailfishDevel] Updating gcc?

2016-11-05 Thread Marcin Mielniczuk
aused in every single package containing C or C++ source. >> >> Thanks for the suggestion though, I'll have a play with newer >versions >> during this process to see the impact. >> >> Cheers, >> >> Andrew >> >> On 04/11/16 22

Re: [SailfishDevel] Documentation for mlite5

2016-11-05 Thread Marcin Mielniczuk
evelop/sdk-overview/develop-packaging-apps/ > > > > -kimmo > > > > > > *From:*Devel [mailto:devel-boun...@lists.sailfishos.org] *On Behalf Of > *Marcin Mielniczuk > *Sent:* 5. marraskuuta 2016 11:30 > *To:* Sailfish OS Developers > *Subject:* Re: [S

Re: [SailfishDevel] Documentation for mlite5

2016-11-05 Thread Marcin Mielniczuk
. +1 for docs. > > PKGCONFIG is a good way doing ir. > > In .pro > > CONFIG += link_pkgconfig sailfishapp > PKGCONFIG += mlite5 sailfishapp > > in .spec > > BuildRequires: pkgconfig(mlite5) > > -kimmo > > ---

[SailfishDevel] Updating gcc?

2016-11-04 Thread Marcin Mielniczuk
Current gcc in Mer is 4.8, which is 2 years old. Current releases (5.4, 6.1) have full support for C++14, 4.8's support for C++11 is only experimental. C++11 brought many important changes such as constexprs or simply really useful ones (auto types). It'd be great to have them in Mer. Are there a

[SailfishDevel] Unit testing Sailfish apps

2016-11-04 Thread Marcin Mielniczuk
Hi, There is this short article about unit testing in QML: https://doc.qt.io/qt-5/qtquick-qtquicktest.html I'm still puzzled about unit testing my Sailfish app. There aren't any fancy algorithms in it, most things are UI-related. An example Assume that the app does the job of showing power of nu

[SailfishDevel] Documentation for mlite5

2016-11-04 Thread Marcin Mielniczuk
Is there any online documentation regarding mlite5? I'm not really sure how I should use it in my project, whether I should include or . What is the preferred way of achieving decent linking? I found some examples using PKGCONFIG - is it the good way? There should be at least a minimal example in

Re: [SailfishDevel] Recommended replacement for a spinner?

2016-11-04 Thread Marcin Mielniczuk
This helped a lot! Thanks! Marcin On 01.11.2016 21:59, Osmo Salomaa wrote: > On 01.11.2016 21:15, Marcin Mielniczuk wrote: >> In my app I'd like to present the user a spinner to let them choose an >> arbitrary integer. >> >> What is a recommended replacemen

Re: [SailfishDevel] Persistently storing a ListModel

2016-11-04 Thread Marcin Mielniczuk
istModel anyway. Marcin On 01.11.2016 20:46, Andrey Kozhevnikov wrote: > you storing pointer to model, not model contents :) > to store model data you should recursively convert model data to > array, and vise versa. > > -- Исходное сообщение -- > От: "Marcin Mielni

[SailfishDevel] Persistently storing a ListModel

2016-11-01 Thread Marcin Mielniczuk
Hi, I'm currently using org.nemomobile.configuration to store the application settings. Now it came out it'd be beneficial to store a ListModel between runs (if a user wants it). I tried the naive approach: property ListModel myModel: modelStorage.value ConfigurationValue { id:

[SailfishDevel] Recommended replacement for a spinner?

2016-11-01 Thread Marcin Mielniczuk
Hi, In my app I'd like to present the user a spinner to let them choose an arbitrary integer. What is a recommended replacement for this in Sailfish Silica? A TextField with IntValidator? Or is there anything better? -- Marcin ___ SailfishOS.org Deve

Re: [SailfishDevel] Storing credentials safely in a python+QML app

2016-09-15 Thread Marcin Mielniczuk
I remember Harmattan uses accounts-qt framework (libaccountsetup0, libsignon0, etc.) for SSO support. Did Sailfish drop it? Marcin On 15.09.2016 15:02, J. Pablo wrote: > But the master password should be remembered by the user? What's the > difference then between this solution and just ask for

Re: [SailfishDevel] sailfishos.org seems to limit the download speed to about 160kB/s

2016-09-02 Thread Marcin Mielniczuk
So what may be the reason? I usually download stuff with my full bandwidth (~320 kB/s) Marcin On 02.09.2016 18:53, Thomas Amler wrote: I can't confirm that. Currently downloading the Windows SDK with 6MiB/s. :-) Am 02.09.2016 um 18:50 schrieb Marcin Mielniczuk: Hi, Either

[SailfishDevel] sailfishos.org seems to limit the download speed to about 160kB/s

2016-09-02 Thread Marcin Mielniczuk
Hi, Either when downloading the sb2 target for HADK or when updating the SFOS SDK the download speed oscillates between 120 and 180 kB/s. If I start two downloads from sailfishos.org (both of the above) and reach something like my maximium bandwidth (310 kB/s) Is this done on purpose? -- M

[SailfishDevel] SDK Maintenance Tool - partial upgrades?

2016-08-09 Thread Marcin Mielniczuk
Hi, Is it possible to do partial upgrades of the SailfishOS SDK? My connection's really slow (2 Mbit/s) and the Maintenance Tool doesn't seem to resume downloads. I'm able to uncheck some of the components but not all of them. Regards, -- Marcin

Re: [SailfishDevel] Using QtQuick.Layouts

2016-08-09 Thread Marcin Mielniczuk
choose Targets -> manage (next to 486); type "layout" in the new search field; check install next to "qt5-qtquickcontrols-layouts"; click install-button; wait for success message; quit QTCreator; restart it; enjoy. regards. Am 28.07.2016 um 16:39 schrieb Marcin Mielniczuk

Re: [SailfishDevel] The UI dims after removing an item from GridView

2016-08-02 Thread Marcin Mielniczuk
time you opened the context menu? I had such issues, when this was the case. regards, Michael. Am 02.08.2016 um 16:42 schrieb Marcin Mielniczuk: Hi, I created a SilicaGridView with a ContextMenu (placed in a ColumnLayout): SilicaGridView { id: myView Layout.preferredWidth: pa

[SailfishDevel] The UI dims after removing an item from GridView

2016-08-02 Thread Marcin Mielniczuk
Hi, I created a SilicaGridView with a ContextMenu (placed in a ColumnLayout): SilicaGridView { id: myView Layout.preferredWidth: parent.width Layout.fillHeight: true model: myModel cellWidth: width / gridDimension // say, gridDimension = 2 cellHeight: height / gridDime

Re: [SailfishDevel] Errors while instantiating a Dialog

2016-08-02 Thread Marcin Mielniczuk
ialog header should be used. 02 авг. 2016 г. 14:36 пользователь "Marcin Mielniczuk" mailto:marmistrz...@gmail.com>> написал: > > Hi, > > Doesn't help for me. And now the column and the header overlap. > > > On 02.08.2016 10:32, Michael Neufing w

Re: [SailfishDevel] Errors while instantiating a Dialog

2016-08-02 Thread Marcin Mielniczuk
Hi, Doesn't help for me. And now the column and the header overlap. On 02.08.2016 10:32, Michael Neufing wrote: Hi Marcin, you should not put DialogHeader into a Column but directly into the Dialog. That should solve your problem. Br, Michael Am 02.08.2016 10:29, schrieb Marcin Mieln

Re: [SailfishDevel] The SailfishOS IDE todo plugin doesn't work

2016-08-02 Thread Marcin Mielniczuk
Hi, I tried both of the modes. For me disabling and enabling the plug-in fixed the issue. Maybe the problem was that I was using the ToDo plugin with QtCreator previously...? Regards, Marcin On 31.07.2016 19:15, Martin Kampas wrote: Hi Marcin, For me it works well. Did you notice you can s

[SailfishDevel] Errors while instantiating a Dialog

2016-08-02 Thread Marcin Mielniczuk
Hi, I copied the Dialog sample code from the doc: import QtQuick 2.0 import Sailfish.Silica 1.0 Dialog { property string name Column { width: parent.width DialogHeader { } TextField { id: nameField width: parent.width placeh

[SailfishDevel] The SailfishOS IDE todo plugin doesn't work

2016-07-31 Thread Marcin Mielniczuk
Hi, I enabled the TODO plugin in the settings. Unfortunately, no TODO entries are displayed. Do you have an idea why? -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Marcin Mielniczuk
no warnings in the editor) On 28.07.2016 14:08, Michael Fuchs wrote: Hi, either you install the required package (I guess qt5-qtquickcontrols-layouts) manually via ssh, or you put the dependency in the spec file and deploy the rpm, then it will get installed automatically. regards, Michael. Am 28

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Marcin Mielniczuk
8, Michael Fuchs wrote: Hi, either you install the required package (I guess qt5-qtquickcontrols-layouts) manually via ssh, or you put the dependency in the spec file and deploy the rpm, then it will get installed automatically. regards, Michael. Am 28.07.2016 um 13:18 schrieb Marcin Mieln

[SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Marcin Mielniczuk
Hi, I'm working on a Sailfish app. I want to use a ColumnLayout instead of a Column to take advantage of convienience properties such as Layout.fillHeight. For some reason the QML import QtQuick.Layouts is missing from mersdk/targets/SailfishOS-i486/usr/lib/qt5/qml. On the other hand, the c

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-24 Thread Marcin Mielniczuk
dapter was unticked after a clean install. Checking those boxes fixed the issue Regards, Lewis Rockliffe On Thu, Jul 21, 2016 at 8:24 AM, Marcin Mielniczuk mailto:marmistrz...@gmail.com>> wrote: Hi, I tried zyppering the package, but Error code: connection failed Error m

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-21 Thread Marcin Mielniczuk
Hi, I tried zyppering the package, but Error code: connection failed Error message: Couldn't resolve host: 'releases.jolla.com' $ ping 8.8.8.8 connect: Network is unreachable So I have no networking inside the VM. Last upgrade was a couple of days ago, next will be today. I did reboot ;) The

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-20 Thread Marcin Mielniczuk
Hi, sshd is not running at all. The output of `systemctl --failed`, `systemctl status statefs`, `systemctl status sshd` On 18.07.2016 16:27, Martin Kampas wrote: Hi Marcin, Could you check SSH logs on the VM side? For that purpose please start the MerSDK VM directly from VirtualBox and q

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-19 Thread Marcin Mielniczuk
Hi, As root the logs are empty (only a message: logs begin at ... end at ...) On 19.07.2016 10:22, Martin Kampas wrote: Hi Marcin, > Before and after: No journal files were found. Did you run it as root? BR, Martin -- Marcin ___ SailfishOS.org

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-19 Thread Marcin Mielniczuk
Before and after: No journal files were found. On 19.07.2016 05:39, Martin Kampas wrote: Hi Marcin, Simply move the -b switch to the very end of the command line: `journalctl _COMM=sshd -b` so that it does not treat "_COMM=sshd" as an argument to it. BR, Martin -- Marcin

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-18 Thread Marcin Mielniczuk
I have a weird thing. running `journalctl -b _COMM=sshd` yields Failed to parse relative boot ID number '_COMM=sshd" On 18.07.2016 16:27, Martin Kampas wrote: Hi Marcin, Could you check SSH logs on the VM side? For that purpose please start the MerSDK VM directly from VirtualBox and quit Qt C

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-18 Thread Marcin Mielniczuk
Hi, I didn't install AppArmor, SELinux or a firewall manually. I had an Ubuntu live iso, installed openssh added a port forwarding on adapter 1 (NAT): protocol: TCP, host IP: 127.0.0.1, host port: 2224, guest IP: left blank, guest port 22 Then I connected: ssh -p 2224 ubuntu@localhost and I

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-18 Thread Marcin Mielniczuk
Hi, Thanks. I tried it and: [09:48:13] marcin@arch /home/marcin (0) > ssh -i ~/devel/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Emulator/root -p 2223 root@localhost -o StrictHostKeyChecking=no ssh_exchange_identification: read: Connection reset by peer [09:50:36] marcin@

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-17 Thread Marcin Mielniczuk
I guess I tried again once or twice, with the same result. Then gave up. Basically the emulator shows up after ~5 seconds but the SDK can't connect to it. On Mon Jul 18 08:29:21 2016 Martin Kampas wrote: > Hi Marcin, > > > Anyway, the SDK reported a timeout and asked whether I want to try > >

Re: [SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-17 Thread Marcin Mielniczuk
Nope, doesn't work for the Emulator (haven't checked for the mersdk) On 17.07.2016 17:21, Michael Fuchs wrote: Maybe this one helps? https://together.jolla.com/question/137948/howto-virtualbox-io-error/ cheers, Michael. On Sonntag, 17. Juli 2016 12:56:25 CEST Marcin Mielniczuk wrot

[SailfishDevel] Timeout of MerSDK and the Emulator

2016-07-17 Thread Marcin Mielniczuk
Hi, I installed the SailfishOSSDK-Beta-1602-Qt5-linux-64-offline.run on my Arch Linux. I'm using Virtualbox 5.1, uname -a is: Linux arch 4.4.15-1-lts #1 SMP Mon Jul 11 20:46:47 CEST 2016 x86_64 GNU/Linux I created a sample project and ran the SailfishOS emulator. Within 30 seconds the emulator w

Re: [SailfishDevel] Neo900 support

2015-04-09 Thread Marcin Mielniczuk
Schifano: and what about Android apps on N900? There was a project, now dead, aiming to bring them to N900 via chroot (driven by lexik) but went not far from the theoretical stage. There are some clues though about the needed kernel modules and some posts about the partial progress. It's a good

Re: [SailfishDevel] SailfishOS SDK in /opt

2014-01-01 Thread Marcin Mielniczuk
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 E

Re: [SailfishDevel] If this list even used?

2013-09-30 Thread Marcin Mielniczuk
iirc using inboxalias.com address. -- Marcin 2013/9/30 FIlip Kłębczyk > W dniu 30.09.2013 17:24, Marcin Mielniczuk pisze: > > Guess he doesn't get anything like me some time ago. >> > > Do you have an idea what was it in your case? I mean the reason why

Re: [SailfishDevel] If this list even used?

2013-09-30 Thread Marcin Mielniczuk
Guess he doesn't get anything like me some time ago. -- Marcin 2013/9/30 Jukka Eklund > +1 :) > > > > On Mon, Sep 30, 2013 at 11:21 AM, Benoît HERVIER wrote: > >> >> >> Le 2013-09-30 10:11, Nathan a écrit : >> >> Where's the activity? WTF. >>> __**_

Re: [SailfishDevel] Application always active

2013-09-23 Thread Marcin Mielniczuk
Hi, Thanks BR -- Marcin 2013/9/22 Robin Burchell > Hi, > > > On 22. sep. 2013, at 13:19, Marcin Mielniczuk > wrote: > > I'm trying to utilze ApplicationWindow.applicationActive to set the > cover text. But the onApplicationActiveChanged signal isn't em

[SailfishDevel] Application always active

2013-09-22 Thread Marcin Mielniczuk
Hello, I'm trying to utilze ApplicationWindow.applicationActive to set the cover text. But the onApplicationActiveChanged signal isn't emitted, and the applicationActive property is always true. (When I used an cover action logging the applicationActive property, it was printed as true, even thoug

[SailfishDevel] Found a bug

2013-09-11 Thread Marcin Mielniczuk
Look here for more info: http://stackoverflow.com/questions/18597527/c-types-destructor-not-called-in-qml -- Marcin ___ SailfishOS.org Devel mailing list

[SailfishDevel] Destructor of an QObject-derived class not executed

2013-09-05 Thread Marcin Mielniczuk
Hi, I'm creating an app with Sailfish Silica. My code looks like that. settings.h: > class Settings : public QSettings{ > Q_OBJECT > /**/public: > explicit Settings() : QSettings("Marcin Mielniczuk", "BigText") {} > ~Settings() { qDebug() &