Re: [SailfishDevel] Image scaling in Label with StyledText format

2016-07-05 Thread Martin Grimme
Hi, you can add an inline style sheet that uses the current theme colors for rich text. I'm doing the same in my Tidings app for the Silica-styled view of the article pages. Then stuff like links look fine. Cheers, Martin Am Di. Juli 5 11:01:47 2016 GMT+0200 schrieb Oleg Linkin: > There is a

Re: [SailfishDevel] How to require an exact sailfish version in rpm?

2015-10-23 Thread Martin Grimme
Hi, depending on the used libraries, Harbour tries to detect the required OS version automatically. But you can also select it manually if Harbour's guess doesn't look good to you. Martin 2015-10-23 12:50 GMT+02:00, Adam Pigg : > You can also specify the is version in the

Re: [SailfishDevel] Shell command to enable/disable Developer mode

2015-07-07 Thread Martin Grimme
Hi, developer mode is not a switch, but the action of installing a few packages, or uninstalling them again. It could be done on the command line with pkcon as root. Just have to check which packages these are, as I don't remember. :) Martin 2015-07-07 21:26 GMT+02:00, Andrey Kozhevnikov

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread Martin Grimme
Hi, 2015-05-03 13:09 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com: afaik it only closing propcesses with windows, no? No, it is the Linux OOM handler, which does not care or know about what a Wayland window is. If your daemon is invoked as a systemd service, you can adjust the OOMScore

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread MARTIN GRIMME
14:43 GMT+03:00 Martin Grimme martin.gri...@gmail.com: Hi, 2015-05-03 13:09 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com: afaik it only closing propcesses with windows, no? No, it is the Linux OOM handler, which does not care or know about what a Wayland window is. If your daemon

Re: [SailfishDevel] Upcoming behavioural change with how graphics resources are handled.

2014-10-02 Thread martin . grimme
Hi, Am Thu Oct 02 2014 08:56:53 GMT+0200 (CEST) schrieb Iosif Hamlatzis: Reading all these and previous similar changes I was wondering why other mobile platforms don't have this issue? If I'm not mistaken in no other mobile platform the developer has to take into account if his/her

Re: [SailfishDevel] Platform icons

2014-08-04 Thread martin . grimme
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

Re: [SailfishDevel] App rejected...

2014-04-28 Thread martin . grimme
Hi, Am Mon Apr 28 2014 23:11:58 GMT+0200 (CEST) schrieb Peter Pykäläinen: Thank you for you response. Unfortunately no, since I need to show info on the cover. I think, for just showing info on the cover, giving the CPU sleep deprivation is overkill. You can make the timer's running

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

2014-04-24 Thread Martin Grimme
Hi, 2014-04-24 13:05 GMT+02:00, Mikael Hermansson m...@7b4.se: But about payment how to avoid pirate copying? Would Jolla be responsible if your work is pirated since SailfishOS has no copy protection because of its nature of open platform. Would endusers stop use Jolla if they start

Re: [SailfishDevel] Exactly every second installation attempt fails with Failed to cache rpm database

2014-04-02 Thread martin . grimme
Hi, Am Thu Apr 03 2014 00:26:39 GMT+0200 (CEST) schrieb Artem Marchenko: Exactly every second installation attempt to my device (from Qt Creator) fails with the Failed to cache rpm database error: Status: Resolving dependencies Status: Installing packages Status: Downloading packages

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-25 Thread martin . grimme
Hi, you should set the context property after loading the QML source. Then it ought to be available from QML. Martin Am Tue Feb 25 2014 15:06:39 GMT+0100 (CET) schrieb antonio.cano.go...@ovi.com: Hi, I am trying to do a simple Sailfish aplication that uses a c++ library. I try to connect

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-25 Thread Martin Grimme
2014-02-25 16:39 GMT+01:00, Andrey Kozhevnikov coderusin...@gmail.com: ??? contextProperty should be set BEFORE loading QML source. You're right, sorry! I must have confused something. I shouldn't answer mails while on train. :) Martin On 25.02.2014 21:33, martin.gri...@gmail.com wrote:

