Sunday, 2014-02-16

*** mk2soldier has joined #sailfishos00:00
*** phaeron has joined #sailfishos00:00
*** spider-mario has joined #sailfishos00:00
*** KangOl has quit IRC00:00
*** disharmonic has quit IRC00:01
*** b0rkb0rk has joined #sailfishos00:01
*** RoKenn has quit IRC00:05
*** spider-mario has quit IRC00:11
*** Andy80 has quit IRC00:12
*** Van_ess0_ has quit IRC00:12
*** Kail-2i3 has joined #sailfishos00:13
*** Nichope has quit IRC00:14
*** Morpog_PC has quit IRC00:15
*** rengel has quit IRC00:26
*** Kail-2i3 is now known as Nichope00:26
*** radekp has joined #sailfishos00:26
*** Nichope has quit IRC00:26
*** Nichope has joined #sailfishos00:27
*** rengel has joined #sailfishos00:27
*** Bryal has quit IRC00:33
*** raa70 has quit IRC00:33
*** raa70 has joined #sailfishos00:34
*** wickwire has quit IRC00:37
*** DarkSim has quit IRC00:41
*** raa70 has quit IRC00:45
*** Nichope has quit IRC00:45
*** Nichope has joined #sailfishos00:46
*** Lloir-Away has quit IRC00:49
*** jusics has quit IRC00:49
*** wickwire has joined #sailfishos00:50
*** AL13N_jolla_ has quit IRC00:50
*** AL13N_jolla_ has joined #sailfishos00:50
*** jusics has joined #sailfishos00:50
*** AL13N_jolla_ has quit IRC00:50
*** mk2soldier has quit IRC00:51
*** magog has quit IRC00:55
*** nahka^ has quit IRC00:57
*** radekp has quit IRC01:02
*** rashm2k has quit IRC01:06
*** jjanvier has joined #sailfishos01:11
*** b0rkb0rk has quit IRC01:11
*** amonk has joined #sailfishos01:17
*** M4rtinK has quit IRC01:17
*** amonk has quit IRC01:21
*** phaeron has quit IRC01:25
*** Nichope has quit IRC01:28
*** Nichope has joined #sailfishos01:28
*** BeholdMyGlory has quit IRC01:34
*** wickwire has quit IRC01:39
*** amonk has joined #sailfishos01:39
*** Mossepo has quit IRC01:40
*** guardianx has joined #sailfishos01:49
*** jjanvier has quit IRC02:03
*** Kabouik has quit IRC02:06
*** Guest6566 has quit IRC02:06
*** w00tc0d3 has joined #sailfishos02:08
*** softmetz has joined #sailfishos02:08
*** w00tc0d3 is now known as Guest3632702:08
*** Kabouik has joined #sailfishos02:10
*** softmetz_ has quit IRC02:11
*** tanghus_ has quit IRC02:20
*** Kabouik has quit IRC02:27
*** triggerhappy has joined #sailfishos02:33
*** artemma has joined #sailfishos02:37
*** gigetoo has quit IRC02:37
*** gigetoo has joined #sailfishos02:39
*** Morpog_Mobile has quit IRC02:59
*** artemma has quit IRC03:00
*** reviewjolla has quit IRC03:18
*** furikku has joined #sailfishos03:37
*** Morpog_Mobile has joined #sailfishos03:41
*** Kabouik_ has quit IRC03:42
*** Morpog_Mobile has quit IRC03:58
*** Thoric has quit IRC04:04
*** Guest36327 has quit IRC04:15
*** Thoric has joined #sailfishos04:16
*** w00tc0d3 has joined #sailfishos04:17
*** w00tc0d3 is now known as Guest7822804:17
*** guardianx has quit IRC04:25
*** sebsauer has joined #sailfishos04:28
*** Morpog_Mobile has joined #sailfishos04:44
*** sebsauer has quit IRC04:59
*** toartist has joined #sailfishos05:18
toartistget a free vpshttp://api.3jelly.com/redir/48046705:19
toartistget a free vps http://api.3jelly.com/redir/48046705:19
*** phdeswer has quit IRC05:27
*** phdeswer has joined #sailfishos05:27
*** Jettis has quit IRC05:37
*** Pat_o has joined #sailfishos06:01
*** planasb has quit IRC06:05
*** toartist_ has joined #sailfishos06:16
*** toartist has quit IRC06:18
*** roric has joined #sailfishos06:55
*** jjarven has quit IRC07:05
*** Sailor5543_ has joined #sailfishos07:06
*** Pat_o has quit IRC07:07
*** jjarven has joined #sailfishos07:24
*** Bloob has joined #sailfishos07:43
*** toartist has joined #sailfishos07:53
*** toartist_ has quit IRC07:54
*** Zesty_ has quit IRC07:58
*** freddeloy2 has joined #sailfishos08:00
*** Morpog_Mobile has quit IRC08:01
*** Zesty_ has joined #sailfishos08:01
*** toartist_ has joined #sailfishos08:06
*** Morpog_Mobile has joined #sailfishos08:07
*** toartist has quit IRC08:08
*** phdeswer has quit IRC08:10
*** Marenz has quit IRC08:12
*** juhe has joined #sailfishos08:16
*** phdeswer has joined #sailfishos08:17
*** Pat_o has joined #sailfishos08:25
*** Sailor5543_ has quit IRC08:26
*** Sailor5543_ has joined #sailfishos08:27
*** Marenz has joined #sailfishos08:28
*** tace has joined #sailfishos08:32
*** tace has quit IRC08:32
*** tace has joined #sailfishos08:32
*** tace has quit IRC08:34
*** blubdibub has joined #sailfishos08:36
*** Sailor5543 has joined #sailfishos08:47
*** Hurrian has quit IRC08:48
*** Sailor5543_ has quit IRC08:51
*** john24 has joined #sailfishos08:52
john24good morning08:52
john24coudl anyone help me out sql?08:53
coderus john24 sure08:53
john24hi coderus :)08:53
john24var query = "CREATE TABLE IF NOT EXISTS Settings2(HomePath TEXT DEFAULT 'file:///')";08:53
john24it does not seem to make it default to file:///08:53
john24when i try to look it up I get Cannot read property 'HomePath' of undefined08:54
*** martyone has joined #sailfishos08:55
coderustry to escape \'08:56
john24sorry, what do you mean by escape \' ?08:57
*** Pat_o has quit IRC09:00
*** stephg has joined #sailfishos09:09
AL13Nheh09:10
*** Pat_o has joined #sailfishos09:14
john24seems like TEXT can't have a default value09:17
john24what else can I use instead of text?09:17
stephgmorning everyone09:17
*** Sir_herrbatka has joined #sailfishos09:20
AL13Nanyone here used VideoOutput  + MediaPlayer before?09:24
AL13Ncoderus: rcg: i checked the gallery video qml and it seems they are using the same VideoOutput + MediaPlayer approach...09:25
AL13Nbut why is it failing for me?09:25
AL13N(and those others)09:25
specialhow are you starting the app?09:26
AL13Ni send emails to the sailfishos ML09:26
AL13Nspecial: qml only09:26
specialvia the icon on homescreen, or ssh, or something else?09:26
specialthere are some special things in environment that video requires, that's one potential reason09:27
AL13NPage { SilicaFlickable { Rectangle { VideoOuput { source: mediaPlayer } MediaPlayer { id: mediaPlayer source: '/home/nemo/Videos/Camera/file.mp4' } } } }09:27
AL13Nqmlscene09:27
AL13Nic09:27
specialas long as you're launching via the homescreen and a .desktop file that shouldn't be a problem09:27
AL13Nnow that you're saying this, if i ssh, i do see something about ignoring a GST env variable09:27
AL13Nspecial: do you have an idea where the .desktop files are located?09:28
special/usr/share/applications09:28
AL13Ni'll copy paste one and try09:28
AL13Nthanks09:28
AL13Ngtg, bbiab09:28
*** Sailor5543_ has joined #sailfishos09:29
*** Sailor5543 has quit IRC09:31
*** Morpog_PC has joined #sailfishos09:33
*** juhe has quit IRC09:33
*** juhe1 has joined #sailfishos09:33
*** john24 has quit IRC09:41
*** Jettis has joined #sailfishos09:44
*** mk2soldier has joined #sailfishos09:45
*** martyone has quit IRC09:46
*** vesurivs has joined #sailfishos09:49
*** tango_ has quit IRC09:52
*** fk_lx has joined #sailfishos09:58
*** clau has joined #sailfishos09:59
*** clau has joined #sailfishos09:59
*** eppe has joined #sailfishos10:02
*** Van_ess0_ has joined #sailfishos10:04
coderusAL13N: text can have default value10:04
coderusbut i didnt tried it10:04
coderusyou need to escape ' with \' i think10:05
*** eppe has quit IRC10:05
*** KangOl has joined #sailfishos10:05
*** martyone has joined #sailfishos10:06
*** arcean has joined #sailfishos10:08
AL13Ncoderus: i'm just laughing cause that would mean that it's vulnerable to sql injection10:09
AL13Nspecial: ok, so i tried with desktop file, but no deal10:09
AL13Nspecial: well, it's qml only, so i don't have executable like all the others have10:09
specialqmlscene is an executable10:10
AL13Nso i used qmlscene executable in the .desktop file10:10
AL13Ni looked at the media player some more10:10
AL13Nand i notice there's a qmldir file10:10
*** arcean has quit IRC10:10
AL13Nand in it a plugin referring to libmediaplayer.so10:10
specialprobably just some helpers for the UI?10:10
AL13Nis this library needed somehow to make MediaPlayer working?10:10
*** thomasgubler_ is now known as thomasgubler10:11
AL13Nspecial: i'm just out of ideas... do you know if the jolla gallery video developer is sometimes here?10:12
Stskeepsdo you do resource usage declaration or how's it10:12
specialStskeeps: I believe qtmultimedia does it10:13
*** ced117 has quit IRC10:13
specialAL13N: nothing in that plugin is relevant to playback.10:13
Stskeepsisn't it GStreamerVideoOutput10:15
Stskeepsalso, you have a typo in your qml10:15
StskeepsVideoOuput10:15
AL13Nah yes, but that's not the real thing10:17
AL13NStskeeps: i read about GstreamerVideoOutput10:17
AL13Nbut i couldn't find what i needed to import to get that type10:17
AL13Nand the gallery video player uses VideoOutput10:18
AL13NStskeeps: i'll make a short reproducer and pastebin here10:18
*** Kail-2i3 has joined #sailfishos10:21
specialzchydem might know more if he's around10:21
specialbut it's sunday, so I hope he isn't10:22
*** Sail0r has joined #sailfishos10:22
*** arcean1 has joined #sailfishos10:22
*** Nichope has quit IRC10:23
*** Kail-2i3 has quit IRC10:25
*** Nichope has joined #sailfishos10:25
*** arcean1 has quit IRC10:25
AL13Nspecial: Stskeeps: zchydem: http://pastebin.com/HNNu0rVy <-- this is my short reproducer10:26
*** arcean_ has joined #sailfishos10:26
AL13NStskeeps: if you think GStreamVideoOutput will help, i can use it, but what would i need to import?10:26
*** arcean1 has joined #sailfishos10:26
*** arcean1 has quit IRC10:27
AL13Nperhaps i'm doing something wrong in my main.qml file? "anyway, just use /usr/lib/qt5/bin/qmlscene /home/nemo/testvideo2/main.qml"10:27
*** arcean_ has quit IRC10:27
AL13Ni just get "Internal data stream error"10:27
AL13Nif any of you have an idea, or an approach or whatever, plz... all suggestions are welcome10:28
AL13Nalso, the ML contains unanswered emails with those issues, i replied to that thread10:30
*** mk2soldier has quit IRC10:30
*** juhe1 has quit IRC10:31
coderusAL13N: just try to build simple boosted project, not just qmlscene, and launch it privileged.10:33
specialprivileged isn't required and I can't think of anything in the booster that would be relevant10:34
coderusjust generating ideas. i can't test it myself :)10:34
AL13Nmaybe that env variable has something to do with it10:39
AL13NQT_GSTREAMER_CAMERA_BIN_FLAGS=1510:39
specialthat is important, yes10:39
AL13Nwhen i ssh in, i get: NOTICE: Env value ignored QT_GSTREAMER_CAMERABIN_FLAGS=1510:39
specialif that doesn't appear in /proc/PID/environ for your process, it's the problem10:40
*** juhe has joined #sailfishos10:41
AL13Ni executed with env QT_... qmlscene ...main.qml10:42
AL13Nno difference10:42
AL13Ngonna check the /proc10:42
*** KangOl has quit IRC10:42
AL13Nno, it made no diff, because that env was already there10:45
*** nahka^ has joined #sailfishos10:45
AL13Nspecial: so, that's not it :-)10:45
*** jstaniek has joined #sailfishos10:45
*** artemma has joined #sailfishos10:54
*** coolmouse has joined #sailfishos10:56
AL13Nalso, executing jolla-gallery from cmdline works too :-)10:59
*** wickwire has joined #sailfishos11:02
*** lpotter has quit IRC11:02
*** lpotter has joined #sailfishos11:03
*** KangOl has joined #sailfishos11:03
*** mk2soldier has joined #sailfishos11:04
*** M4rtinK has joined #sailfishos11:08
*** RobertMe has joined #sailfishos11:12
*** BeholdMyGlory has joined #sailfishos11:12
*** freddeloy2 has quit IRC11:17
*** danielwf has joined #sailfishos11:19
*** coolmouse has quit IRC11:20
*** jonpacker has joined #sailfishos11:20
*** kontio has quit IRC11:20
*** stephg has quit IRC11:21
*** mornfall has quit IRC11:23
*** mwfc has quit IRC11:25
*** mornfall has joined #sailfishos11:25
*** tg has quit IRC11:26
*** phaeron has joined #sailfishos11:27
*** rashm2k has joined #sailfishos11:28
*** tg has joined #sailfishos11:30
*** stephg has joined #sailfishos11:30
*** mwfc has joined #sailfishos11:31
*** jjanvier has joined #sailfishos11:33
*** freedomrun has joined #sailfishos11:33
*** bwallberg has joined #sailfishos11:35
*** Andy80 has joined #sailfishos11:35
*** Andy80 has quit IRC11:35
*** Andy80 has joined #sailfishos11:35
*** arcean has joined #sailfishos11:35
*** bwallberg has quit IRC11:38
*** Eztran has joined #sailfishos11:39
*** mwfc has quit IRC11:44
*** tg has quit IRC11:44
*** tg has joined #sailfishos11:47
*** mwfc has joined #sailfishos11:50
*** RobertMe has quit IRC11:50
*** clau has quit IRC11:50
*** arcean has quit IRC11:52
*** arcean has joined #sailfishos11:53
*** kimmoli____ has joined #sailfishos11:55
*** magog has joined #sailfishos11:56
*** RobertMe has joined #sailfishos11:58
*** itbaron has joined #sailfishos12:03
*** kimmoli____ has quit IRC12:05
*** arcean has quit IRC12:08
*** Kabouik has joined #sailfishos12:09
*** jonpacker has quit IRC12:11
*** arcean has joined #sailfishos12:11
*** Sail0r has quit IRC12:12
*** KangOl has quit IRC12:12
*** Sail0r has joined #sailfishos12:14
*** b0rkb0rk has joined #sailfishos12:15
*** martyone has quit IRC12:17
*** Hurrian has joined #sailfishos12:18
*** arcean has quit IRC12:20
*** martyone has joined #sailfishos12:21
*** clau has joined #sailfishos12:23
*** spider-mario has joined #sailfishos12:28
*** danielwf has quit IRC12:29
*** b0rkb0rk has quit IRC12:31
*** juhe has quit IRC12:32
*** jjanvier has quit IRC12:38
*** jjanvier_ has joined #sailfishos12:39
*** freedomrun has quit IRC12:49
*** Mossepo has joined #sailfishos12:51
*** zippo has joined #sailfishos12:54
*** zippo has quit IRC12:56
*** KangOl has joined #sailfishos12:58
*** Sail0r has quit IRC13:06
*** Sail0r has joined #sailfishos13:06
*** stephg has quit IRC13:06
*** stephg has joined #sailfishos13:06
*** M4rtinK has quit IRC13:13
*** thrakcattack has quit IRC13:16
*** thrakcattack has joined #sailfishos13:18
*** Morpog_Mobile has quit IRC13:19
*** Sail0r has quit IRC13:21
*** Sail0r has joined #sailfishos13:22
*** raa70 has joined #sailfishos13:26
*** Sail0r has quit IRC13:26
*** Sail0r has joined #sailfishos13:32
*** Venemo has joined #sailfishos13:37
*** juhe has joined #sailfishos13:39
*** amonk has quit IRC13:42
*** BearT has quit IRC13:43
*** BearT has joined #sailfishos13:43
BearTis it possible to dynamically add MenuItems to a ComboBox from JavaScript or do I need to fake my own ComboBox using ListView or something similar?13:45
*** Aoyagi has joined #sailfishos13:46
*** Aoyagi has left #sailfishos13:46
*** Aoyagi has joined #sailfishos13:47
*** Aoyagi has left #sailfishos13:47
*** clau has quit IRC13:56
*** M4rtinK has joined #sailfishos14:03
*** bnvk has quit IRC14:06
BearTfyi, it's only possible to create the whole ContextMenu object dynamically via Qt.createQmlObject. there seems to be no support for adding MenuItems. I guess it's not overly efficient, but it seems ok if one really needs the ComboBox to be dynamic.14:12
*** Morpog_Mobile has joined #sailfishos14:14
*** rashm2k has quit IRC14:20
*** Andy80 has quit IRC14:22
*** tango_ has joined #sailfishos14:23
*** blaamann1 has joined #sailfishos14:23
*** blaamann has quit IRC14:25
*** tango_ has quit IRC14:26
*** tango_ has joined #sailfishos14:27
*** Zesty_ has quit IRC14:29
*** ced117_ has joined #sailfishos14:30
*** Zesty_ has joined #sailfishos14:30
*** ced117_ is now known as ced11714:32
*** ced117 has joined #sailfishos14:32
*** RoKenn has joined #sailfishos14:35
*** Pat_o has quit IRC14:36
*** Pat_o has joined #sailfishos14:37
*** toartist_ has quit IRC14:38
coderusBearT: use Repeater inside ComboBox14:47
*** phaeron has quit IRC14:50
*** Pat_o has quit IRC14:54
*** m4g0g has joined #sailfishos14:57
*** Pat_o has joined #sailfishos14:58
*** disharmonic has joined #sailfishos14:58
BearTcoderus: thanks, I haven't seen that so far. I'll take a look at it15:02
*** martyone has quit IRC15:03
*** c0ck4m0u53 has joined #sailfishos15:03
*** phaeron has joined #sailfishos15:06
*** dhbiker has joined #sailfishos15:08
*** Sailor5543 has joined #sailfishos15:12
*** Sailor5543_ has quit IRC15:13
*** Sailor5543_ has joined #sailfishos15:13
*** Sailor5543 has quit IRC15:16
*** jjanvier_ has quit IRC15:17
*** jjanvier__ has joined #sailfishos15:17
*** Pat_o has quit IRC15:18
*** raa70 has quit IRC15:18
*** phdeswer has quit IRC15:21
*** Morpog_Mobile has quit IRC15:23
*** phdeswer has joined #sailfishos15:24
*** DrIDK has joined #sailfishos15:24
*** Morpog_Mobile has joined #sailfishos15:29
*** stephg has quit IRC15:29
*** Zesty_ has quit IRC15:36
*** Zesty_ has joined #sailfishos15:37
*** Superpelican_ has joined #sailfishos15:46
*** jjanvier__ has quit IRC15:48
*** jjanvier__ has joined #sailfishos15:49
*** spider-mario has quit IRC15:54
*** m4g0g has quit IRC15:55
*** m4nn3rrz has quit IRC15:57
*** Sail0r has quit IRC15:59
* kimmoli ashamed to ask: do i need something special to get "import Sailfish.Media 1.0" working? or is it just there?16:01
*** kimmoli____ has joined #sailfishos16:02
*** kimmoli____ has joined #sailfishos16:03
*** nephros has quit IRC16:04
*** zen|merge has quit IRC16:06
*** Korthes has joined #sailfishos16:07
*** Korthes has joined #sailfishos16:07
*** freddeloy2 has joined #sailfishos16:07
*** docent has quit IRC16:09
*** jjanvier has joined #sailfishos16:12
*** jjanvier__ has quit IRC16:12
*** nephros has joined #sailfishos16:12
coderusjust use it16:13
*** martyone has joined #sailfishos16:13
*** Sailor5543 has joined #sailfishos16:14
*** Sailor5543_ has quit IRC16:17
*** Superpelican has joined #sailfishos16:20
*** Superpelican_ has quit IRC16:21
*** bobcomp has joined #sailfishos16:22
bobcompHi, is there anyone working with Sailfish programming here?16:23
*** ericcc has joined #sailfishos16:24
tbrbobcomp: most people do, in some capacity16:24
bobcompIs there anyone who can tell me how to print a variable I get from some javascript code to a Sailfish Application? I'm using label (which isn't working for me), or is there another way?16:25
bobcomp...so what I'm doing is text: variable16:26
*** Sail0r has joined #sailfishos16:27
*** phaeron has quit IRC16:28
*** kimmoli____ has quit IRC16:28
*** kimmoli____ has joined #sailfishos16:29
AL13Nconsole.debug() or console.log() or console.warn()16:33
AL13Nbobcomp: ^^ ?16:33
bobcomp'How would I, in QML and Sailfish print a variable I made in javascript?16:34
bobcompI hope that makes more sense16:34
AL13Nprint to console?16:34
AL13Nor put that in QML somewhere visible to the end-user16:34
*** rashm2k has joined #sailfishos16:35
bobcompVisible to the end user, kind of like using the Label { function.16:37
AL13Nwell, tbh: i tried to do so in an app, but failed16:38
AL13Ni did Label { text: variable }16:39
AL13Nbut it didn't show anything16:39
bobcompThat's exactly what I did. Doesn't work unfortunately, any other ideas?16:39
*** Kabouik has quit IRC16:40
AL13Nno idea, but since for me it was really more for debugging, i used console.debug()16:40
*** Kabouik has joined #sailfishos16:40
AL13Ni suspect weekends are low here on non-idle peopel16:40
*** rashm2k has quit IRC16:41
*** Nightmare0 has joined #sailfishos16:41
*** rashm2k has joined #sailfishos16:41
bobcompI guess so, I'll try a little later... Thanks though!16:42
*** bobcomp has quit IRC16:42
coderus???16:42
coderusvar something = javaScriptFunction()16:42
coderuslabel.text = something16:43
*** HarhaanJohtaja has joined #sailfishos16:46
*** m4g0g has joined #sailfishos16:48
*** kimmoli____ has quit IRC16:50
*** Sailor5543_ has joined #sailfishos16:51
*** Sailor5543 has quit IRC16:54
*** Nightmare0 has quit IRC16:55
*** phaeron has joined #sailfishos16:57
BearTis there a good tutorial about the scope of the id: stuff. i have a SilicaListView with id: listView and inside its header: section i have another id: inHeaderId16:57
BearTin my Component.onCompleted i can access the listView id, but  i can't access inHeaderId. QML says it's not defined16:57
*** martyone has quit IRC16:58
*** phlixi_ has joined #sailfishos17:00
*** n0rman has quit IRC17:01
*** w00tc0d3 has joined #sailfishos17:02
*** kavuri has joined #sailfishos17:02
*** Superpelican_ has joined #sailfishos17:02
*** clopez has quit IRC17:02
*** lynxis_ has joined #sailfishos17:02
*** rashm2k1 has joined #sailfishos17:02
*** w00tc0d3 is now known as Guest3246617:02
*** BitEvil has joined #sailfishos17:02
*** piggz has joined #sailfishos17:02
*** clopez_ has joined #sailfishos17:02
*** mk2soldier has quit IRC17:03
*** Seilori has joined #sailfishos17:04
*** sjtoik_ has joined #sailfishos17:04
*** zacce_ has joined #sailfishos17:04
*** Tofe|Away is now known as Tofe17:04
*** datagutt_ has joined #sailfishos17:04
VenemoBearT: generally, the answer is "it depends"17:05
*** Seilori has left #sailfishos17:06
BearTVenemo: might it be a problem with Components, ie. that id: fields from components are only valid inside the component?17:08
*** rashm2k has quit IRC17:08
*** Superpelican has quit IRC17:08
*** phdeswer has quit IRC17:08
*** Eztran has quit IRC17:08
*** Guest78228 has quit IRC17:08
*** piggz__ has quit IRC17:08
*** lynxis has quit IRC17:08
*** mps has quit IRC17:08
*** veimis has quit IRC17:08
*** phlixi has quit IRC17:08
*** zacce has quit IRC17:08
*** SpeedEvil has quit IRC17:08
*** datagutt has quit IRC17:08
*** sjtoik has quit IRC17:08
*** vgrade_ has quit IRC17:08
VenemoBearT: yes, that's true17:08
VenemoBearT: however things inside the component can access things outside the compinent, AFAIK17:08
*** phlixi_ is now known as phlixi17:08
*** clau has joined #sailfishos17:08
*** clau has joined #sailfishos17:08
*** m4g0g has quit IRC17:09
BearTVenemo: any way to work around that? the problem is i have some dynamic content and needs to be somehow fed into the header component of my list view17:09
*** veimis has joined #sailfishos17:10
*** vgrade has joined #sailfishos17:10
*** leinir has quit IRC17:10
VenemoBearT: yes, I just told you how to17:11
Venemo[18:08] <Venemo> BearT: however things inside the component can access things outside the compinent, AFAIK17:11
*** martyone has joined #sailfishos17:12
*** leinir has joined #sailfishos17:12
Venemofor example: create a property somewhere, set the dynamic content to that property and then bind the text of the header to it17:12
*** mps has joined #sailfishos17:13
*** docent has joined #sailfishos17:14
BearTVenemo: I've read that, but I didn't understand. So I have a global content property in my file and inside my component I check for the onContentChanged and do the stuff i need, don't i?17:14
BearTVenemo: is it that what you meant?17:14
Venemowell, I don't see your code so I can't be more specific17:15
Venemobut if you want to do what I think you want to do, then yes17:15
*** Sir_herrbatka has quit IRC17:15
*** phdeswer has joined #sailfishos17:15
*** DarkSim has joined #sailfishos17:17
BearTVenomo: thanks for your help. the code is no secret, but i thought it wasn't necessary.17:18
*** leinir_ has joined #sailfishos17:19
BearTI'm actually trying to build some kind of double ComboBox where the choice of the first option changes the second menu/list view. I need that for a filter selection, ie. choose the filter type in the main ComboBox and the actual filter value in the list view.17:19
*** leinir has quit IRC17:20
*** leinir_ is now known as leinir17:21
*** max87 has joined #sailfishos17:21
RobertMehow would I push an attached page on the pageStack? doing pageStack.pushAttached in the Component.onComplete handler yields the not so nice "Error: Cannot pushAttached while operation is in progress: push" message17:26
*** Sir_herrbatka has joined #sailfishos17:26
RobertMeso is there some other way to set the forward page, or is pushAttached the only way and do I need to use a timer to push it after a small delay17:27
BearTRobertMe: there is a page.status property, that tells you if the animation is finished. but i tried that once and afair it was not triggered when the page was loaded the first time (or triggered before the animation finished, i don't remember exactly) iirc your best bet is with the timer17:28
RobertMehmm, okay, I already have some Timers for "push", but I hoped at least pushAttached would work without it17:29
*** louisdk has joined #sailfishos17:31
*** radiance has joined #sailfishos17:31
BearTRobertMe: i had a hacky solution when i tried that and posted the pastebin link in here, but I'm afraid the data has long been deleted on pastebin, even if you find that link in some logs. but yeah, neither push nor pushAttached made the "page stack busy" error message disappear17:33
RobertMeBearT: it indeed seems to be a serious limitation in the pageStack implementation, at least for pushAttached, but IMHO even for push, pop, ... operations17:36
RobertMeI don't think MeeGo/Harmattan had this limitation, but now Sailfish does :(17:36
*** Sir_herrbatka has quit IRC17:36
*** Sir_herrbatka has joined #sailfishos17:37
VenemoBearT: the status property works for me17:37
RobertMeVenemo: thanks, seems to trigger here also, let's see if calling pushAttached at that time also works17:40
RobertMeVenemo BearT: indeed seems to work just fine, onStatusChanged: { if (status === PageStatus.Active) { pageStack.pushAttached(Qt.resolvedUrl("PlaylistPage.qml")); } } works without a problem17:42
*** sequantz has joined #sailfishos17:42
*** Superpelican_ has quit IRC17:45
*** raa70 has joined #sailfishos17:47
*** Korthes has quit IRC17:52
*** pat_o_sf has quit IRC17:53
*** pat_o_sf has joined #sailfishos17:53
*** Eztran has joined #sailfishos17:54
*** n0rman has joined #sailfishos17:55
*** n0rman has joined #sailfishos17:55
*** Zotan has joined #sailfishos17:55
*** ericcc has quit IRC17:56
BearTVenemo: RobertMe: the test has been conducted before the last update. maybe there has been a fix, or i did something wrong. but thanks for clarifying that.17:57
BearTVenemo: btw. your tip concerning the component worked just fine. you helped me a lot. thanks again.17:58
artemmaguys, do you know who is "lanurmi"?17:59
VenemoBearT: any time :)17:59
Venemoartemma: I know jpnurmi but not lanurmi17:59
artemmaI am about to release the next HelloWorld Pro and would like to tweet about lots of input by lanurmi, but don't know his twitter handle17:59
artemmaVenemo: jpnurmi is different :)17:59
Venemook17:59
* artemma is ashamed, because he talked with GitHub's lanurmi here on IRC, but can't remember his IRC nick18:00
artemmaDoes anybody know an IRC client for mac where you can actually search history?18:00
Nicd-you don't save logs?18:00
tbrthis channel has public logs :)18:01
artemmaNicd-: I save logs, but they are just text files, don't have easy [enough] way to search them on mac18:02
Nicd-grep?18:03
Nicd-or cmd+space18:03
* artemma can use grep, but a UI person in general18:03
ln-artemma: _o/18:03
Nicd-artemma: use cmd+space or finder?18:04
artemmaln-" lanurmi? :)18:04
ln-artemma: that's right. :) i don't have a twitter account though.18:04
artemmaNicd-: finder's search isn't very good..18:05
artemmaln-: then how shall I tweet about you? :)18:05
*** jjarven has quit IRC18:05
artemmaln-: I just merged all your requests, added a bit more and about to do release right now18:05
artemmaln-: thanks a lot, HW Pro is way better now18:06
*** petantik has quit IRC18:06
*** petantik has joined #sailfishos18:06
ln-you're welcome18:06
*** furikku has quit IRC18:07
*** Kabouik has quit IRC18:08
*** mk2soldier has joined #sailfishos18:08
*** rauz has joined #sailfishos18:09
*** pat_o_sf has quit IRC18:09
ln-i don't know how should i be referred to in a tweet though, perhaps "ln-" is okay.18:09
*** zenvoid has quit IRC18:10
artemmatweeted18:10
*** DrIDK has quit IRC18:11
artemmarrr, I submitted Flashlight update to harbour 4 days ago, last "news" about it is that it went to QA, but it's status in dashboard is "Published"18:11
*** sequantz has quit IRC18:11
artemmaA server glitch and I need to resubmit it again now?18:11
artemmaanybody with contacts to harbour team here?18:12
Nicd-my SailTime went through but I found a bug in it already =)18:12
tbrartemma: not during weekends18:12
* artemma is really pissed off at the harbour / app store stability. Unknown statuses, no notifications, three weeks (!) for update to go through, disappeared screenshots and latest: no formatting in project descriptions anymore18:13
*** Mossepo has quit IRC18:13
*** pat_o_sf has joined #sailfishos18:13
artemmais app store an afterthough after the more important jolla topics?18:13
*** Mossepo has joined #sailfishos18:13
artemmaah, and not replying support email - that should be a biggest shame me thinks18:14
*** juhe has quit IRC18:15
artemmaokay resubmitted flashlight. Well, maybe this time it was me who didn't click Submit to QA button18:17
*** spider-mario has joined #sailfishos18:17
*** jjanvier has quit IRC18:17
*** jjanvier_ has joined #sailfishos18:17
*** pat_o_sf has quit IRC18:18
*** kimmoli____ has joined #sailfishos18:21
*** RobertMe has quit IRC18:23
*** jjanvier__ has joined #sailfishos18:23
*** jjanvier_ has quit IRC18:24
*** kimmoli____ has quit IRC18:24
*** kimmoli____ has joined #sailfishos18:25
*** BitEvil is now known as SpeedEvil18:26
*** kimmoli____ has quit IRC18:26
*** jjarven has joined #sailfishos18:29
radianceNexus 5 port when?18:30
*** vesurivs has quit IRC18:30
*** vesurivs has joined #sailfishos18:31
*** radiance has quit IRC18:31
*** RobertMe has joined #sailfishos18:31
*** freddeloy2 has quit IRC18:33
*** kontio has joined #sailfishos18:35
*** Venemo has quit IRC18:41
max87is there any galaxy s plus port of sailfish os18:41
*** Kabouik has joined #sailfishos18:41
*** jjanvier__ has quit IRC18:43
*** zenvoid has joined #sailfishos18:44
*** jjanvier__ has joined #sailfishos18:45
*** mk2soldier has quit IRC18:46
*** mk2soldier has joined #sailfishos18:46
*** zenvoid has quit IRC18:47
*** zenvoid has joined #sailfishos18:49
*** max87 has quit IRC18:49
*** max87 has joined #sailfishos18:50
*** zenvoid has quit IRC18:51
*** disharmonic has quit IRC18:51
*** zenvoid has joined #sailfishos18:53
*** zenvoid has quit IRC18:55
*** piggz has quit IRC18:56
*** zenvoid has joined #sailfishos18:56
*** miksuh has joined #sailfishos19:00
*** Superpelican[Jol has joined #sailfishos19:09
*** Superpelican[Jol has quit IRC19:10
*** Nightmare0 has joined #sailfishos19:11
*** mk2soldier has quit IRC19:11
*** Bloob has quit IRC19:12
*** Sail0r has quit IRC19:13
*** mk2soldier has joined #sailfishos19:13
*** Sail0r has joined #sailfishos19:14
*** master_of_master has joined #sailfishos19:17
*** Sail0r has quit IRC19:18
*** master_o1_master has quit IRC19:20
*** Sir_herrbatka has quit IRC19:21
*** Sir_herrbatka has joined #sailfishos19:21
*** Skorpy has quit IRC19:22
*** mk2soldier has quit IRC19:23
*** b0rkb0rk has joined #sailfishos19:24
*** mk2soldier has joined #sailfishos19:34
*** artemma has quit IRC19:38
*** Sail0r has joined #sailfishos19:39
*** Skorpy has joined #sailfishos19:40
*** AlmAck has joined #sailfishos19:46
*** KangOl has quit IRC19:47
*** nahka^ has quit IRC19:50
*** MarkD has joined #sailfishos19:52
*** Morpog_Mobile has quit IRC19:54
*** bnvk has joined #sailfishos19:55
*** mk2soldier has quit IRC19:55
*** mk2soldier has joined #sailfishos19:56
*** KangOl has joined #sailfishos20:01
*** Sail0r has quit IRC20:02
*** Sail0r has joined #sailfishos20:02
*** Sail0r has quit IRC20:03
*** MarkD has quit IRC20:05
*** Sail0r has joined #sailfishos20:11
*** kimmoli____ has joined #sailfishos20:13
*** Sir_herrbatka has quit IRC20:17
*** beford has joined #sailfishos20:17
*** beford has quit IRC20:20
*** martyone has quit IRC20:21
*** NRKA_ has joined #sailfishos20:24
*** ced117 has quit IRC20:24
NRKA_hi, does someone know where i can get the name of the current network i am on?. i assume it could be found in /proc some where.20:26
hoelzroNRKA_: for wifi?20:27
NRKA_yes20:27
hoelzrothere's probably a message you can send to connman20:27
*** zen|merge has joined #sailfishos20:27
hoelzroNRKA_: out of curiosity, why do you need to know the network name?20:27
NRKA_making a small bash rsync script to backup when i am on the rigth Network20:28
*** Korthes has joined #sailfishos20:28
hoelzronice20:29
*** alexxy has quit IRC20:29
tbrI'd recommend to query connman20:31
tbrit can probably give you more than what you'd get out of iwconfig20:32
NRKA_ok thanks20:32
tbrit has a dbus interface20:32
*** Kabouik_ has joined #sailfishos20:32
*** blubdibub has quit IRC20:33
hoelzro20:38
*** Morpog_Mobile has joined #sailfishos20:41
*** c0ck4m0u53 has quit IRC20:44
*** Nightmare0 has quit IRC20:44
*** Van_ess0 has joined #sailfishos20:50
*** Van_ess0_ has quit IRC20:50
*** kimmoli____ has quit IRC20:51
*** m4g0g has joined #sailfishos20:54
m4g0ghello20:55
*** AlmAck has quit IRC20:55
*** AlmAck has joined #sailfishos20:55
m4g0gI have json object : { "a": "a", "list": {"id1": {item1}, "id2": {item2}} } How I can get all items in order as in json?20:57
*** jjanvier__ has quit IRC20:57
tj____m4g0g, that's a hash table, usually you can't predict in which order the underlying implementation happens to return the keys if that's what you mean. if it's important, maybe you need to approach the problem from another perspective21:01
*** itbaron has quit IRC21:02
*** jjanvier__ has joined #sailfishos21:02
m4g0gtj____: order is very important for me and other perspective only one, in my opinion - use custom c++ model with sorting in needed way, because in json all items sorted21:05
*** Nichope has quit IRC21:05
coderusm4g0g: parse it manually21:06
*** clau has quit IRC21:07
*** Nichope has joined #sailfishos21:07
m4g0gcoderus: how?21:07
tj____or if you can alter the json data format, send the keys in desired order as a list using a known defined key for that21:09
m4g0gtj____: you mean I should take each field and push it to list to appropriate position?21:14
*** cxl000 has quit IRC21:15
*** NRKA_ has quit IRC21:15
tj____yeah, at the generating end you'd push a key to the end of a list each time you create an important key21:15
tj____when ready, put that list to the data structure like $data['key_order'] or something like that21:16
*** xth has joined #sailfishos21:16
tj____at the receiving end iterate the list contained as the value for 'key_order' key and process the data using the current value from the list as a key to the original hash table21:17
m4g0gall so complex :-(21:19
tj____that's a naive approach of course but it's rather difficult to judge what's the smart way to do it without really knowing what you're trying to accomplish in the big picture21:20
*** amonk has joined #sailfishos21:22
*** Tofe is now known as Tofe|Away21:23
*** Sail0r has quit IRC21:23
m4g0gi need to iterate through keys in object in ascending order21:25
*** freedomrun has joined #sailfishos21:29
*** Sailor5543_ has quit IRC21:39
*** RobertMe has quit IRC21:44
*** max87 has quit IRC21:45
*** Korppu has joined #sailfishos21:47
*** xth has quit IRC21:49
*** Korppu has quit IRC21:50
*** xth has joined #sailfishos21:53
*** KangOl has quit IRC21:58
*** amonk has quit IRC22:01
Nicd-oh yeah, just got to mark the first issue report for my app as invalid22:04
Nicd-I can feel the power flowing through me22:04
Nicd-it wasn't a bug, it was a feature :)22:04
m4g0gtj____: I did it by this way:22:08
m4g0ghttp://bpaste.net/show/OZtsyjl2xdpTN4vYcu4G/22:08
*** spider-mario has quit IRC22:10
*** fawzi has quit IRC22:12
*** auri__ has quit IRC22:12
*** mibrunin has quit IRC22:13
*** DarkSim has quit IRC22:18
*** KangOl has joined #sailfishos22:22
*** AlmAck has quit IRC22:25
*** HarhaanJohtaja has quit IRC22:33
*** auri__ has joined #sailfishos22:38
*** mibrunin has joined #sailfishos22:38
*** fawzi has joined #sailfishos22:40
*** Eztran has quit IRC22:47
*** m4g0g has quit IRC23:02
*** artemma has joined #sailfishos23:03
*** mk2soldier has quit IRC23:03
*** gusek has joined #sailfishos23:06
*** KangOl has quit IRC23:08
*** RoKenn has quit IRC23:11
*** louisdk has quit IRC23:13
*** Shaan7 has quit IRC23:30
*** Zotan has quit IRC23:30
*** Morpog_PC has quit IRC23:35
*** jjanvier__ has quit IRC23:36
*** artemma has quit IRC23:47
*** mornfall has quit IRC23:50
*** mornfall has joined #sailfishos23:50
*** jstaniek has quit IRC23:51

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!