Sunday, 2013-12-22

*** Almehdin has joined #sailfishos00:04
*** Almehdin has quit IRC00:06
*** Almehdin has joined #sailfishos00:06
*** Eismann has quit IRC00:07
*** Almehdin has joined #sailfishos00:07
*** AlmAck has quit IRC00:08
*** Almehdin has joined #sailfishos00:10
*** Almehdin has quit IRC00:11
*** cvp has quit IRC00:12
*** Almehdin has joined #sailfishos00:14
*** Almehdin has joined #sailfishos00:15
*** Almehdin has joined #sailfishos00:16
*** Almehdin has quit IRC00:16
*** Almehdin has joined #sailfishos00:17
*** Almehdin has quit IRC00:17
*** Almehdin has joined #sailfishos00:19
*** Almehdin has quit IRC00:20
*** a3Dman has joined #sailfishos00:26
*** amizraa has joined #sailfishos00:34
*** jjanvier has quit IRC00:34
*** a3Dman has quit IRC00:38
*** artemma has joined #sailfishos00:38
*** arcean has quit IRC00:45
*** matt_1979 has quit IRC00:57
*** lbt has joined #sailfishos00:59
*** qqK has quit IRC01:02
*** Hypn0- has quit IRC01:03
*** M4rtinK has quit IRC01:04
*** triggerhappy has joined #sailfishos01:17
*** pixraider_ has quit IRC01:23
*** rlinfati has joined #sailfishos01:41
*** xcv_ has quit IRC01:46
*** freedomrun has quit IRC01:48
*** freedomrun has joined #sailfishos02:02
*** lollo2 has quit IRC02:02
*** Hurrian has quit IRC02:11
*** Morpog_ has joined #sailfishos02:14
*** Morpog_Mobile has quit IRC02:17
*** Morpog_PC has quit IRC02:17
*** javispedro has quit IRC02:25
*** mfulz has quit IRC02:50
*** Hurrian has joined #sailfishos03:34
*** artemma has quit IRC03:50
*** mike7b4_on_x230 has quit IRC03:55
*** furikku has joined #sailfishos04:00
*** dhbiker has joined #sailfishos04:26
*** datagutt has quit IRC04:40
*** Morpog_Mobile has joined #sailfishos06:04
*** lbt has quit IRC06:22
*** lbt has joined #sailfishos06:23
*** dhbiker has quit IRC06:32
*** itbaron has joined #sailfishos06:57
*** tortoisedoc_ has joined #sailfishos07:01
tortoisedoc_sailors ahoi!07:01
situCan anyone give me link to source code of an app which was accepted in harbour ? Need a sample project which follows guidelines explained in
tortoisedoc_could someone explain the use of hte CATEGORY window property in detail?07:13
*** coolmouse has joined #sailfishos07:27
*** coolmouse has quit IRC07:33
*** freedomrun has quit IRC07:48
*** PPaFin has joined #sailfishos07:54
*** freedomrun has joined #sailfishos08:02
*** tortoisedoc_ has quit IRC08:08
*** miksuh has joined #sailfishos08:19
*** tomyri has quit IRC08:20
zuhsitu: you'll probably want to look at
situzuh: Thanks! Will have a look at it.08:26
*** Superpelican_ has joined #sailfishos08:30
*** MFaro-Tusino has left #sailfishos08:35
*** PPaFin has quit IRC08:43
*** tomyri has joined #sailfishos08:48
*** freedomrun has quit IRC09:00
*** pixel2 has joined #sailfishos09:08
*** Superpelican_ has quit IRC09:11
*** freedomrun has joined #sailfishos09:12
*** fk_lx has joined #sailfishos09:14
*** dhbiker has joined #sailfishos09:18
*** flyapen has joined #sailfishos09:40
*** qwazix_ has joined #sailfishos09:41
*** jjanvier has joined #sailfishos09:43
*** jjanvier_ has joined #sailfishos09:47
*** jjanvier has quit IRC09:48
*** flyapen has quit IRC09:51
*** flyapen has joined #sailfishos09:52
*** Pat_o has quit IRC09:54
*** pixel2 has quit IRC09:54
*** beford has quit IRC09:58
*** Venemo has joined #sailfishos10:00
*** a3Dman has joined #sailfishos10:02
*** AlmAck has joined #sailfishos10:02
*** disharmonic has joined #sailfishos10:03
*** Pat_o has joined #sailfishos10:08
*** c0ck4m0u53 has joined #sailfishos10:08
*** pixraider has joined #sailfishos10:09
*** a3Dman has quit IRC10:10
*** a3Dman has joined #sailfishos10:11
*** Eismann has joined #sailfishos10:11
*** a3Dman has quit IRC10:11
*** jabbounet has joined #sailfishos10:11
*** artemma has joined #sailfishos10:12
*** flyapen has quit IRC10:16
*** a3Dman has joined #sailfishos10:16
*** a3Dman has quit IRC10:20
*** KangOl has joined #sailfishos10:23
*** artemma has quit IRC10:39
*** Superpelican_ has joined #sailfishos10:40
*** artemma has joined #sailfishos10:41
FryeAnyone here know a relatively good solution for storing game scores online?10:42
FryeEverything that I have been considering seems to be too easy to manipulate10:43
walokrayour own backend server? :)10:43
Fryewell yeah10:44
Superpelican_you could use Node.js :)10:44
FryeBut if it is a push of name & score in any form one can just send whatever scores they like10:44
Superpelican_maybe you can use some kind of hash10:44
Superpelican_or key10:44
FryeSo there needs to be some kind of verification mechanism on the backend and relevant data included10:44
jake9xxor access token10:44
jake9xxw/o token - no access10:45
jake9xxand make sure your php is sealed for sql injections10:45
Fryeyeah, but if one has the handset with token he can relatively easily extract it10:45
jake9xxphp-site of course10:45
FryeI run no php :D10:45
FryeToo long history with perl...10:45
jake9xxI'd set up a virtual server and run php, sqlite and work from there10:46
FryeI just know 0 php.10:47
FryeSo I'm up faster with either perl or python10:47
Superpelican_well I recently tried a bit of Node.js, just out of curiousity10:48
Superpelican_and I think it was really simple10:48
*** RoKenn has joined #sailfishos10:48
Superpelican_I can dig a bit in my FF history10:49
Superpelican_that tutorial must still be in there10:49
Superpelican_that was what I followed10:50
FryeOk, I'll take a look at it.10:51
Superpelican_I created a little web server that showed the uptime of my computer :)10:51
Superpelican_It's really very simple10:51
*** spider-mario has joined #sailfishos10:51
tbrI think the data transfer is not the problem10:51
FryeMy biggest worry is not really the language bit. I'm sure it can be made to work with any. But the way to verify that the incoming result is from an actual game10:51
tbrit might help to e.g. work base on hashes that are confirming game progress10:51
Fryetbr, exactly10:52
FryeSomething like that10:52
tbrsomething that can not be predetermined unless you actually play the game10:52
FryeOr maybe in case of samegame just store the initial board and the clicks10:52
Fryeand replay the game on server10:52
Superpelican_it was pretty fun to do10:52
Fryehowever that could still be exploited10:52
Superpelican_And now I've written a little HTML5 Canvas/JS snake clone:
Superpelican_So I maybe I could write a little multiplayer/score server using Socket.IO/WebSockets :)10:53
FryeI have a server ready that could host the high scores database10:54
FryeJust need to think it more over the holidays10:54
FryeAnyway now I'm off for few hours.10:54
*** artemma has quit IRC10:55
Superpelican_lbt: Isn't scp'ing to the Sailfish Emulator supposed to work?10:59
Superpelican_lbt: I'm using exactly the same port and password as with ssh10:59
tuukkahscp has different command line options, -p vs. -P i think11:01
jake9xxyes, that's nasty11:03
jake9xxand in some setups you need to have scp -P .. as the first parameter11:03
*** Superpelican_ has quit IRC11:03
*** Superpelican_ has joined #sailfishos11:04
Superpelican_tuukkah: Thanks! :)11:04
Superpelican_that was it11:04
tuukkahbetter create a .ssh/config with aliases for sdk, emulator and phone11:04
Superpelican_I installed lbt's screenshot app11:05
Superpelican_but it doesn't show up in the app drawer11:06
Superpelican_I'm trying to create 960*540 screenshots for my app to submit it to the Harbour11:06
tbrtry the one by fk_lx then11:06
*** RoKenn has quit IRC11:08
*** zhxt has joined #sailfishos11:11
*** Superpelican_ has quit IRC11:12
*** lollo2 has joined #sailfishos11:20
*** Pat_o has quit IRC11:21
*** Almehdin has joined #sailfishos11:26
*** jupaja has joined #sailfishos11:27
*** vegai has joined #sailfishos11:27
*** Almehdin has quit IRC11:28
tuukkahhere's my ssh/scp convenience settings:
tuukkahthe only part i don't like is having to hardcode the ip address of the phone. has anyone tested setting the hostname of the phone and whether that creates a usable dns entry via dhcp and zeroconf?11:31
*** lollo2 has quit IRC11:34
*** lollo2 has joined #sailfishos11:35
tbrtuukkah: I'd use an IPv6 link local address, problem is that those are interface specific on your dev machine, so would be different for ...%eth0 and ...%wlan011:37
*** hardcodes has joined #sailfishos11:38
tuukkahumm, how do i check the ipv6 address of the phone? no ifconfig or ip command11:38
Nicd-ip  addr11:39
tuukkahip: command not found11:39
Nicd-hmm, maybe you need to install some tools11:40
Nicd-there was a mer tools package but I don't remember the name11:40
tuukkahmakes for difficult tutorials :-/11:40
*** Pat_o has joined #sailfishos11:42
tuukkahhmm, the wlan mac addr i can get from gui, and the link addr from laptop. would combining those give me the phone link-local address?11:44
*** M4rtinK has joined #sailfishos11:48
Nicd-tuukkah: you can try 'ssu ar mer-tools'11:49
Nicd-it might have ip11:49
Nicd-at least you can install less after that11:49
*** jupaja has quit IRC11:49
Pnuuthat more is a weird choice..11:50
tuukkahNicd-, hmm, that command didn't do anything except print this: [D] NetworkService::setPath:447 - void NetworkService::setPath(const QString&) "Method "GetProperties" with signature "" on interface "net.connman.Service" doesn't exist11:50
Nicd-well, dunno then11:51
*** c0ck4m0u53 has quit IRC11:51
*** AlmAck has quit IRC11:52
*** AlmAck has joined #sailfishos11:53
*** matt_1979 has joined #sailfishos11:54
*** winfriedd has joined #sailfishos11:54
*** qwazix_ has quit IRC11:59
tbrtuukkah: /sbin/ifconfig12:03
tuukkahouch, why is /sbin not in my PATH although /usr/sbin is...12:11
*** Pat_o has quit IRC12:13
jabbounethi tuukkah, is it with you I had a discusion about pull/push menu in long list, if yes I've an Idea that will neither break closing app shortcut nor usual scrolling. the idea is let normal list scrolling when swipping from center of screen, and pull/push when swipping down or up from a border (left or right).12:13
tuukkahtbr, how is this supposed to work? i have the laptop and the phone on the same wlan, but their ipv6 addresses are completely separate and i'm not able to connect using them12:14
*** Superpelican_ has joined #sailfishos12:15
M4rtinKjabbounet: or what about having a header ?12:16
M4rtinKjabbounet: swiping down from the header would open the pulley menu12:16
M4rtinKjabbounet: and the header could show current mail folder name, etc.12:17
PnuuM4rtinK: best idea so far :-)12:17
tuukkahjabbounet, yes, i remember the discussion. adding meaning to the horizontal starting location of the swipe sounds like it might be very difficult for users to grasp12:17
M4rtinKimho would be quite understandable - header & that pulley effect - can activate pulley menu12:18
M4rtinKlist view under that - panning there moves the items12:18
jabbounetM4rtinK, is this header take some part of visible screen, if yes we loose some advantage of pull menu to take screen place only when activated, but it's a good idea12:20
*** kontio has quit IRC12:21
M4rtinKmenu you can't activate at any time in a long list is useless menu12:23
tuukkahM4rtinK, jabbounet, agree that header is a good option12:23
M4rtinKsay you want to delete the last item in a _big_ mail folder12:23
tuukkahM4rtinK, what i suggested was to combine close and pulley menu to both active with border swipe12:24
M4rtinKor a compromise - a menu button in a corner12:24
M4rtinKcould be transparent12:24
M4rtinKwell, those are not that discoverable12:25
M4rtinKyou can add it to the tutorial but still12:26
M4rtinKwell if you use the pulley glow & make a transparent header on the top, that activates the pulley menu, that might also work & save screen estate12:27
*** mike7b4_on_x230 has joined #sailfishos12:28
*** KangOl1 has joined #sailfishos12:29
*** KangOl has quit IRC12:29
*** KangOl1 has quit IRC12:29
mike7b4_on_x230hi all, just don't remember but what is the recomended way to send sw bugreports? or ?12:30
*** KangOl has joined #sailfishos12:30
*** kontio has joined #sailfishos12:31
*** kontio has quit IRC12:31
*** kontio has joined #sailfishos12:31
tbrtuukkah: ssh nemo@fe80::dead:beef:cafe:babe%eth012:32
tbrnote that you have to use the interface through which the other device is reachable12:32
tbrif you are on wifi it will probably be wlan0 or such12:32
*** datagutt has joined #sailfishos12:35
*** jjarven has quit IRC12:39
*** KangOl has quit IRC12:39
*** Pat_o has joined #sailfishos12:42
*** zhxt_ has joined #sailfishos12:43
*** zhxt has quit IRC12:44
*** c0ck4m0u53 has joined #sailfishos12:46
*** KangOl has joined #sailfishos12:48
*** Pat_o has quit IRC12:50
*** santiago has joined #sailfishos12:51
*** jjarven has joined #sailfishos12:55
*** qwazix_ has joined #sailfishos12:56
*** santiago has quit IRC12:58
*** zhxt_ has quit IRC12:59
*** zhxt_ has joined #sailfishos13:00
Superpelican_fk_lx's sailshotme doesn't show up either on the emulator13:02
walokrais there some trick to get pushupmenu to work? pulldown works nicely in emulator but cant open pushupmenu13:02
tbrah, emulator...13:03
tbrlet me get you a quick fix13:03
Superpelican_a reboot didn't help either...13:03
tbrdo you have the package lipstick-qt5-tools or are you able to install it?13:04
*** hardcodes has quit IRC13:05
Superpelican_how do you get root access?13:05
Superpelican_devel-su doesn't work at least13:05
*** b0bben has joined #sailfishos13:05
Superpelican_sudo su just works13:06
Superpelican_tbr: it worked! :)13:07
tbr"screenshottool PATH DELAY"13:07
Superpelican_I can now see lbt's screenshot13:07
Superpelican_but it won't start13:08
Superpelican_I'll try to CLI then13:08
*** b0bben has quit IRC13:09
*** Pat_o has joined #sailfishos13:12
*** Almehdin has joined #sailfishos13:12
*** qrosh has joined #sailfishos13:13
*** Almehdin has quit IRC13:13
*** thessy has joined #sailfishos13:16
*** thessy has left #sailfishos13:17
Superpelican_the screenshottool doesn't seem to work anymore13:18
Superpelican_I made 1 screenshot with it13:18
Superpelican_scp'ed it over to my physical computer13:18
*** Pat_o has quit IRC13:18
Superpelican_and now it just says that it creates screenshots13:18
Superpelican_but it doesn't actually create them13:19
*** Almehdin has joined #sailfishos13:20
*** Almehdin has quit IRC13:21
Superpelican_I just found out that Virtualbox can take screenshots too -_-13:21
*** Almehdin has joined #sailfishos13:22
Superpelican_:D it works perfectly, perfect 960*540 screenshots!13:23
Superpelican_I can really recommend this13:23
Superpelican_it's absolutely hassle-free!13:23
*** Almehdin has quit IRC13:23
*** jupaja has joined #sailfishos13:23
*** Almehdin has joined #sailfishos13:24
*** qwazix_ has quit IRC13:24
PnuuSuperpelican_: how about print screen button?-)13:24
*** Almehdin has quit IRC13:25
Superpelican_Pnuu: Yes, but that triggers ksnapshot13:26
Superpelican_I had made screenshots previously with that app13:26
Superpelican_but the problem is13:26
Superpelican_my screen is 1333*768 :(13:26
Superpelican_So the emulator screenshots will not be 960*540 or higher13:26
coderusSuperpelican_: LOL13:27
Superpelican_the VBox built-in feature is just perfect13:27
coderuslet me remember...13:27
Superpelican_(well at least with the new SDK, that has the 960*540 resolution)13:27
coderus/usr/lib/qt5/bin/qdbus org.nemomobile.lipstick /org/nemomobile/lipstick/screenshot org.nemomobile.lipstick.saveScreenshot /home/nemo/Pictures/Screenshot-`date +%d-%m-%y-%H-%M-%S`.png13:28
coderusand voila!13:28
Superpelican_Would you mind if I'd prefer the built-in VBox feature? ;)13:29
Superpelican_it's just 2 clicks away :)13:29
*** Almehdin has joined #sailfishos13:31
coderusmake an desktop icon13:31
coderus1 click13:31
Superpelican_Yes, but I'd still need to scp the file from the emulator to my $HOME :)13:31
coderusmake host ssh script making screenshot and copying to your folder13:32
coderusor just mount emulator with sshfs13:32
coderusand dont need to scp anyting :D13:32
Superpelican_Where is the tools pane in GIMP 2.8?13:32
Superpelican_never mind13:33
Superpelican_it's now in Tools->Transform->Move :)13:33
qroshhey is there a way to push a pully menu to open a dialog?13:34
Superpelican_qrosh: yes13:34
*** Venemo has quit IRC13:34
Superpelican_You just creat a MenuItem{}13:35
Superpelican_with onClick: <openthedialogcodehere>13:35
*** jupaja has quit IRC13:35
qroshsuperpelican: is it even possible if the dialog is on a different page/ or lets say in a different file?13:35
Superpelican_stupid DOM!13:35
*** jabbounet has quit IRC13:36
Superpelican_well I have my Dialog *as* a seperate file13:36
tuukkahthanks tbr, got it working now. didn't know about having to append %wlan0 to the address. and it seems to be a bug that /sbin is in PATH in fingerterm but not in ssh logins13:36
qroshbut using import i suppose?13:36
Superpelican_qrosh: You could check out my simple app here:
Superpelican_It does exactly what you want13:36
Superpelican_the dialog ^13:37
qroshthanks a lot13:37
*** zhxt_ has quit IRC13:37
Superpelican_and the page with the pulley menu that opens the dialog ^13:37
*** Almehdin has quit IRC13:38
*** qwazix_ has joined #sailfishos13:38
Superpelican_No problem :)13:38
*** Almehdin has joined #sailfishos13:38
Superpelican_Glad I could finally help someone here :)13:38
Superpelican_I'm always the one who receives help normally ;)13:38
*** Almehdin has quit IRC13:39
walokraSuperpelican_: what does that app do?13:39
Superpelican_walokra: It's a multiplication tables practising app :)13:39
Superpelican_for example children13:39
Superpelican_s/for example children/for for example children13:40
walokrathe name isn't very descriptive :)13:40
Superpelican_I wanted to follow the Sea Themed names :)13:40
qroshSuperpelican on which file is the dialog started?13:41
Superpelican_line 17 :)13:41
*** Almehdin has joined #sailfishos13:41
tbrtuukkah: that %interface is ipv6 specific. This should btw work _everywhere_ unless the WiFi filters traffic hard.13:41
*** Pat_o has joined #sailfishos13:42
Superpelican_GIMP 2.8: "Zealous Crop"13:42
qroshSuperpelican is it possible to have multiple dialog pages in one file like this?13:45
tuukkahtbr, clever indeed13:47
*** Pat_o has quit IRC13:48
qroshnope ahh well a file per dialog step it will be13:48
tbrthat's why I suggested it. IPv6 is awesome and underestimated13:48
Superpelican_qrosh: s/line 17/line 3213:50
Superpelican_line 32 is how you open a dialog from a file13:50
Superpelican_and line 17 is how you create a MenuItem with an onClicked property13:51
qroshSuperpelican: I did find it after looking a bit deeper ;) by the way stop posting vi(m) repairs xD13:51
qroshs/repairs/repairs of your mistakes || does this even work?13:52
Superpelican_qrosh: They are the standard here at #sailfishos, #mer and #nemomobile ;)13:54
Superpelican_I didn't even know it were vi(m) repairs!13:54
Superpelican_I never use vi(m)13:54
qroshits vim search and replace13:54
Superpelican_the only command line editor I can grasp is nano ;)13:55
Superpelican_I once followed a tiny vi(m) online tutorial13:55
qroshif I remember correctly though I am no vim pro13:55
Superpelican_although I have to admit that it has some nice things13:55
Superpelican_you'll really have to invest quite some time13:55
qroshthats what I did too its an amazing little editor.13:55
Superpelican_to really use all it's power13:56
Superpelican_so I just use KWrite and Qt Creator :)13:56
qroshI just use it for basic file editing instead of nano13:56
Superpelican_nano is a godsend for me :)13:56
Superpelican_they really have to fix the GIMP GUI13:57
Superpelican_it's awful13:57
qroshI think personally learned from friends that vim is easy compared to emacs13:57
Superpelican_well I don't know13:57
Pnuuqrosh: normal regexp replace :-)13:57
Superpelican_maybe emacs would be easier for me13:57
Pnuunothing vi(m) specific13:57
Superpelican_all the switching between command and input mode13:57
Superpelican_I don't like it13:58
qroshok Pnuu sorry I just saw it the first time in vi(m)13:58
Superpelican_I just saw it the first time in IRC ;)13:58
qroshand I cannot remember that it was the same in JAVA but ohh well never really used it13:58
Superpelican_I've been able to spawn a toolbox13:59
lbtit's standard regexp ... typically sed/perl/vi  ... and it's used (sparingly) in irc to correct mistakes13:59
Superpelican_Why have they even left it out of GIMP 2.8?13:59
*** mfulz has joined #sailfishos14:00
tuukkahtbr, does this make sense: when the screen is off, the ipv6 address says address unreachable but ipv4 continues to work?14:01
mfulzhow can / shall I pass exceptions from c++ classes to the qml? I can't find anything explaining that...14:01
Superpelican_What do guys/gals think of my Store Cover image: ? ;)14:04
lbtmfulz: that makes little sense14:04
Superpelican_disclaimer: I'm a pretty lousy designer14:04
*** KangOl has quit IRC14:04
lbtqml/c++ should have pretty discrete areas of interest14:04
qroshand another question is there an easy way to just map a value onto an dialog selection option, i.e. I select Germany and map as an answer the value de ?14:04
lbtit's like saying "what colour should my exception be" :D14:04
*** b0bben has joined #sailfishos14:05
Aardlbt: stupid question. red, of course.14:05
Superpelican_Now I'm only 1 simple step away of submitting my app to the Store :D14:05
mfulzok but how shall I handle errors then? Explanation: I'm working on a filechooser dialog atm. and when a.e. changing to a folder without permissions, just returning an emtpy list is a bit stupid14:06
lbtSuperpelican_: soften the edges of the shell in gimp14:06
lbtmfulz: now that is a sensible question :)14:06
lbtyou have a middleware layer ... it has information and state; the UI represents that14:07
Aardmfulz: do it like a proper python coder, don't handle errors :p14:07
mfulzI was thinking of using some method which returns an error string or null and updating the view accordingly, but for me that looks a bit dirty...14:07
mfulzAard: Good one :D14:07
lbtmfulz: question ... did you change to the dir but can't read it or did you prevent the cwd ?14:08
Superpelican_lbt: BTW I didn't design that Clamshell, it's Morpog_PC's ;)14:08
mfulznot decided atm. but for a "stupid user" when trying to change a dir (in case I would prevent cwd) when nothing happens is bad as well, isn't it.14:09
lbtdid the cwd operation fail or is there a state of error (with information) about the cwd14:09
Superpelican_I could never create such a nice Clamshell ;)14:09
*** b0bben has quit IRC14:09
lbtmfulz: since those questions impact how you display information .. what's the usage model14:09
mfulzfilechooser dialog14:10
lbtmental model - read what I said and think about it :)14:10
lbtwhy did you even show the user a dir they cannot pick ?14:10
lbtdid they type it in14:10
lbtetc etc14:10
mfulzoh you're so right14:10
mfulzthanks was not even seeing this simple solution....14:11
lbtok ... but now what happens when you allow the user to enter a folder14:11
lbtwhen we finally make SD cards work what happens when a folder they're looking at goes away14:11
mfulzhm yes that's another issue14:12
*** Pat_o has joined #sailfishos14:12
mfulzisn't there no "normal" way for exception handling in qml?14:12
lbtlike i say - you're thinking about it badly14:12
lbtthe UI must never see an exception14:13
lbtit sees a representation of the UI model14:13
lbtthe model must be rich enough to handle the usage14:13
mfulzah now I got it - I hope14:13
lbtit requires a 'backend' which has no GUI ... and a QML UI14:14
raa70how do i install .apk's from terminal, pushing it in transfer window does nothing, so I'd like to see what's happening14:14
Pnuuraa70: pkcon install-local package.rom14:14
lbtthe nice thing is that it will then be more easily ported to different UIs - like tablets, nemomobile etc14:14
Pnuuah, apk14:14
lbttype apk and press <tab>14:15
lbtraa70: see what comes up14:15
qroshworst case alien it to rpm?14:15
mfulzanother basic question: How can I debug with qtcreator for sailfish? It's just "launching" the app forever any basic settings to take?14:16
*** Pat_o has quit IRC14:17
*** KangOl has joined #sailfishos14:17
Superpelican_just submitted my app for QA14:18
*** Sazpaimon__ has joined #sailfishos14:19
*** Sazpaimon_ has quit IRC14:20
raa70lbt: apkd and apkd-install found, can't get anything out of the with --help14:21
Superpelican_raa70: IIRC you should use apkd-install14:21
lbtyeah - Aard wrote them ... don't expect docs :P14:21
Superpelican_It worked for me when installing an APK on a friend's Jolla14:22
* Superpelican_ is still trying to resist Android Support14:22
lbtbut but but ... Candy Crush Saga!14:22
lbtok, you may have a point :D14:22
*** xmlich02 has joined #sailfishos14:23
Superpelican_At least I now have one game on my Jolla :)14:23
raa70i installed blitzkrieg, a world of tanks clone, worked fine14:24
* Superpelican_ looks up the developer of SameGame14:24
lbtSuperpelican_: the puzzle master is good too14:24
Superpelican_Frye: Thanks! :)14:24
Superpelican_lbt: I'm working on a mobile version of
Superpelican_It's not native14:25
Superpelican_...but it'll be fun :)14:25
Superpelican_It's my first game14:25
lbtit wouldn't be hard in js/qml14:26
Superpelican_I'm still thinking of creating a native version ;)14:26
*** leinir has quit IRC14:27
*** s1gk1ll has joined #sailfishos14:28
*** Pat_o has joined #sailfishos14:28
*** s1gk1ll is now known as Guest6977514:28
*** s1gk1ll_ has quit IRC14:30
Superpelican_lbt: Well it would be an honor to create the first snake game for Sailfish OS :)14:31
Superpelican_considering Jolla's history ;)14:31
Stskeepswell, strictly speaking, the n8xx games might be more applicable14:31
walokracan i install my rpm to device directly from qt creator?14:34
walokraah, found it14:35
qroshSuperpelican: in your dialog is it still possible to go back into the dialog after it is "finished"?14:37
Superpelican_qrosh: You mean after you have accepted the dialog?14:38
*** lollo2 has quit IRC14:39
Superpelican_qrosh: Well you can swipe back to the home screen to quit the practising session14:39
Superpelican_qrosh: and then start a new session, which will spawn a new dialog14:39
Superpelican_(at least if you choose the "one multiplication table practising" mode)14:40
qroshok thanks because frankly I want to be able to open the app have a blank page in first start, use pully menu to enter a dialog select something. onAccept the dialog jumps back to start page and the start page will then be populated..14:41
qroshBUT  I cannot use PageStackAction.Pop and PageStackAction.Replace does let me jump back into dialog14:42
Superpelican_qrosh: Why can't you use PageStackAction.Pop() then?14:43
qroshthrows some error will post it in a sec14:43
qroshduhh clean and error disappeared..14:45
*** Guest69775 has quit IRC14:45
*** s1gk1ll_ has joined #sailfishos14:46
qroshSuperpelican: sorry had a typo..14:47
qroshs/duhh clean and error*/ doPop:526 - Warning: cannot pop while transition is in progress14:48
Superpelican_I expected that one14:48
Superpelican_a few months ago I got that error too14:48
Superpelican_when developing Quick Clamshell14:49
qroshso how did you solve it?14:49
Superpelican_I ended up using PageStackAction.replace()14:50
*** jmlich has joined #sailfishos14:50
Superpelican_my app doesn't do the same thing as your app14:50
*** xmlich02 has quit IRC14:50
Superpelican_My app spawns a new page14:50
Superpelican_the QuestionPage14:50
Superpelican_when the dialog is accepted14:50
*** jmlich is now known as xmlich0214:50
Superpelican_it replaces the dialog with a QuestionPage14:50
Superpelican_qrosh: So unfortunately you'd have to ask somebody else for this ;)14:53
Superpelican_qrosh: You could for example ask w00t14:54
qroshw00t did you say? :P14:54
Superpelican_w00t a.k.a. Robin Burchell14:55
Superpelican_(a Jolla employee IIRC)14:55
qroshI know14:55
qroshI just could not resist xD14:55
*** marcellus has joined #sailfishos15:01
Superpelican_The awesomeness: I can see my HTML5 canvas/JS game running in the browser cover :D15:02
*** mfulz has quit IRC15:02
*** mfulz has joined #sailfishos15:04
*** Waitee has joined #sailfishos15:04
*** b0bben has joined #sailfishos15:06
*** Superpelican_ has quit IRC15:09
*** b0bben has quit IRC15:10
*** qrosh has quit IRC15:11
*** arcean has joined #sailfishos15:11
*** lollo2 has joined #sailfishos15:14
*** KangOl has quit IRC15:15
*** qwazix_ has quit IRC15:23
*** artemma has joined #sailfishos15:24
*** javispedro has joined #sailfishos15:28
*** targon has joined #sailfishos15:28
*** arcean has quit IRC15:31
*** shiwu_kabigon has joined #sailfishos15:31
*** arcean has joined #sailfishos15:33
*** SfietKonstantin has joined #sailfishos15:34
*** pixraider has quit IRC15:36
*** marcellus has quit IRC15:42
*** master_of_master has joined #sailfishos15:43
*** joecool has joined #sailfishos15:43
*** master_o1_master has quit IRC15:46
*** M4rtinK has quit IRC15:48
*** triggerhappy has quit IRC15:51
mfulzare there predefined icons in sailfish sdk / qml for folders, files, links, etc.15:52
*** triggerhappy has joined #sailfishos15:52
*** VDVsx_ has joined #sailfishos15:53
*** hoody_k has joined #sailfishos15:54
*** maninc has quit IRC15:57
*** arcean has quit IRC15:58
*** qrosh has joined #sailfishos16:03
*** louisdk has joined #sailfishos16:04
*** Venemo has joined #sailfishos16:04
Kondoumfulz: have a look at /usr/share/themes/jolla-ambient/meegotouch/icons on the phone (should be the same on the sdk)16:04
Kondouyou may use them like this: image://theme/[imagename]16:05
*** Superpelican_ has joined #sailfishos16:05
*** KangOl has joined #sailfishos16:06
qroshSuperpelican_ do you by chance know where to add an startup function ?16:07
qroshi.e. a function that runs on start up.16:07
Superpelican_qrosh: What do you mean with "startup function"16:08
mfulzgreat thanks Kondou16:09
qroshSuperpelican_ a function that runs on startup, like download stuff from network16:09
Superpelican_qrosh: Is it a C++ or JS app?16:09
mfulztheme is then jolla-ambient?16:09
Superpelican_I don't really have experience (yet ;) ) with QML+JS_only16:09
Superpelican_there should be loads of examples etc.16:10
Superpelican_on the web16:10
Superpelican_so a quick search16:10
Elleoqrosh: if it's qml based you can just do "Component.onCompleted: { // your code }" within your ApplicationWindow16:10
Superpelican_will undoubtedly reveal a lot16:10
Venemoqrosh: if you mean QML, use Component.onCompleted as Elleo suggested16:10
Kondoumfulz: sort of16:11
Superpelican_just tried on my Jolla16:11
Superpelican_but HTML buttons are a bit slow to react16:11
Superpelican_so they really make for an awful gameplay16:11
Superpelican_Elleo: Does QML/Qt have a HTML5 canvas like thing?16:11
ElleoSuperpelican_: yep16:12
Superpelican_And is it also hardware/OpenGL accelerated?16:12
Elleoit's designed to be pretty familiar for html5 users too16:12
ElleoI expect so, just about everything in QML is16:12
Superpelican_"The Canvas.FramebufferObject render target utilizes OpenGL hardware acceleration rather than rendering into system memory, which in many cases results in faster rendering."16:13
Superpelican_I guess, yes16:13
qroshElleo && Venemo thanks16:13
Superpelican_"The Canvas item supports two render targets: Canvas.Image and Canvas.FramebufferObject."16:13
Superpelican_So the Canvas.Image isn't hardware accelerated16:13
Elleoqrosh: no problem :)16:13
Elleoah, right16:14
*** louisdk has quit IRC16:14
VenemoSuperpelican_: depending on what exactly you want to accomplish, you might be better off writing it in C++16:14
qroshohh yea js fileaccess read & write through xmlhttprequest?16:15
*** KangOl has quit IRC16:16
*** SfietKonstantin has quit IRC16:16
*** Aard has quit IRC16:17
*** triggerhappy_ has joined #sailfishos16:18
*** triggerhappy has quit IRC16:19
YomiHm. Compared to the BlackBerry 10 OS, how similar are the SailfishOS gesture based interactions?16:20
VenemoYomi: the gestures are basically similar but what they do is quite different. also there's one or two of them which are unique to each platform16:24
Superpelican_Venemo: Well, I just wanted to create a little Snake game, so I think JS will do for that ;)16:25
Superpelican_Venemo: I already have a JS version running:
Superpelican_and Firefox CPU usage is just 3% over here when playing the game16:25
VenemoSuperpelican_: on a phone or on a desktop?16:26
Superpelican_(and no I don't have a hexacore Core i7 over here ;) )16:26
Superpelican_just a modest Core i3 2310M16:26
Superpelican_well, on a laptop ;)16:26
Venemoand did you try it on the jolla device or in the emulator?16:28
Superpelican_Venemo: well I did try it on my Jolla16:29
Superpelican_(the mobile version)16:29
Superpelican_but didn't check the CPU usage16:29
Superpelican_well actually I did16:29
Superpelican_it said only 0.3 % for sailfish-browser16:29
Superpelican_so I don't think that is correct ;)16:29
* artemma started using Jolla phone after BB10 just a few hours ago. An urge to get to task manager/home via Swipe from bottom is strong. What's worst, *sometimes* it works :(16:29
artemmaoh well, we'll see. First hours give pain due to inconsistencies, but maybe after learning curve everything will feel natural16:30
lbtartemma: if it ever works that's a bug :)16:31
VenemoSuperpelican_: so what exactly is the problem then?16:31
artemmalbt: no-no, it works as specified. It's just so that swipe from not-exactly bottom from lock screen indeed gets you to task manager16:32
Superpelican_well there is no problem, I think? :P16:32
lbtartemma: that's fine - a swipe from inside the screen edge is a pull and that's OK16:32
VenemoSuperpelican_: oh. I thought you were asking about it because you weren't statisfied with performance16:32
artemmalbt: yes, maybe with training I will learn to be very clear about swiping from edge or from screen16:33
Superpelican_I was just considering creating a native QML version of my HTML5 canvas version16:33
Venemookay, sorry then, I misinterpreted what you said16:33
Venemobut yes, you should create a QML version :)16:33
lbtartemma: yes, you have to be - but you don't need to pull from 'just inside' the edge - in fact that makes it harder - I usually pull from the center of the screen16:34
artemmaand well, some things will be natural to improve, so I guess you guys will work on more consistency16:35
Superpelican_Is there anyone creating/porting an ereader app for Sailfish currently?16:35
lbtyep (but afaik that gesture is 'correct')16:35
artemmaso far I seem to rely on swipe left-right from the edge as on "get me out of here to familiar task manager" gesture, but.. it does nothing in home screen. So then I have to keep a two dimensional map of screens in mind..16:36
artemmalbt: everything is correct to my understanding, maybe after learning it will feel familiar. So far it feels like I have to learn several navigationa; methods in many places. Like Pulley menu that doesn't work in Maps or Browser. For good reasons, but it's a need to learn yet another app navigation method nevertheless16:37
*** nk1ox has joined #sailfishos16:37
*** martyone has joined #sailfishos16:37
artemmaactually even two nav methods more as Browser and Maps let you access menu differently :(16:37
lbtartemma: *nod*16:38
lbtthe pulley menu is available, common but not 'required'16:38
lbtand I agree - maps/browser are unusual16:38
lbtbrowser is 'clever' but slightly odd16:38
Yanielthere is a hint on the ui if there is a pulley16:38
FryeHmm, maps UI is qml16:39
lbtie whilst you're reading and progressing down the page there is no chrome16:39
FryeIs there a way to disble screen blanking via qml?16:39
lbtas soon as you move 'up' the chrome appears16:39
* artemma wants strongly enforced (by Jolla guidelines) SINGLE AND FOR EVERY APP navigational patterns. Let's take this good thing of iOS16:39
FryeIt's ANNOYING as ¤#%#¤%#¤ to have maps open and the sceen go blank every minute =)16:39
FryeSo it just might be enough to add something to prevent the screen blanking16:40
Superpelican_lbt: May I ask what actually was the reason to use pkcon instead of just zypper in Sailfish OS?16:40
artemmaBTW, does anybody know how to get to a list of browser downloads? So far I get there only if I am quick enough to tap on notification16:40
Superpelican_(zypper fan here :) )16:41
lbtSuperpelican_: it's more that we use PackageConfig API16:41
Fryeartemma I think there is Transfers under settings16:41
Fryewhich show the downloads16:41
Superpelican_lbt: And what does teh PackageConfig API add/do?16:41
Elleoyeah, settings -> system settings -> transfers16:42
artemmaFrye, thanks, I would never guess myself to look for Downloads in system Settings :)16:42
lbtit's just pkg-config apparently16:42
FryeMe neither16:42
lbtand it's an API, not a cli16:42
FryeI cannot remember by what accident I ended up there16:42
Superpelican_lbt: Yes, but what does it add to zypper?16:43
lbtno ignore that - wrong webpage :)16:43
ElleoSuperpelican_: packagekit acts as an abstraction layer on top of lots of backends16:43
Superpelican_I know16:43
Elleoso you have one interface that works for rpm, deb, etc.16:43
Superpelican_but why does Sailfsih use it then?16:43
Superpelican_I mean16:43
Elleoplus it allows for lots of nice permissions handling16:43
Superpelican_Mer doesn't use it, does it?16:43
lbtSuperpelican_: PackageKit16:43
Elleoand lock handling16:43
* Superpelican_ just made an evil plan16:44
Elleoso users can install stuff without needing sudo, and you don't end up in a state where e.g. the store is holding a lock file preventing you from doing stuff at the command line16:44
Elleobecause they both just talk to the backend daemon which adds things to its queue for you16:44
Superpelican_let's try what happens when I run pkcon install, while installing an app for the Store >:)16:44
lbtSuperpelican_: exactly16:44
Elleoyeah, not sure you can actually install two things at exactly the same time, but you can certainly have two apps talking to the packagekit backend16:46
lbtyou can't but it handles locking or queues the request iirc16:47
*** b0bben has joined #sailfishos16:47
Superpelican_darn Jolla16:47
Superpelican_it's too fast at uninstalling Store apps ;)16:48
Superpelican_now I can't try what happens16:48
VenemoSuperpelican_: try it from SSH and hit enter just at the moment when you hit the button in the store16:48
Superpelican_ok, will try :)16:49
Venemoif it bricks the device, I'm sorry in advance16:49
*** b0bben has quit IRC16:52
Superpelican_I don't know what to install16:52
Venemomy app16:53
*** artemma has quit IRC16:53
Superpelican_I was actually talking about a package ;)16:53
Superpelican_for the "pkcon install ..."16:53
Superpelican_I'll install that16:53
Superpelican_I doubt I'll ever use it16:54
*** Pat_o has quit IRC16:54
zuhcheck first if it's available ;)16:54
*** Pat_o has joined #sailfishos16:54
Superpelican_the command doesn't respond16:54
Yanielin case you don't know, it is an ancient game16:54
Superpelican_it was indeed queued16:55
Superpelican_the command responsed just after the Jolla Store said "Installed" :)16:55
zuhYaniel: Well preserved game, please! ;)16:55
* zuh still plays it16:55
Superpelican_unfortunately it decided to respond with: "Command failed: This tool could not find any available package: could not find nethack"16:55
Yanielso do I every now and then16:56
Superpelican_oh well16:56
Superpelican_it served it's purpose ;)16:56
*** miksuh has quit IRC16:57
mfulzif I include an image source: "image://theme/icon-m-folder" it's working but when I want to use a JS function which returns the string it's not working anymore17:01
mfulzlike source: getImage()17:01
mfulzdoes someone know why?17:02
*** rcg has joined #sailfishos17:02
*** Superpelican_ has quit IRC17:03
*** Aard has joined #sailfishos17:05
*** qrosh has quit IRC17:06
mike7b4_on_x230I have an issue with two of my apps, they dont shutdown mainloop when close the application code here:
*** artemma has joined #sailfishos17:08
*** Superpelican_ has joined #sailfishos17:09
*** Pat_o has quit IRC17:11
*** Pat_o has joined #sailfishos17:12
jpnurmiargh, why does the sdk keep shuffling the .yaml file contents?17:12
mfulzsorry found it17:15
*** triggerhappy_ has quit IRC17:17
*** Pat_o has quit IRC17:19
*** jjarven has quit IRC17:22
artemmajpnurmi: Jonni promised it's gonna be disabled in the future?17:27
artemmajpnurmi: Jonni promised it's gonna be disabled in the future17:27
*** Superpelican_ has quit IRC17:28
artemmaIs there any [good] known way to sync google calendar with Jolla?17:28
artemmaoups, wrong channel17:28
*** Superpelican_ has joined #sailfishos17:29
jpnurmiartemma: ok, good to hear. it's super annoying to have such randomly changing file in a repo :)17:31
artemmajpnurmi: I dare to have it as a personal success in convincing people :)17:31
artemmajpnurmi: workaround that helps me is to keep .yaml open in the text editor for fast undo17:32
*** KangOl has joined #sailfishos17:33
*** lollo2 has quit IRC17:33
*** Pat_o has joined #sailfishos17:33
*** miksuh has joined #sailfishos17:38
*** jjarven has joined #sailfishos17:42
*** lollo2 has joined #sailfishos17:45
*** KangOl has quit IRC17:45
*** lollo2 has quit IRC17:48
*** martyone has quit IRC17:49
YomiDoes SailfishOS have a Swype style keyboard?17:49
*** c0ck4m0u53 has quit IRC17:51
Superpelican_Yomi: You could always write a Maliit plug-in IIRC ;)17:54
*** KangOl has joined #sailfishos17:55
* Yomi hasn't written anything besides HTML and CSS. 17:55
Superpelican_Yomi: Well now could be the first time ;)17:56
* lbt advises QML for Yomi ... similar concepts to HTML/JS/CSS17:57
*** lollo2 has joined #sailfishos17:57
*** mudyc has joined #sailfishos17:58
mudycis there some bugzilla available?17:58
*** Superpelican_ has quit IRC18:01
Jonniartemma: I havent said such thing, but maybe someone else has18:01
artemmaJonni: someone did.. but I didn't remember name probably..18:02
* artemma is bad with remembering twitter nicks18:02
Pnuumudyc: I believe there will be in together.jolla.com18:02
*** arcean has joined #sailfishos18:04
*** jupaja has joined #sailfishos18:04
Jonnimaybe some way to report bugs yes, but bugzilla no.18:06
jupajadid anyone had luck to create a iSync Plugin? the Jolla has SyncML Interface on USB and on BT and USB PC-Suite Interface18:07
*** arcean has quit IRC18:10
*** KangOl has quit IRC18:11
*** jupaja has quit IRC18:11
mudycjupaja is syncml worth something?18:12
*** shabladoo has quit IRC18:15
*** freedomrun has quit IRC18:23
*** beford has joined #sailfishos18:23
*** beford has joined #sailfishos18:23
*** artemma has quit IRC18:31
*** mikhas has joined #sailfishos18:34
*** attah has joined #sailfishos18:35
*** freedomrun has joined #sailfishos18:37
*** artemma has joined #sailfishos18:39
*** KangOl has joined #sailfishos18:40
attahHas anyone looked at HLS (http live streaming) in Sailfish?18:40
*** jabbounet has joined #sailfishos18:42
*** veskuh has joined #sailfishos18:50
*** arcean has joined #sailfishos18:55
*** furikku has quit IRC18:58
*** lollo2 has quit IRC18:59
attahIs it possible to, in the scope of an app, extend gstreamer so that it could handle HLS, or how would one go about this arcane magic?19:01
FryeHmm, is there a way to force application to stay active and keep display on. g for mapping software?19:02
*** Jarrrgh has quit IRC19:02
*** veskuh has quit IRC19:03
*** Jarrrgh has joined #sailfishos19:03
*** veskuh has joined #sailfishos19:04
Elleoattah: you could package up extra gstreamer plugins with your app and set the GST_PLUGIN_PATH variable19:04
Elleo(and any other library dependencies you need for those plugins)19:05
Elleoso you'd probably also need to set the LD_LIBRARY_PATH too19:05
javispedroattah: ?19:05
attahElleo: thanks.. sounds like a great entry point!19:06
*** clickety has quit IRC19:06
ElleoI'd assume you'd just need the hlsdemux element + decoders for whatever format you're encoding with19:06
*** b0bben has joined #sailfishos19:06
attahJavispedro: Looks like the frontend, or? I'd still need the gstreamer plugins i think..19:07
*** clickety has joined #sailfishos19:07
attahElleo, i dumped the stream into a mp4 container and that plays very well already19:09
javispedroattah: a cursory look reveals the python script fetches the data itself over HTTP and then uses a gstreamer appsrc to pass it to a decodebin19:09
javispedroattah: no HLS-specific plugins needed, just appsrc, decodebin, and then whatever need for container and codecs (mp4, h264, ...)19:10
attahjavispedro, cool!19:10
*** synchris has joined #sailfishos19:11
javispedrohum, it pushes file-sized buffers to appsrc, so I presume that HLS files/segments must be somewhat small19:12
javispedrointeresting fragment in
*** arcean has quit IRC19:14
attah100k seems pretty moderate, doesn't it?19:16
jabbounetI've a question about sdk,  is there a page that describes command line used by qtcreator to call compiler, start/stop sdk and emulator (as I'm used to editing with an other editor I would like to have some way to not go back to ide to check my work is correct)19:16
fluxjabbounet, QMAKE_CXXFLAGS += -std=c++0x19:17
fluxis it possible to use something more recent than gcc-4.6 with the sdk?19:18
*** beford has quit IRC19:19
jabbounetmany thanks flux19:19
fluxjabbounet, I just asked that yesterday and got the link from tuukkah ;)19:20
fluxI suppose already 4.6 should have lambdas, but more recennt versions come with even more c++11 features..19:20
*** nk1ox has quit IRC19:23
*** b0bben has quit IRC19:27
*** freedomrun has quit IRC19:33
*** gsdhgcvertgrjh has joined #sailfishos19:41
gsdhgcvertgrjhWARNING       WARNING      WARNING,                       WARNING19:41
gsdhgcvertgrjhWARNING             WARNING              WARNING,     WARNING         WARNING19:41
gsdhgcvertgrjh YOU MAY BE WATCHED19:41
gsdhgcvertgrjhYOU MAY BE WATCHED19:41
gsdhgcvertgrjh                YOU MAY BE WATCHED19:41
*** gsdhgcvertgrjh has quit IRC19:41
*** gsdhgcvertgrjh has joined #sailfishos19:41
mfulzhow can I highlight a mousearea on click?19:41
*** gsdhgcvertgrjh has quit IRC19:41
lbtonClick: area.colour = blue19:42
*** gsdhgcvertgrjh has joined #sailfishos19:42
*** ChanServ sets mode: +o lbt19:42
mfulzah thanks19:43
*** veskuh has quit IRC19:45
*** lbt sets mode: +b *!*@
*** lbt sets mode: -o lbt19:48
*** freedomrun has joined #sailfishos19:49
javispedroattah: not enough knowledge of HLS to say, but they tested with RTVE which is a "popular" spanish TV network so I presume 100k is a common setting19:49
*** javispedro has quit IRC19:51
attahjavispedro: me neither really.. and it depends on the bitrate of course.. but i feel the need to learn this stuff.. i suspect no-one else will do svtplay native otherwise19:53
*** Venemo has quit IRC19:55
*** cvp has joined #sailfishos19:57
*** SeekingFor has joined #sailfishos19:58
*** jabbounet has quit IRC20:00
*** tortoisedoc_ has joined #sailfishos20:01
tortoisedoc_gettng ready for christmas is heavy20:02
mfulzlbt: that's not working for a listview, I found the highlight property, but when setting to a.e.  highlight: Rectangle { color: blue } it just highlights the first element always20:03
fluxhow nice that if I start a project from scratch in Sailfish SDK by using the default Sailfish template, I'm bound by the BSD license with the advertising clause20:04
*** mikhas has quit IRC20:07
fluxI guess the three random Sailfish apps I tried were not created that way, because they don't mention Thomas Perl in their 'about' if they even have that20:07
*** lbt has quit IRC20:08
*** lbt has joined #sailfishos20:08
*** lbt has quit IRC20:08
*** lbt has joined #sailfishos20:08
lbtflux: what license / terms would make more sense?20:08
fluxwell, would it be radical to make it public domain?20:09
fluxI certainly don't expect to be bound by any terms when I click 'create new project' in an ide :)20:09
lbtyou are, of course, free to write something from scratch20:10
fluxthat is true. but what of value is gained by that license?20:12
flux(in this use case that is)20:12
fluxpersonally I use BSD without advertising clause for my projects, but I don't put a license on short code clips I give as examples to people.20:12
lbtJolla gives you code - you may not use Jolla's name in code derived from that code20:12
fluxwell, strangely I still must mention jolla in the binary and documentation20:13
*** attah has quit IRC20:13
tortoisedoc_flux : where in the binary you "must" mention jolla?20:14
lbtyeah it is 'or' technically20:14
tortoisedoc_lbt : any well-documented list of window properties for lipstick somewhere?20:14
fluxwell, I suppose technically it doesn't require the program to output it, though these programs typically don't come with easily user-accessible documentation, but here is the chapter:20:15
flux"Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution."20:15
mfulzah sorry I was asking the wrong question :)20:15
mfulzlbt: I want to animate the click event not highlight the item20:15
fluxseparately is mentioned the source code part, I suppose it's ok to leave it there though the contribution to the final program might be quite small.20:15
lbtpersonally I recreate much of the template :)20:15
lbtalso there are non-jolla community templates20:16
lbtI'm hoping the SDK will eventually support "use this template from github" or something20:16
tortoisedoc_*starting a project from scratch (empty) is never a bad idea20:17
lbtmfulz: animations are typically tied to a state change20:18
fluxnone of the harbour-installed files seem to come with documentation20:18
fluxso I guess they either are not using the template or they are in violation of the license.20:19
lbtflux: I think that's a fair point - the SDK doesn't do a good job of packaging license files etc20:20
Jonnilisence in template is most likely a bug, lets see if we can change it to some better one in future updates.20:20
mfulzok but how can I identify the list item, it's created dynamically inside my c++ code20:20
mfulzI don't have an id?20:20
flux(actually some of the .qml files have the license for obvious reasons)20:21
lbtmfulz: not something I know about :)20:21
tortoisedoc_btw speaking for SDK20:21
tortoisedoc_and qtcreator20:21
tortoisedoc_a project created in subdir of either home / extra source folder, results in "error source code not in <home> or <alternative source>"20:22
tortoisedoc_(at least on win)20:22
mfulzok I'll have a look20:23
tortoisedoc_now, if someone could help me with the window properties question above, it would be awesome :)20:23
*** M4rtinK has joined #sailfishos20:24
*** qwazix_ has joined #sailfishos20:29
*** qwazix_ has quit IRC20:30
*** attah has joined #sailfishos20:30
tortoisedoc_hmm btw20:33
tortoisedoc_if I would like to set system-wide env variable @ boot20:33
tortoisedoc_which is the right place?20:33
qwazixI want to run some commands in my app as root, but I don't even know where to start searching. On maemo we had sudoers, is there something equivalent in sailfish?20:33
lbtqwazix: what command?20:34
qwazixlbt, the access point thingie20:34
lbtI'm 99.99% sure the answer is "no" for harbour apps20:35
* lbt puts "messenger" hat on20:35
qwazixlbt, anyway, it'd still be useful in a community repo or something20:35
* tortoisedoc_ readies shotgut for messenger :P20:35
tortoisedoc_these harbour "restrictions" can be, how to say, "challenging"?20:36
lbtI think you'd need to depend on sudo20:36
lbtI agree20:36
qwazix(or for own use, though somebody might steal my device and accidentally find the source code on it) :-P20:36
lbtbut they're not maemo-extras - they're Ovi :)20:36
lbtchum is for community20:37
qwazixlbt, ovi did allow doing things as root however20:37
lbtoh, I never used it :)20:37
lbtit warrants disussion though20:37
qwazix(on the other hand I fully understand the reason behind not allowing it, and to be frank I'm fine with that)20:38
*** attah has quit IRC20:40
qwazixI suppose I have to compile sudo, or is that available somewhere?20:40
lbtit's available somewhere20:40
lbtit's in mer-tools by default20:41
qwazixyay mer-tools20:41
lbtjust be careful since a malicious app can easily try to sudo without declaring a dependence20:42
qwazixhmm, and it installs passwordless by default (at least on emulator)20:43
lbtI'd be happy to accept patches for mer-tools sudo packaging to provide a variants on the config20:44
lbtwhich depend on a sudo-base20:44
qwazixI'd be lying if I said I have any experience with sudo and security20:45
qwazixbut let me play with it a while and we'll see...20:46
*** beford has joined #sailfishos20:49
mfulzlbt: if you're interested I provided to my model the index and used that one with listview.currentIndex = index to know the selected item20:51
*** tortoisedoc_ has quit IRC20:51
lbtmfulz: yeah - I guessed something like that. glad it worked20:52
mfulzyep slowly I'm starting to understand the concept20:59
winfrieddSome things are not possible without root permission, so I'd also like to see some solution.20:59
winfrieddPreferably where the user has to acknowledge first.20:59
mfulzjust need to take some time to get all the things to some emacs mode - really hate qtcreator in comparism :-/21:00
Waiteevim masterrace21:00
mfulzI used vim a lot as well but switche then some time ago to emacs21:01
mfulzfor coding it's better in my opinion21:01
*** itbaron has quit IRC21:01
mfulzbut of course that's a matter of taste21:01
Waiteei personally prefer sublime text 221:02
mfulzbut yeah how to let a an app run with higher permissions? I'm working on a vpn client app atm and would need it for the openvpn process21:02
*** DarkSim has joined #sailfishos21:04
lbtmfulz: you should look at connman integration then - I don't think that needs root21:05
mfulzconnman integration?21:06
lbtsailfish uses connman21:07
mfulzhm never hear about that21:08
tbrare there tun/tap modules yet?21:09
mfulzI just used pkcon for installin openvpn and the client (from terminal) is working smoothly21:09
mfulzso I wanted to use it via GUI app21:09
lbtso I really think you need to make it work using connman-vpn.service21:12
*** amonk has quit IRC21:12
lbtthen talk to lpotter about what you need in policies for user-controlled vpn21:13
lbtotherwise it will be hard to get into harbour21:13
lbtty - I know it's more complex than just running openvpn and setting up configs21:14
lbtand it may need support from Jolla in an OS update21:14
*** b0bben has joined #sailfishos21:15
*** arcean has joined #sailfishos21:16
qwazixlbt, sudo on the device installs and user 'nemo' is not in the sudoers so I suppose no security hole there21:17
*** KangOl has quit IRC21:22
*** KangOl has joined #sailfishos21:24
mfulzwould be a possibility?21:25
*** artemma has quit IRC21:28
*** xmlich02 has quit IRC21:31
*** targon has left #sailfishos21:31
*** KangOl has quit IRC21:41
*** dhbiker has quit IRC21:42
*** attah has joined #sailfishos21:43
*** artemma has joined #sailfishos21:44
*** KangOl has joined #sailfishos21:47
*** attah has quit IRC21:48
*** rcg has quit IRC21:54
Elleois there any way to change the colour of links in QML Labels? The html support appears to be much more limited than on MeeGo, so style/color attributes don't seem to have any effect21:57
Elleoand the default blue looks pretty bad against the dark sailfish backgrounds21:57
JonniElleo: yes, there is example in devel mailing list how to change url colors.21:57
Elleoah, excellent, thanks21:57
lbtmfulz: not in harbour apps21:57
ElleoJonni: thanks :)21:59
*** cxl000 has quit IRC22:01
Elleolooks like it was just the explicit change to RichText I needed22:02
Elleothought that was set automatically based on content22:02
*** Dry_Lips has joined #sailfishos22:04
Dry_LipsHi... is there a port for lumia 900?22:06
qwazixsetting /etc/hostname doesn't seem to persist reboots, is that normal?22:07
qwazixI mean the file does remain changed, but the hostname resets22:08
*** AlmAck has quit IRC22:17
*** b0bben has quit IRC22:22
tbrqwazix: it seems to draw from dhcp or reverse dns22:24
tbrmight be connman?22:24
*** synchris has quit IRC22:26
*** b0bben has joined #sailfishos22:29
*** pigoz has quit IRC22:34
*** leszek has joined #sailfishos22:39
leszekhow can I access a function from my FirstPage.qml (initial Page) from within CoverPage.qml ?22:39
*** attah has joined #sailfishos22:44
*** attah has quit IRC22:50
*** cvp has quit IRC22:52
lbtleszek: FirstPage.qml isn't a thing... it's a definition. You created an instance of it in the ApplicationWindow and put it in the "initialPage" property22:54
*** phaeron has joined #sailfishos22:55
leszekyeah. But how can I know access the function ? I thought I could just call my mainWindow.initialPage.function() but that seems not to work22:58
lbttbh that's what I thought too :)23:00
leszekseems to be a general problem at least to me how to access functions of objects inside a Component23:01
*** winfriedd has quit IRC23:02
lbtleszek: got it23:09
lbtyou assign an id to the FirstPage23:10
lbteg: initialPage: List { id: root }23:10
lbtnow in cover root.myfunc() is visible23:10
leszektesting right now23:11
leszekdoes not work. root is unknown23:13
*** lbt has quit IRC23:13
leszekI am sure that it is because the firstPage is loaded inside a component23:14
*** lbt has joined #sailfishos23:14
*** lbt has quit IRC23:14
*** lbt has joined #sailfishos23:14
leszekinitialPage: Component { FirstPage { id: root } }23:14
qwazixtbr: yeah, it gets the same hostname as my router23:14
qwazixweird thing is I assigned a hostname to it via router but it doesn't take that23:15
leszeklbt: I am sure that it is because the firstPage is loaded inside a component that I cannot acces root then23:15
*** jstaniek has joined #sailfishos23:15
lbtleszek: yes, likely23:15
*** shiwu_kabigon has quit IRC23:16
leszekbut there must be a workaround. Otherwise I don't know why qtcreator/sailfish sdk by default uses this code23:16
*** spider-mario has quit IRC23:24
*** leszek has quit IRC23:24
mfulzanyone got this dialog working?
mfulzit's just not passiing back the property :(23:26
*** matt_1979 has quit IRC23:27
*** Morpog_ has quit IRC23:32
*** promulo has quit IRC23:34
*** hoody_k has quit IRC23:37
*** matt_1979 has joined #sailfishos23:45
*** KangOl has quit IRC23:49
*** DarkSim has quit IRC23:49

Generated by 2.17.1 by Marius Gedminas - find it at!