Saturday, 2013-11-16

artemmaaard_: still here? Still could try one more RPM? :) same location -
artemmaI figured that starting camera is not enough. After start() you need to explicitly start video recording with record() or image capture with capture()00:01
artemmanow test app has buttons for these00:01
artemmanow that really seems like exploring all the possible camera api buttons00:02
* artemma is keeping fingers crossed00:02
artemmanote: this time app actually might save image or video files to your device00:02
*** Ducky^ has joined #sailfishos00:02
artemmaor is here anybody else with device to try RPM that's supposed to turn flash on (for a flashlight app)?00:04
specialout of curiosity, what part of the world are you in? ;)00:05
aard_artemma: search and lock -- 2 short flashes00:05
artemmaspecial: Finland-Helsinki. What about you, guys?00:05
artemmaaard_: WooHoo! At least some reaction!00:05
aard_artemma: in some variations with capture modes either on capture or record I get two short flashes as well00:06
artemmaaard_: what about VIDEO mode + Flash ON + start() + recorder start()?00:06
artemmahmm, sounds like short flashes needed by camera to measure distance and focus00:06
artemmaare there any error msgs if you try video record with flash on?00:07
artemmaor could you type status code from log to here?00:07
artemmalatest message is on top00:08
*** Morpog_Mobile has quit IRC00:08
aard_maybe tomorrow, when I'm logged in to the device. I was on my way to bed, got threatened I have to leave the house tomorrow at 10 (i.e., 8 hours) :/00:08
artemmagood luck and good sleep then!00:09
artemmathanks for help00:09
artemmaah, video recording must be possible with flash on..00:09
aard_it is00:10
artemmaall the signs seem to tell I can control it to qml (flash mode supported), but I fail.. heh00:10
artemmaaard_: if you'll be into playing with code, it's here -
*** rashm2k has quit IRC00:15
*** beford has quit IRC00:18
artemmaaard_: tried applying your patch from - fatal: corrupt patch at line 174. I guess some copy-paste mistake. Will type changes manually, just sharing00:24
*** DarkSim has quit IRC00:30
*** andreibechet has quit IRC00:35
artemmaStskeeps: ping00:36
*** krabador has quit IRC00:44
*** Morpog_Mobile has joined #sailfishos00:47
*** Eztran has quit IRC00:52
*** triggerhappy_ has joined #sailfishos00:57
*** triggerhappy_ has quit IRC00:57
*** zhost has quit IRC01:10
*** beford has joined #sailfishos01:28
tanghusAnyone knows where the code for the examples in the emulator is? I'm espacially interested in the Search example.01:40
*** furikku has joined #sailfishos02:17
tanghusartemma: you're amarchen on github?02:29
*** Morpog_N9__ has quit IRC02:35
*** Morpog_Mobile has quit IRC02:35
*** rm_work is now known as rm_work|away02:41
*** Heis has quit IRC02:46
*** Heis has joined #sailfishos02:47
*** Bloob has quit IRC02:51
*** Morpog_Mobile has joined #sailfishos02:55
*** ericcc has joined #sailfishos04:12
*** artemma_ has joined #sailfishos04:14
*** artemma has quit IRC04:14
*** artemma_ is now known as artemma04:14
*** toartist has quit IRC04:23
*** yaniel has joined #sailfishos04:39
*** artemma has quit IRC05:14
*** ericcc has quit IRC05:19
*** lpotter has joined #sailfishos05:29
*** ljp has quit IRC05:30
*** ericcc has joined #sailfishos05:30
*** blue787 has quit IRC05:43
*** blue787 has joined #sailfishos05:44
*** booss has quit IRC06:08
*** booss has joined #sailfishos06:09
*** shadeslayer_ has joined #sailfishos06:11
*** shadeslayer has quit IRC06:12
*** Pat_o has joined #sailfishos06:12
*** pyksy has quit IRC06:12
*** pyksy has joined #sailfishos06:13
*** Morpog_Mobile has quit IRC06:14
*** thedead1440 has quit IRC06:15
*** booss has quit IRC06:37
*** Morpog_Mobile has joined #sailfishos06:40
situIt's hard to debug programs on sailfish vm, any good way to sniff network traffic ?06:48
coderussitu: wireshark? :D07:22
situtcpdump may be.07:22
coderustanghus: open Assistant - Search Search - select Silica Search. Example of usage is here.07:23
*** Kabouik_ has joined #sailfishos07:23
coderustanghus: Search component actually does nothing itself. it just calling model sort function which is actually just  for (var i=0; i < listModel.count; i++) { if name.contains(search.text) newmodel.append(model) }07:24
*** Kabouik has quit IRC07:25
*** Kabouik has joined #sailfishos07:25
coderustanghus: iand ny IMHO its bad way to make search in models. it will be very long process for huge models :D07:25
coderusmy IMHO*07:25
coderussitu: well, if you need complex traffic analyze than just dump use wireshark. its not so scare as it :D07:26
*** Dux_ has quit IRC07:32
*** RoKenn has joined #sailfishos07:33
*** itbaron has joined #sailfishos07:34
*** beford has quit IRC07:39
*** zhxt has joined #sailfishos07:49
*** ericcc has quit IRC07:50
coderusHow to create cover image for Harbour?07:52
*** ljp has joined #sailfishos07:58
*** lpotter has quit IRC07:59
*** Pat_o has quit IRC08:02
*** saildev has joined #sailfishos08:13
*** Pat_o has joined #sailfishos08:16
*** RoKenn has quit IRC08:19
*** Custodian has joined #sailfishos08:22
*** meShell_ has joined #sailfishos08:23
*** whtxly has joined #sailfishos08:25
*** Finleida has joined #sailfishos08:25
*** triggerhappy has quit IRC08:27
*** whtxly has quit IRC08:29
*** ericcc has joined #sailfishos08:30
*** Pat_o has quit IRC08:33
*** saildev has quit IRC08:34
*** LesPring has quit IRC08:43
*** Eismann has joined #sailfishos08:48
coderusjust sent Persecute for Sailfish to Harbour QA :D08:49
*** Finleida has quit IRC08:52
*** Pat_o has joined #sailfishos08:57
*** Blizzz has joined #sailfishos09:00
*** jjarven_ has quit IRC09:02
*** freedomrun has quit IRC09:10
*** Bloob has joined #sailfishos09:15
*** jjarven_ has joined #sailfishos09:17
*** Blizzz has quit IRC09:19
*** Morpog_PC has joined #sailfishos09:23
Morpog_PCcoderus, is that coverimage for each app, or a general one for all your apps on store?09:24
*** freedomrun has joined #sailfishos09:27
*** M4rtinK has joined #sailfishos09:28
*** Pat_o has quit IRC09:28
Morpog_PCseems to be for your store page and it's optional09:30
*** msvb-lab has joined #sailfishos09:37
*** r3d has quit IRC09:40
*** andreibechet has joined #sailfishos09:59
*** Pat_o has joined #sailfishos10:10
*** Pat_o has quit IRC10:16
*** faenil has quit IRC10:23
*** Soru has quit IRC10:27
*** yaniel is now known as Yaniel10:29
*** Pat_o has joined #sailfishos10:30
*** soul has joined #sailfishos10:37
*** soul is now known as Guest2739610:38
*** Pat_o has quit IRC10:38
*** piggz has quit IRC10:39
*** thesegnel has joined #sailfishos10:40
thesegnelhi there. i'm trying to use a tableview within my app, but import QtQuick.Controls 1.0 doesn't do the trick, do i need to add something else?10:40
*** artemma has joined #sailfishos10:40
*** M4rtinK has quit IRC10:47
*** Pat_o has joined #sailfishos10:52
*** ericcc has quit IRC10:52
*** ericcc has joined #sailfishos10:54
*** Pat_o has quit IRC10:57
*** Summeli has quit IRC11:01
*** ericcc_ has joined #sailfishos11:02
*** artemma has quit IRC11:05
*** Morpog_PC has quit IRC11:05
*** Morpog_PC has joined #sailfishos11:07
*** Pat_o has joined #sailfishos11:10
*** ericcc has quit IRC11:17
*** yanliang has joined #sailfishos11:28
*** yanliang is now known as brad_qqq11:28
*** Guest27396 is now known as Taduro11:33
*** meShell_ has quit IRC11:34
*** artemma has joined #sailfishos11:39
artemmaStskeeps: ping11:40
*** shadeslayer_ has quit IRC11:52
situFor those who are interested in trying out Tweetian on latest Sailfish SDK
*** ericcc_ has quit IRC11:55
situveskuh ^11:55
*** shadeslayer has joined #sailfishos11:55
*** ericcc has joined #sailfishos11:57
*** zhxt has quit IRC12:00
*** krabador has joined #sailfishos12:04
*** krabador has quit IRC12:07
*** shadeslayer has quit IRC12:08
*** Finleida has joined #sailfishos12:09
brad_qqqHi all.I have a question.How to get arm format rpm?I have changed the kit to armv7hl and rebuilt the project.But I can't find the arm format rpm.12:09
*** shadeslayer has joined #sailfishos12:12
*** cetemeego has joined #sailfishos12:15
*** ericcc has quit IRC12:17
*** shadeslayer has quit IRC12:22
*** shadeslayer has joined #sailfishos12:22
*** shadeslayer has quit IRC12:23
*** shadeslayer has joined #sailfishos12:23
*** shadeslayer has quit IRC12:26
*** Taduro has quit IRC12:27
*** Taduro has joined #sailfishos12:32
*** Sfiet_Konstantin has joined #sailfishos12:33
*** freedomrun has quit IRC12:35
*** ericcc has joined #sailfishos12:40
*** zhost has joined #sailfishos12:43
*** freedomrun has joined #sailfishos12:48
*** Venemo has joined #sailfishos12:50
*** thesegnel has quit IRC12:50
*** Pat_o has quit IRC12:50
* artemma asked about flash control in Qt level in mailing list -
artemmachip in if you can12:54
artemmabrad_qqq: clean your project first12:54
*** cetemeego has quit IRC12:55
artemmabrad_qqq: otherwise in bundles in the previously built (i486) binaries12:55
*** Pat_o has joined #sailfishos12:55
artemmait* bundles in12:58
*** artemma has quit IRC12:58
*** ericcc has quit IRC13:01
brad_qqqI solved it.Choose release build of arm kit.then choose deploy method arm.13:06
*** ericcc has joined #sailfishos13:16
*** krabador has joined #sailfishos13:17
*** krabador has quit IRC13:20
*** ibins has joined #sailfishos13:21
*** RoKenn has joined #sailfishos13:31
*** ericcc has quit IRC13:32
*** Master-Passeli has quit IRC13:41
*** nodevel has joined #sailfishos13:56
*** r3d has joined #sailfishos13:58
*** ericcc has joined #sailfishos14:08
*** Master-Passeli has joined #sailfishos14:08
*** brad_qqq has quit IRC14:35
*** Finleida_ has joined #sailfishos14:37
*** Finleida has quit IRC14:41
coderussitu: you can provide rpm for testing :)14:47
*** artemma has joined #sailfishos14:47
situI am yet to add more fatures. I will provide rpm later.14:48
*** krabador has joined #sailfishos14:56
*** a3Dman has joined #sailfishos15:00
*** SeekingFor has quit IRC15:00
*** a3Dman has quit IRC15:01
*** martyone has joined #sailfishos15:07
*** Eztran has joined #sailfishos15:13
*** jjarven_ has quit IRC15:13
*** Eztran has quit IRC15:16
artemmaaard_: ping15:18
artemmaaard_: when you saw these two short flashes, was it after seekAndLock?15:19
artemmacould you try pressing it several times?15:19
artemmaI've got an idea that maybe if we seekAndLock all the time, we'll get the stroboscope :)15:20
artemmanot exactly flashlight, but light it will provide15:20
aard_artemma: search and lock does flashes, yes15:21
artemmawhat if you press it several times? Quickly if you can15:21
Nicd- certificate is invalid it seems15:21
Nicd-"This certificate was signed by an unknown authority"15:22
Nicd-don't know if it's my fail or chrome's fail or's fail15:22
artemmaaard_: that would be fun if flashlight will go through seekAndLock :)15:23
thesignalhi, i'm trying for hours now, but wothout luck: i want to have a listview inside a column, is that possible? i always get only the first line of the list displayed...15:24
artemmathesignal: there's something about the height calculation15:24
artemmacolumn expects its items to know how much height they need, but list view by default I think doesn't have any height. Or maybe just one line height15:25
artemmatry setting it's height explicitly15:25
thesignalartemma: for example? height of one item * number of items?15:25
artemmaand, well, even from your app logic: do you know what the height of list view should be ideally?15:25
artemmathesignal: yeah, this logic should work, just make sure numbers for this equation are available by the moment you use them15:26
artemmaI'd try with hard codes values first to check if you can size list view at all15:26
thesignalno i don't. i'm creating a template. first two rows will be images and under the image i have a list which describes items on the image15:26
thesignalartemma: kk, i'll try that15:27
artemmawell, then how do you expect QML to know how much space to allocate for list view? :)15:27
artemmatry hard coded values first then see if you can change them dynamically15:27
artemmaproper property binding may just work15:27
artemmaif it doesn't change height manually in javascript15:27
thesignalartemma: k thanks. i'll try, i'm still very new to qml and javascript so....15:28
artemmagood luck15:28
leinirhum... well, one thing you're doing wrong is to not use anchors :)15:29
thesignalshould i use anchors, or shouldn't i?15:29
leinirYou should be using anchors - hardcoding sizes is kind of bad :)15:30
thesignalleinir: i'm using anchors15:30
*** jjarven_ has joined #sailfishos15:30
artemmathesignal: that is the same story about UI logic. Think yourself how you want UI to be layed out15:30
thesignaland it is like artemma said. if i use (for example) height: 200, 3 items show up15:30
leinirhmm... guess i read it wrong, then...15:30
thesignalthanks for the hint artemma15:31
artemmawith columns and variable size items and anchors, it can be quite possible that none of the elements  wants a particular size and everybody's waiting for the others to command and then take "the rest" of space :)15:31
thesignalcould i paste you the code? i think i'm doing something terribly wrong15:32
artemmathesignal: if it compiles :)15:32
thesignalas nobody ever looked over my code15:32
artemmagithub link is the best15:32
thesignalartemma: it compiles15:32
thesignalk, just a minute15:32
artemmaor link to zip15:32
artemmaokay, if I can open it in Qt Creator and it runs, I'll have a look :)15:33
*** shadeslayer has joined #sailfishos15:36
*** Kabouik has quit IRC15:39
coderusthesignal: i think you should change your ui. listview in column is bad idea. you can use Repeater instead of ListView.15:39
*** Kabouik has joined #sailfishos15:41
*** Blizzz has joined #sailfishos15:43
thesignalcoderus: but the listelemnt are non dynamic and i need them to be filled with some text15:43
thesignalso coderus: i create a datamodel for my data and let the repeater do the rest?15:50
coderusthesignal: just use Repeater as ListView15:55
thesignalcoderus: i did and it worked, thanks15:57
*** triggerhappy has joined #sailfishos16:16
thesignalok... i finally managed it to get everything displayed the right way, but now i have another problem :D, how do i make this list scrollable?16:16
artemmaaard_: ping16:16
artemmaI created a new experiment that starts camera searchAndLock every given amount of milliseconds. And optionally unlocks soon after search was started16:17
artemma+you can play with the focus mode (Manual focus should do it, but maybe other values work better)16:18
artemmaAnybody willing to try? -
artemmaor full code at
*** arcean has joined #sailfishos16:19
coderusthesignal: put column inside SilicaFlickable16:20
thesignalcoderus: anything else? because it didn't change16:22
coderusthesignal: just do it in proper way16:23
thesignalcoderus: i don't understand. i put the column in a silicaflickable, anchors.fill:parent and inside the column i'm creating the listelements with a repeater16:24
thesignalas you suggested16:24
*** shadeslayer has quit IRC16:25
coderusis your column content height bigger than screen height to be scrolled?16:25
*** Kabouik_ has joined #sailfishos16:25
*** shadeslayer has joined #sailfishos16:25
*** DarkSim has joined #sailfishos16:26
thesignalcoderus: yes16:26
*** Kabouik has quit IRC16:28
coderusthen set flickable contentHeight: column.height16:28
thesignalcoderus: doesn't help :/16:32
coderusthen share your qml file to to give you help16:33
*** Kabouik has joined #sailfishos16:34
thesignalthanks in advance16:35
*** Kabouik_ has quit IRC16:36
coderusremove anchors from column16:37
coderusthesignal: you need to set  only column width16:38
*** mielpops has quit IRC16:38
thesignalcoderus: i removed the anchors. removed the height16:39
thesignalit's scrollable now, thanks16:39
coderusthesignal: and remove height from column16:39
*** Kabouik_ has joined #sailfishos16:40
thesignalcoderus: it works now, but the last item in the list cant be seen whole16:40
*** arcean has quit IRC16:42
*** arcean has joined #sailfishos16:42
coderusput PageHeader in flickable, not column16:42
*** Kabouik has quit IRC16:43
*** Kabouik_ has quit IRC16:45
artemmathesignal: as a debugging technique for layouts I like putting semi-transparent colorful Rectangles into whatever I want to see real size of16:45
artemmaand then sometimes I use small margins to see where the actual border is16:45
artemmaI mean this test Rectangle would be anchors.fill: parent16:46
*** Kabouik has joined #sailfishos16:46
thesignalartemma: thanks for that trick, sounds like a good idea16:46
thesignalcoderus: moving PageHeader breaks the view, images overlap the header and i can't scroll to the bottom. if i change the itemsize of a listelement (removing the divide by 2) it works16:47
artemmaAnybody with a real device here? Please, try my RPM for controlling camera flash -
artemmathesignal: I think PageHeader also takes space16:49
artemmaso column needs to be not anchors.fill:parent16:49
*** krabador has quit IRC16:49
artemmabut pageneader.bottom16:49
coderusthesignal: you need to set column top to header top this way16:50
thesignalartemma: i already removed anchors.fill : parent from column. and i also tried : pageheader.bottom16:51
thesignalcoderus: what do you mean?16:52
artemmawell, try colored rectangles to see where the actual borders are :) Might be a mistake in which anchors you use16:52
*** mielpops has joined #sailfishos16:53
*** faenil has joined #sailfishos16:54
*** disharmonic has joined #sailfishos16:54
thesignalartemma: i think i found out, it says QML Image: Cannot anchor to an item that isn't a parent or sibling.16:56
*** ericcc has quit IRC16:56
thesignalbut i don't know what that means16:56
artemmahere you got it16:56
thesignalcolumn and pageheader are in the same silicaflickable16:56
artemmawell, you can only anchor to a parent or sibling :)16:56
artemmaapparently you are trying to anchor to something else16:56
thesignalhm... i gave the pageheader the id pagehead, then i did in column: pagehead.bottom16:57
thesignalah no no no16:58
artemmano-no, look what image is anchored to. That's what gives the error16:58
thesignali'm an idiot, i did this in the image16:58
thesignalit works now :D16:58
*** Summeli has joined #sailfishos17:03
*** triggerhappy has quit IRC17:03
*** master_of_master has joined #sailfishos17:06
*** master_o1_master has quit IRC17:07
artemmau r welcome17:08
*** thedead1440 has joined #sailfishos17:10
faenilSummeli, did you get the invite? :)17:16
* artemma keeps wondering about the second preordering wave schedules. There's a chance that hardware for the 2nd wave will be a little better (there are often issues with the very first build), but.. it will come later 17:17
*** arcean_ has joined #sailfishos17:19
*** Venemo has quit IRC17:20
*** mielpops has quit IRC17:21
*** arcean has quit IRC17:23
*** arcean_ is now known as arcean17:25
*** Kabouik_ has joined #sailfishos17:30
*** Kabouik has quit IRC17:32
*** Custodian has quit IRC17:33
*** Venemo has joined #sailfishos17:37
Summelifaenil: invite? no I didn't17:40
faenilSummeli, oki17:42
*** mielpops has joined #sailfishos17:47
*** jjanvier has joined #sailfishos18:00
*** Kabouik has joined #sailfishos18:01
*** Kabouik_ has quit IRC18:03
*** Kabouik_ has joined #sailfishos18:04
*** Kabouik has quit IRC18:07
*** w00t has quit IRC18:12
*** special has quit IRC18:15
*** itbaron has quit IRC18:25
*** diegoyam_ is now known as diegoyam18:27
*** Pat_o has quit IRC18:34
*** special has joined #sailfishos18:41
*** Venemo has quit IRC18:41
*** w00t has joined #sailfishos18:42
*** Venemo has joined #sailfishos18:44
*** martyone has quit IRC19:03
*** Taduro has quit IRC19:05
*** Taduro has joined #sailfishos19:08
*** amizraa has quit IRC19:11
*** Taduro has quit IRC19:12
*** martyone has joined #sailfishos19:15
*** Taduro__ has joined #sailfishos19:16
*** Taduro__ has quit IRC19:24
*** Taduro_ has joined #sailfishos19:25
*** Snurppa has joined #sailfishos19:28
*** Heis has quit IRC19:33
*** Heis has joined #sailfishos19:36
*** Taduro___ has joined #sailfishos19:38
*** Taduro_ has quit IRC19:41
*** Venemo has quit IRC19:47
*** Venemo has joined #sailfishos19:50
*** sababa has quit IRC19:57
*** Blizzz has quit IRC20:07
*** furikku has quit IRC20:07
*** Kabouik has joined #sailfishos20:08
*** Kabouik_ has quit IRC20:11
*** Kabouik_ has joined #sailfishos20:13
*** Kabouik has quit IRC20:15
*** Kabouik_ has quit IRC20:24
*** Kabouik has joined #sailfishos20:25
*** Kabouik has quit IRC20:37
*** Kabouik has joined #sailfishos20:40
*** mielpops has quit IRC20:40
*** RoKenn has quit IRC20:40
*** artemma has quit IRC20:42
*** artemma has joined #sailfishos20:46
*** Kabouik has quit IRC20:47
*** Kabouik has joined #sailfishos20:49
*** mielpops has joined #sailfishos20:53
*** Kabouik has quit IRC20:57
*** jjanvier has quit IRC21:02
*** Taduro___ has quit IRC21:02
*** jjanvier has joined #sailfishos21:04
*** meShell_ has joined #sailfishos21:04
*** Venemo has quit IRC21:09
*** 17WAADH9P has joined #sailfishos21:10
*** Venemo has joined #sailfishos21:10
*** shadeslayer has quit IRC21:13
*** artemma has quit IRC21:14
*** shadeslayer has joined #sailfishos21:14
*** artemma has joined #sailfishos21:15
*** Kabouik has joined #sailfishos21:19
*** 17WAADH9P is now known as Taduro21:26
*** artemma has quit IRC21:26
*** sdjayna1 has quit IRC21:32
*** M4rtinK has joined #sailfishos21:32
*** sdjayna has joined #sailfishos21:36
*** jjanvier has quit IRC21:43
*** Finleida_ has quit IRC21:50
*** RoKenn has joined #sailfishos21:54
*** Venemo has quit IRC22:05
*** disharmonic has quit IRC22:07
*** Eztran has joined #sailfishos22:09
*** mielpops has quit IRC22:12
*** Venemo has joined #sailfishos22:16
*** Blizzz has joined #sailfishos22:22
*** RoKenn has quit IRC22:24
*** mielpops has joined #sailfishos22:27
*** RoKenn has joined #sailfishos22:33
*** Taduro has quit IRC22:45
*** Taduro_ has joined #sailfishos22:48
*** martyone has quit IRC22:54
*** Venemo has quit IRC23:17
*** Venemo has joined #sailfishos23:18
*** MFaro-Tusino has joined #sailfishos23:18
*** Taduro_ has quit IRC23:20
*** Taduro has joined #sailfishos23:23
*** MFaro-Tusino_ has joined #sailfishos23:23
*** MFaro-Tusino has quit IRC23:23
*** MFaro-Tusino_ has quit IRC23:23
*** Eismann has quit IRC23:24
*** Bloob has quit IRC23:33
*** DarkSim has quit IRC23:40
*** Morpog_PC has quit IRC23:59

Generated by 2.17.1 by Marius Gedminas - find it at!