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 harbour store listing

[SailfishDevel] VirtualBox issue in the SDK on OS-X and how to solve

2015-08-29 Thread Martin Grimme
Hi, after having updated to VirtualBox 4.3.30 on OS-X, I found that I was no longer able to start the SDK VMs in Qt Creator, and Qt Creator told me "No virtual machine with the name 'MerSDK' found. Check your installation." This happens when you launch Qt Creator from the dock, and not from term

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 : > s

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

2015-05-03 Thread MARTIN GRIMME
;certainly didn't have more RAM to work with. > >Sunday, May 3, 2015 7:56 AM E.S. Rosenberg wrote: >> Also note that if you skew it too much in favor of yourself the system may >> end up killing genuinely important system processes instead of your daemon, >> no user will be

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 : > 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 in the system .service

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 > applic

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 pr

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 : > 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 > implement

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 pac

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 : > ??? > > 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: >> Hi, >> >> you

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 connec

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 : > Hi, all > I am developing cli

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Martin Grimme
2014-01-26, Gabriel Böhme : > 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 are still YOUR contacts? Have

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

2014-01-21 Thread Martin Grimme
Hi 2014/1/21, kaa : > [...] 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 Extras Devel i

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 Applications Bug Tracking

2014-01-19 Thread Martin Grimme
Hi, 2014/1/19, Hannes Rantzsch : > 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 _

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 : > I half suspected that ... but you use a very different avatar over there... > > Zitat von "Martin Grimme" : > >> Hi Chris, >> &

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 : > 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 ___ SailfishOS.org

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

2014-01-09 Thread martin . grimme
Hi, those who experience their Jolla crashing out of the blue, can you please elaborate, to see if we're in the same boat? Did it switch off all of a sudden? Because I'm experiencing this repeatedly. I begin to see a pattern in my switch offs. Heavy network traffic on forced 2G in the western

Re: [SailfishDevel] Zypper and PackageKit

2014-01-04 Thread Martin Grimme
Hi, 2014/1/4, Andrey Kozhevnikov : > 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

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] [Update] Changelog for SailfishOS update 2 (1.0.2.5)

2013-12-27 Thread Martin Grimme
: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. >> > >

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 : > 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
Actually the other way round. jolla-settings-accounts was updated but store was not. Did you try to update a Jolla app before rebooting? Martin 2013/12/27, Martin Grimme : > Ouch, this looks like a partial update. Store was updated, but some > sign in library was not. > I wonder how

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 : > It'd appear that store authentication isn't working, as it's

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 : > Hi, > After local install I get: > > [nemo@localhost ~]$ pkcon -v install-local checklists-1.0.1-1.armv7hl.rpm >

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) : > 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 lots of co

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] network statistics for sailfish

2013-12-16 Thread Martin Grimme
2013/12/16, W. Dobbe : > 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 much Linux as iOS is BSD.

Re: [SailfishDevel] working on apps?

2013-12-14 Thread Martin Grimme
A two-paned file manager. Cheers, Martin Am 14.12.2013 12:45 schrieb : > BitPurse : Bitcoin client > ownNotes : notes taking apps with ownCloud apps. > > Regards > > -- > Benoît HERVIER - http://khertan.netLe 14/12/13 11:41 AL13N a écrit : > if there are people who are working on apps, and want

Re: [SailfishDevel] Link in Text component

2013-11-10 Thread Martin Grimme
Hi, 2013/11/10, Tigre-Bleu : > If a link is displayed in a Text component with html, it is displayed > underlined with an ugly blue from the old internet ages... You're right. It looks really ugly, and probably comes from the depths of Qt. However, you can use rich text in Text or Label to fix th

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread Martin Grimme
in the first place (to regular users; I'm not talking about Linux geeks here). Martin > > -- > Marcin > > > 2013/11/6 Marcin M. > >> If everything handled correctly (assuming no 3rd party lib updates) what >> bad can happen? >> >> -- >>

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread Martin Grimme
Hi, 2013/11/6, 郭云鹤 : > 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 O

Re: [SailfishDevel] SearchField and focus

2013-08-08 Thread Martin Grimme
Hi, I had exactly the same problem. My solution was to define the SearchField _outside_ the list view, like this: SilicaListView { id: listview ... header: Item { // This is just a placeholder for the header box. To avoid the // list view resetting the input box ever

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 the

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 t

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 : > Hi All > > I am surprised this has not

Re: [SailfishDevel] Why does sailfishapplication.cpp contain conditional preprocessor statements for desktop?

2013-05-05 Thread Martin Grimme
Well, you have to run app->exec(); at the end of the main function. Otherwise, it just returns and exits the program. :) Martin 2013/5/5, Superpelican : > Well I decided to try it myself and it seems that that desktop support > is needed to be able to deploy/run your app on the SailfishOS emu

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 Harm

Re: [SailfishDevel] Qt.labs.particles not installed

2013-04-20 Thread Martin Grimme
://qt-project.org/forums/viewthread/62 > > it point out should install 'libqt4-declarative-particles' > > How to installed libqt4-declarative-particles? > i didn't find this lib in SDK Control Center. > > > 于 2013年04月20日 18:33, Martin Grimme 写道: >> Hi, >

Re: [SailfishDevel] Qt.labs.particles not installed

2013-04-20 Thread Martin Grimme
Hi, Sailfish does not support Qt 5 at the moment, so you should use the SameGame example code from Qt 4.8 instead. Particles are supported by the particle extension libqtdeclarative4-particles. Martin 2013/4/20, thuai : > I'm tring to port the 'samegame' which is a example of qml, you can find

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

2013-04-14 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
ice >>> test went fine. Tried to restart QtCreator several times, and also >>> re-recorded the outputs of the VBoxManage commands, but no help there. >>> Any tips to share, or should I start the rubberhose debugging now? :) >>> >>> - Saija >>> >&

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

2013-03-04 Thread martin . grimme
e debugging now? :) - Saija Lähetetty iPadista "Saija Eteläniemi" kirjoitti 4.3.2013 kello 21.33: > Thanks, > > Silly me, back to the drawing board then. I'll save the VBoxManage outputs > again, to make sure they are correct, and see if I manage to fix the problem. >

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 p

Re: [SailfishDevel] Menus in Long ListViews

2013-03-02 Thread Martin Grimme
Hi, one solution I that comes to my mind would be to overlay an "Add" IconButton over the list view, e.g. in the upper right corner. The SilicaListView would still occupy the whole page, but the button takes input precedence in that corner since it's rendered above. Martin 2013/3/2, Ruediger G

[SailfishDevel] Howto: Sailfish SDK in Virtual Machines on Mac OS-X

2013-02-28 Thread Martin Grimme
Hi all, I would like to share my setup of how I managed to run the Sailfish SDK on Mac OS-X. While you could of course run the SDK virtual machine inside a Linux virtual machine, this would be terribly slow. Instead, you want to run all three virtual machines, Linux, MerSDK, SailfishOS Emulator di