Re: [SailfishDevel] oauth authorization for application

2014-02-14 Thread Martin Grimme
Hi, the way I'm doing it in Cargo Dock for Dropbox is basically having the SilicaWebview watch the uri property and react to it in the onUriChanged signal handler, if the redirect_uri matches the one I'm expecting. Martin 2014-02-14 9:32 GMT+01:00, Oleg Linkin maledictusdema...@gmail.com:

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Martin Grimme
2014-01-26, Gabriel Böhme m.gabrielboe...@googlemail.com: So Jolla get's punishment, because a user want's to use HIS Contacts, because they are fetched from 3rd party service, the user put HIS contacts?! - Wow strange. What makes you think that the contacts you sync from a 3rd party service

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Martin Grimme
Hi 2014/1/21, kaa k...@iol.cz: [...] Crap [...] Bla, bla , bla .. FUD .. bla bla bla [...] LOL [...] bullshit [...] Howgh [...] Thank you for valuable feedback. :) IMHO, it makes sense to have both, Harbour and OpenRepos. You can compare those in their function to Maemo Extras and Maemo

Re: [SailfishDevel] Jolla Applications Bug Tracking

2014-01-19 Thread Martin Grimme
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

Re: [SailfishDevel] Status menu?

2014-01-19 Thread martin . grimme
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. :)

Re: [SailfishDevel] Jolla Phone crashes with no mobile network available

2014-01-09 Thread Martin Grimme
Hi Chris, 2014/1/9, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: There is a comment indicating cell-tower as a cause in: https://together.jolla.com/question/7144/jolla-randomly-shuts-down/ Yes, I know, because I wrote this comment. ;) Martin

Re: [SailfishDevel] Jolla Phone crashes with no mobile network available

2014-01-09 Thread Martin Grimme
Well, I'm not using an avatar neither here nor there, so the sites pick some default. 2014/1/9, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: I half suspected that ... but you use a very different avatar over there... Zitat von Martin Grimme martin.gri...@gmail.com: Hi Chris

Re: [SailfishDevel] Zypper and PackageKit

2014-01-04 Thread Martin Grimme
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.

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)

2013-12-27 Thread Martin Grimme
Ouch, this looks like a partial update. Store was updated, but some sign in library was not. I wonder how this can happen. Can you check in Terminal what version of jolla-settings-accounts you have? Martin 2013/12/27, Mike Sheldon m...@mikeasoft.com: It'd appear that store authentication isn't

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)

2013-12-27 Thread Martin Grimme
You're right. Those apps should not be updatable before updating the OS. I think you can revive your store-client by updating the store-client package and then doing a pkill store-client. Martin 2013/12/27, Mike Sheldon m...@mikeasoft.com: On Fri, 2013-12-27 at 16:35 +0100, Martin Grimme

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)

2013-12-27 Thread Martin Grimme
-12-27 at 16:01 +, Mike Sheldon wrote: On Fri, 2013-12-27 at 15:58 +, Mike Sheldon wrote: On Fri, 2013-12-27 at 16:44 +0100, Martin Grimme wrote: You're right. Those apps should not be updatable before updating the OS. I think you can revive your store-client by updating

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)

2013-12-27 Thread Martin Grimme
You can force-check from Settings - About. This does a forced check already. Probably you don't see any update (I don't see one either) because the servers are jammed. If you updated Jolla E-Mail already today, I suggest you leave the store UI open, until you can do the OS update. Or you may risk

Re: [SailfishDevel] missing libc.so.6 on Jolla (again)

2013-12-22 Thread Martin Grimme
Hi, this happens if x86 binaries end up in the ARM package. Be sure to clean up your build environment first before building the package for ARM. Martin 2013/12/22, Wim de Vries wsvr...@xs4all.nl: Hi, After local install I get: [nemo@localhost ~]$ pkcon -v install-local

Re: [SailfishDevel] Harbour news

2013-12-18 Thread Martin Grimme
Hi, my question is similar, but not library-related. What about stock icons (those from /usr/share/theme/jolla-ambient/icons/ that you can use with image://theme/ URIs) ? I'm developing an app that for the Sailfish look feel would like to make heavy use of them. Are there restrictions? For now

Re: [SailfishDevel] State is persistent when I come back to a page, how to avoid this ?

2013-12-18 Thread Martin Grimme
Hi, 2013/12/18, Franck Routier (perso) a...@mecadu.org: As to understanding why the card state persists, do you have any pointer to readings that would enlighten me ?? It's a page stack, so the pages below the current page are still existing in memory (you should be aware of that if you stack

Re: [SailfishDevel] network statistics for sailfish

2013-12-16 Thread Martin Grimme
2013/12/16, W. Dobbe winfried.do...@xmsnet.nl: Probably that will be the end conclusion, but Android is also Linux, so how do the Android network monitor apps get their information? Does the android stack/Dalvik give extra hooks for network inspection ? Android is not Linux. Android is as

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread Martin Grimme
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

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread Martin Grimme
it in the first place (to regular users; I'm not talking about Linux geeks here). Martin -- 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

Re: [SailfishDevel] Alpha 2: passing simple properties from main.cpp to qml

2013-08-04 Thread Martin Grimme
Hi, you don't want to set the context property on the QmlApplicationViewer, which was dead Nokia code to target Symbian and Harmattan, anyway. QmlApplicationViewer was derived from QmlView, where it got the rootContext() method from. With Qt5, QmlView was renamed to QQuickView. And when using

Re: [SailfishDevel] Building with the SDK without QtC

2013-07-27 Thread Martin Grimme
Hi, you can log into the Mer SDK VM via ssh as user mersdk and run sb2 /bin/bash to log into Scratchbox. There you can develop with vim on a terminal. There should also be some SDK magic available to deploy to the emulator as QtCreator is doing ssh into the Mer SDK VM as well, but I don't know

Re: [SailfishDevel] Sailfish Screwy Easter Egg

2013-06-02 Thread Martin Grimme
Hi, you can also view the code of this demo by opening Sailfish Silica Component from the examples in Qt Creator. It goes a bit beyond what's documented in the Silica documentation, so it's quite useful. Martin 2013/6/2, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: Hi All I am

Re: [SailfishDevel] Is it worth it to use the Sailfish namespace functions/functions defined in sailfishapplicatoin.cpp instead of creating a QML/QtQuick application the default way?

2013-05-05 Thread Martin Grimme
Hi, the MDeclarativeCache used by sailfishapplication.cpp is supposed to give you a boost at application startup. Besides that sailfishapplication.cpp contains a few more optimizations (e.g. rendering flags for the graphics view). Its purpose is about the same as the qmlapplicationviewer from

Re: [SailfishDevel] no c++ in Sailfish?

2013-04-15 Thread martin . grimme
Hi, Qt Quick in general allows to be extended by C++ and interact with C++ code. So there's restriction of what you can do with it. Of course, if you don't need a GUI, you could do plain C++ as well. You could also write your GUI in C++ on Sailfish, but that's not the recommended way. Martin

Re: [SailfishDevel] Cannot change SSH port in QtCreator for a device(?)

2013-03-05 Thread Martin Grimme
they are correct, and see if I manage to fix the problem. - Saija Lähetetty iPadista Martin Grimme setel...@live.com kirjoitti 4.3.2013 kello 21.23: Hi, the ports in use are and 2223 for ssh, and 1 up to 10019 (depends on how many are needed) for debugging. Port 65535

Re: [SailfishDevel] Cannot change SSH port in QtCreator for a device(?)

2013-03-04 Thread Martin Grimme
Hi, the ports in use are and 2223 for ssh, and 1 up to 10019 (depends on how many are needed) for debugging. Port 65535 is not a valid port and should not be tunneled. QtCreator shows this port when it cannot query the virtual machine for port information for some reason. So if you see