IRC log of #harmattan for Tuesday, 2012-02-07

mgedminfaenil, email transfer involves multiple end-to-end TCP hops00:00
itsnotabigtruckyou can sign up here or here and make a public key that's linked to your e-mail address00:00
itsnotabigtruck(the e-mail certificate)00:00
itsnotabigtruckthen you send your e-mail certificate to everybody else00:01
itsnotabigtruckand they can send you encrypted messages using the certificate00:01
faeniland about pgp, the fact that it's based on a web of trust doesn't really make it that reliable00:01
itsnotabigtruckthat only you, with your private key, can decrypt00:01
itsnotabigtrucki.e. not your isp, the government, someone camped out by a wifi hotspot, etc.00:01
faenilyes but you have no guarantee about the authenticity of the certificate00:01
itsnotabigtruckfaenil: yeah...that's why it00:02
itsnotabigtruck*it's best if you can directly contact your correspondents and verify00:02
faenilexactly :)00:02
Venemook, reflash done, now enabling developer mode00:02
itsnotabigtruckbut either s/mime or pgp are 1000% better than nothing00:02
itsnotabigtruckthat's why it would be really nice to have s/mime on harmattan00:02
itsnotabigtruckbut since the e-mail client isn't OSS none of us can hack it in00:03
Venemofaenil, I'm trying to set up the device from scratch. assuming that something went wrong when restoring the backup00:03
faenilbut I did not know that ssl is hop-to-hop and thought tcp is end-to-end it still acts as hop-to-hop in this case00:03
itsnotabigtruckalso, i'm suggesting using s/mime because it has the e-mail client support00:03
faenilVenemo: I did no backup00:03
itsnotabigtruckpgp/gpg are kinda hard to use00:03
itsnotabigtruckthe developers of gpg don't really care about making it integrate nicely with e-mail clients, most of them use mutt for their e-mail :p00:04
Venemofaenil, how did you restore your stuff then?00:04
faenilI had nothing to restore :) used gmail for contacts, and that was it00:04
itsnotabigtruckfaenil: well, delivering an e-mail involves multiple TCP connections00:04
itsnotabigtruckeach of which might (or might not) use SSL encryption on top00:04
itsnotabigtruckTCP doesn't provide any encryption at all, it's just what carries the data00:05
faenilyeah I know00:05
faenilI'm just out of Networking uni exam :)00:05
faenilI just did not think about this case :)00:05
itsnotabigtruckso yeah, SSL encrypts connections, S/MIME and PGP encrypt data00:05
itsnotabigtruckand in this case, encrypting a connection isn't good enough00:05
Venemowhy not?00:06
itsnotabigtruckwell, *encrypt messages00:06
itsnotabigtruckobviously all encryption encrypts data :p00:06
faenilexactly :D00:06
faenilthat's what I was about to write xD00:06
faenilssl encrypts data as well00:06
itsnotabigtruckVenemo: well, like i was just explaining - because you don't have control over the whole equation00:06
faenilbut it's decrypted in the middle hops00:06
itsnotabigtruckyou can't say "this email must be delivered over ssl all the way"00:07
itsnotabigtruckand it probably won't00:07
itsnotabigtruckalso, you can't necessarily trust your ISP, the recipient's ISP, any ISP's in between, etc.00:07
faenilI send it to itsnotabigtruck encrypted with ssl, he gets the email and decrypts it00:07
faeniland sends it to you in cleartext00:07
faenilbecause he doesn't use ssl00:07
faenilthat's why ssl isn't enough00:07
itsnotabigtruckright, the e-mail might go like00:08
itsnotabigtruckvenemo --ssl--> --insecure--> --ssl--> itsnotabigtruck00:08
faenilanybody have multithreaded opengl experience? :D00:08
itsnotabigtruckfaenil: from what i remember about opengl, the way to do multithreaded opengl is to not go multithreaded opengl :p00:09
itsnotabigtruckevery opengl call has to be on the same thread00:09
itsnotabigtruckyou can have other threads, but they can't do the openglstuff00:09
Venemoitsnotabigtruck, I understand!00:10
Venemoitsnotabigtruck, thanks for explaining :)00:10
faenilitsnotabigtruck: you're talking about using the same context in multiple threads I guess00:10
faenilwhile I want to use different shared context in multiple threads00:10
itsnotabigtruckfaenil: you want to have a 2nd context then?00:10
itsnotabigtruckyou might kill any performance advantage you had by doing that...00:10
faenilyou think?00:11
*** tbf_ has quit IRC00:11
faenilwait let me explain00:11
itsnotabigtrucknot sure, but i thought dumping out a pixbuf on one context and loading it in as a texture in the other context is expensive00:11
faenilI don't need the second context to draw ;)00:11
itsnotabigtruckcompared to using an FBO00:11
itsnotabigtruckand the GPU can only do one op at a time anyway00:11
faenilI need the second shared context to load the new 3d model without blocking the UI in the menawhile00:11
itsnotabigtruckbut don't you have to use the same context?00:12
faenilbut as you said, you can't do multithreading on the same context00:12
itsnotabigtruckah, that's the shared part00:12
faenilexactly :)00:13
itsnotabigtrucklooks like you can go and pass in the context for sharing textures00:14
faenilyeah I know00:14
itsnotabigtruck(textures only, not VBOs?)00:14
faenilmmm don't know about that actually00:14
itsnotabigtruckah, it probably doesn't mention VBOs because it's a gles1.1topic00:14
itsnotabigtruck here's the nokia page for it00:14
faenilyeah probably00:15
faenilQGLContext has create(sharedContext)00:15
faenilso I'll just go for that + makeCurrent00:15
Venemoanyway, importing from my .vcf files are underway :P00:15
faenil+ QtConcurrent::run00:15
*** Chaz6 has quit IRC00:15
itsnotabigtruckfaenil: ok, awesome00:15
itsnotabigtruckVenemo: while you're waiting, go make an S/MIME certificate :p00:15
faenilahha :D00:16
*** Chaz6 has joined #harmattan00:16
Venemoitsnotabigtruck, aww, I'm too lazy00:16
Venemoitsnotabigtruck, but I'll keep this in mind when I'll do something bad and email someone about it00:16
itsnotabigtruckthe comodo one has you enter a name, your e-mail address, and click the button >_>00:17
itsnotabigtruckthen you check for a confirmation e-mail00:17
itsnotabigtrucka certificate authority (links your e-mail address to your encryption key)00:17
*** gri is now known as zz_gri00:17
itsnotabigtruck < that00:17
itsnotabigtruck(it's not really a "download" even though it says that)00:18
itsnotabigtruckyou have to sign up using firefox or internet explorer00:18
itsnotabigtruckchrome and opera have trouble with the process00:18
faenilI have just done mine with TC00:19
itsnotabigtruckfaenil: cool, so once you have the certificate loaded in your browser, then you have to export it to a file, then import it back into your e-mail program00:20
faenildid mine with Chrome, fyi :)00:20
itsnotabigtruckif you use MSIE and outlook then you're already set, however00:20
faenilwait, can't I set it to gmail? XD00:20
itsnotabigtruckcrap...i probably should have mentioned you can't encrypt with webmail sites00:21
itsnotabigtruckyou can use gmail, but not from gmail.com00:21
faenilcrap :D00:21
itsnotabigtruckit has to be thunderbird/evolution/outlook/ms windows live mail00:21
faenilwhy no webmail clients?00:21
itsnotabigtruckor a few others00:21
itsnotabigtruckbecause you can't access the private key from javascript to do the decryption00:22
faenilI see..00:22
befordthere was a ff extension for that though00:22
itsnotabigtruckyeah, it's called penango, there's a free personal version00:23
itsnotabigtrucki'm not sure if it's any good though00:23
faenilabout extensions00:23
faenilHTTPS Everywhere00:23
faenildownload that if you're using chrome :)00:23
itsnotabigtruckfaenil: there's a chrome version now?00:23
faenilsuggested by Anonymous XD00:23
faenilitsnotabigtruck: I'm using it :)00:23
Venemowhat? who the hell would want to use chrome by their own free will?00:23
itsnotabigtruckVenemo:'s actually pretty good00:24
befordchromium ftw00:24
Venemoit's the crappiest browser ever00:24
faenilVenemo: me, coz it's 100000000% lighter and faster than everything else00:24
itsnotabigtrucki'm using FF right now but i'm getting really tired of the random lockups and hangs and whatnot00:24
itsnotabigtrucka lot of it's extension related, but FF is terrible without extensions00:24
faenileverytime I fire up firefox or IE I just keep noticing how slow they are00:24
VenemoFF works pretty well from me ever since 3.600:24
itsnotabigtruckVenemo: 4.0 was pretty good for me, and it's gotten continually worse since then00:24
Venemochrome claims to be a "modern" web browser but it fails to render my stuff properly00:24
itsnotabigtruckmeanwhile mozilla is focusing on bs statistics instead of fixing bugs00:25
faenilVenemo: like what?00:25
*** jabis has joined #harmattan00:25
befordit probably fails on any webkit browser then00:25
Venemobeford, indeed, because webkit is crap00:25
itsnotabigtruckanyway, faenil: so option a) is to start using thunderbird (or some other e-mail client) and set it to access your gmail through IMAP00:26
itsnotabigtruckoption b) is to give up00:26
Venemoeg. is the most primitive site you can ever make. the panel with the N9 has a f*cking scrollbar in it in Chrome.... FF renders it properly.00:26
faenilthuderbird doesn't even have threaded emails :O00:26
Venemothere is no logical explanation why Chrome should put a scrollbar in there00:26
itsnotabigtruckoption c) is to use that firefox extension, though i don't know whether to trust it00:26
itsnotabigtruckbut that also requires using firefox00:26
itsnotabigtruckVenemo: i think there's a css for that00:27
faenilany good linux email client with threaded emails?00:27
itsnotabigtruckoverflow: i think?00:27
itsnotabigtruckfaenil: kdeor gnome00:27
befordit still looks nice though :P00:27
faenilI was so disappointed when I tried thunderbird00:27
faenilweb gmail's UX is way superior00:28
itsnotabigtruckfaenil: it looks like evolution has 'threaded message sort' that might do what you want00:28
faeniland I'm too used to its mechanics00:28
faenilI'll give it a look :)00:28
itsnotabigtruckit looks like evolution went to version 3.0 with gnome 3.0, maybe they changed a bunch of things00:29
Venemoevolution 3.0 is not bad, just suffers from some minor issues00:29
itsnotabigtruckfaenil: anyway, so you registered with chromium?00:30
itsnotabigtrucki'm not sure if evolution uses the NSS shared DB00:30
itsnotabigtruckif not, you might have to do some command-line mucking about to transfer your key and certificate00:30
itsnotabigtruckchromium doesn't have a certificate gui00:31
itsnotabigtruckthat's why using firefox to register is advisable :p00:31
Venemook, my N950 is syncing my stuff with hotmail via MfE00:31
itsnotabigtruckfaenil: get the NSS tools installed (on debian/etc. they're libnss3-tools iirc)00:31
Venemocontacts added 240, deleted 177... let's hope that the phone numbers stay :P00:32
Venemoaaaaand... WIN!00:32
*** faenil has quit IRC00:33
itsnotabigtruckuh oh00:33
Venemohowever, the numbers still don't appear on the web interface00:33
*** faenil has joined #harmattan00:33
Venemooh, yes they do, I'll just need to merge them00:33
Venemobut it's better than nothing :P00:33
itsnotabigtruckfaenil: ok, so this is kinda uncharted waters here - it looks like what you need to do is fire up evolution and check if it already has your certificate00:34
itsnotabigtruckif not, then you use pk12util to get your certificate out of chromium00:34
itsnotabigtruckthen import it into evolution through the gui00:34
faenilitsnotabigtruck : wait, what was that thing about certificate GUI?00:34
itsnotabigtruckfaenil: chromium doesn't have any GUI for getting certificates in and out00:35
itsnotabigtruckso if you successfully finished the tc trustcenter registration process in chromium00:35
itsnotabigtruckthen you have your private key and certificate stuck in a hidden folder that can only be accessed with some command line utils00:35
Venemook, it's nice that every problem has a solution :)00:36
faeniloh ok00:36
itsnotabigtruckhowever, if you haven't actually logged into the tc trustcenter website to generate your certificate00:36
faenilno the registration is not finished anyway00:36
faenilI'm waiting for the password00:36
itsnotabigtruckthen just load up firefox and do it from there00:36
itsnotabigtruckah ok00:36
itsnotabigtruckthen i just fed you a bunch of info you didn't need00:36
itsnotabigtruckyou'll be sent a password and a link, load the link in firefox00:36
itsnotabigtruckbefore you actually finish the process and generate a key, set a strong master password in firefox00:37
itsnotabigtruckthen, you go through the process, and you'll have a private key and a certificate in firefox00:38
itsnotabigtruckthe step after that is to get them out of firefox...i can probably find a howto somewhere00:38
faenilnah don't worry I'm coding atm ;)00:39
faenilI'll probably do that tomorrow :)00:39
faenilanyway, still no password :)00:39
itsnotabigtruckyeah no prob, let me throw some instructions in a pastebin00:39
faeniloh ok they sent it via sms00:39
faenilthat's why I was not getting it00:39
faenilbut I'll still do it tomorrow :)00:39
faenilneed to try some things with opengl :)00:39
ZogG_lap1oplol just paied attentiion that my nick is ZogG_laplop and not laptop00:40
*** ZogG_lap1op has quit IRC00:40
*** ZogG_laptop has joined #harmattan00:40
itsnotabigtruckmight want to set a master password in evolution before doing the import, i don't know if it has those00:44
*** beford has quit IRC00:46
itsnotabigtruckbtw frals: any chance you could check out that bug? []00:48
_MeeGoBot_Bug 295 enh, ---, ---, ext-risto.lahti, ASSI, Missing S/MIME Support in nokia mail client00:48
itsnotabigtrucki guess something that complex doesn't have a chance this late in the development cycle, but /me shrugs00:48
*** beford has joined #harmattan00:51
itsnotabigtruckZogG_laptop: you could have just changed your nick :p00:51
*** nwoki has quit IRC00:52
*** nwoki has joined #harmattan00:52
*** nwoki has joined #harmattan00:52
jpwhitingdjszapi: around?00:55
ZogG_laptopitsnotabigtruck: both were online - irssi problem =)01:02
djszapijpwhiting: yep01:06
jpwhitingdjszapi: I have a project I'm making in qt creator that needs to install stuff into /usr/lib and /usr/share01:06
*** Corsac has quit IRC01:07
jpwhitingany idea how I make that happen?01:07
djszapiI am not familiar with qmake, sorry.01:07
djszapiisn't there a prefix path like for cmake ?01:07
jpwhitingI have INSTALL targets for them in my pro file, and it works for desktop but not harmattan01:07
*** Corsac has joined #harmattan01:07
jpwhitingI set target.path = /usr/lib/telepathy/ to install my cm there, but it puts it into /opt/projectname/bin instead :/01:08
*** gabriel9 has joined #harmattan01:08
*** Soder has quit IRC01:08
itsnotabigtruckjpwhiting: if you were using scratchbox, you'd have your makefile install them to $DESTDIR/whatever01:08
jpwhitingI thought I had this working at one point01:08
jpwhitingitsnotabigtruck: ah, in the Makefile it installs to buildfolder/usr/lib/telepathy/01:10
jpwhitingin the harmattan deployment config in qt creator I mapped some local file paths to remote directories01:11
* jpwhiting checks what he did under Desktop01:11
jpwhitingah, no deploy step for desktop01:11
jpwhitingitsnotabigtruck: so the Makefile does install into my build folder, but I thought the .deb it creates is supposed to install into / prefix01:13
itsnotabigtruckjpwhiting: tbh i have no idea what qt creator does...the normal build process involves a lot of magic that culminates in building and installing it with a prefix that points into a subdirectory01:14
itsnotabigtruckthen it takes what went into the subdirectory and builds it together with the debian control files into a deb01:14
itsnotabigtruckbut i think qt creator might be operating very differently01:15
jpwhitingwell, it seems to be doing that also from what I see01:15
jpwhitingit builds the sources into a debug folder, then puts debian stuff under a debian subfolder of that01:16
itsnotabigtruckbut it doesn't use the regular debian tools, right?01:16
jpwhitingyeah, it does01:16
jpwhitingwith mad01:16
itsnotabigtrucknormally you use dpkg-buildpackage01:16
itsnotabigtruckit sounds like it's using it's own built-in builder01:17
jpwhitingthere's a harmattan sysroot it installs under QtSDK01:17
itsnotabigtruckthen assembling it into a package01:17
itsnotabigtruckwhich is an extra step for it to go wrong from01:17
jpwhitingit executes mad dpkg-buildpackage -uc -un -us or somesuch01:17
itsnotabigtruckoh ok01:17
itsnotabigtruckthen...that's very weird01:17
jpwhitingah, the stuff it's putting under /opt/projectname is old, it seems the only thing it's creating in the .deb is documentation :/01:19
*** Venemo has quit IRC01:29
*** jluisn has quit IRC01:50
*** rm_work has quit IRC01:53
*** Natunen has quit IRC01:58
*** Free-MG has quit IRC02:05
*** e-yes has joined #harmattan02:27
*** zk8 has quit IRC02:29
*** M4rtinK has quit IRC03:11
*** qronic has quit IRC03:13
*** nwoki has quit IRC03:13
*** jabis has quit IRC03:44
*** faenil has quit IRC03:46
*** admino1 has joined #harmattan04:22
jpwhitinghmm, the ssh session on my N9 keeps hanging04:29
jpwhitingthen I can't reconnect a new session and end up rebooting to get access again04:29
jpwhitingmaybe I need to tweak the sshd_config to allow more than one ssh connection or something?04:29
*** infobot has quit IRC04:34
itsnotabigtruckjpwhiting: hmm04:42
itsnotabigtruckmine seem to time out fairly quickly but no reboots needed04:42
*** risca has joined #harmattan04:43
jpwhitingit makes debugging from within qt creator very tricky04:43
jpwhitingsince it times out pretty quickly04:43
jpwhitingalso, if I run /sbin/ifconfig on terminal app on the device after a timeout, I see no wlan0 device at all04:44
jpwhitingjust lo and phonet004:44
itsnotabigtruckok, i think sth is fscked on your phone04:50
itsnotabigtruckcheck out dmesg04:50
jpwhitingheh, dmesg shows wl1271 going up and down04:51
jpwhitingfirmware boots, it authenticates with the router04:51
jpwhitingthen deauthenticates by local choice (reason=3)04:51
jpwhitingI've seen this before, maybe it's time to reboot my router...04:51
*** DocScrutinizer51 has quit IRC05:08
*** DocScrutinizer51 has joined #harmattan05:08
*** oberling_ has quit IRC05:47
*** oberling has joined #harmattan05:48
*** Natunen has joined #harmattan05:49
*** Transformer has joined #harmattan06:16
*** Transformer has left #harmattan06:18
*** benares_98 has quit IRC06:28
*** luke-jr has quit IRC06:52
*** luke-jr has joined #harmattan06:54
*** xarcass has joined #harmattan07:00
*** daniel_o has joined #harmattan07:23
*** hardaker has quit IRC07:38
*** mece has joined #harmattan08:47
*** hhartz has joined #harmattan09:04
*** beford has quit IRC09:18
*** zz_gri is now known as gri09:19
*** admino1 is now known as qronic09:24
*** faenil has joined #harmattan09:24
*** fuz_ has quit IRC09:28
grifaenil: Now with ipv6? :)09:29
*** eean has quit IRC09:30
*** gabriel9 has quit IRC09:33
*** fuz_ has joined #harmattan09:34
*** chouchoune has quit IRC09:35
*** arnaud2 has joined #harmattan09:35
*** jreznik has joined #harmattan09:36
*** gabriel9 has joined #harmattan09:38
*** eean has joined #harmattan09:42
djszapifaenil: heh, it is possible to have js var in qml209:42
djszapiand the ListElement role - script thingie is also fixed in qml209:43
*** adlan has quit IRC09:43
djszapinpm: ^09:43
* RST38h wonders if HTML+JS would be more efficient than QML+JS09:44
*** gabriel9 has quit IRC09:46
*** leinir has quit IRC09:46
djszapimore efficient for what ?09:48
*** leinir has joined #harmattan09:58
*** leinir has joined #harmattan09:58
*** faenil has quit IRC10:00
*** risca has quit IRC10:01
*** gabriel9 has joined #harmattan10:04
*** Venemo_N950 has joined #harmattan10:05
Venemo_N950Puzzle Master works flawlessly on PR 1.2, IRC Chatter works too with one minor glitch10:06
*** Venemo_N950 has quit IRC10:06
*** Stecchino_ is now known as Stecchino10:09
*** miroslav has joined #harmattan10:20
*** abinader has quit IRC10:26
*** jbos has quit IRC10:28
*** abinader has joined #harmattan10:28
*** KRF_ has joined #harmattan10:29
*** jbos has joined #harmattan10:29
*** KRF has quit IRC10:30
*** mzanetti_work has quit IRC10:30
*** daniel_o has quit IRC10:37
*** daniel_o has joined #harmattan10:37
*** KRF_ has quit IRC10:44
*** KRF has joined #harmattan10:44
*** jbos_ has joined #harmattan10:44
*** abinader has quit IRC10:44
*** Dotti has quit IRC10:44
*** abinader has joined #harmattan10:45
*** jbos has quit IRC10:45
*** Dotti has joined #harmattan10:45
*** miroslav has quit IRC10:49
*** adlan has joined #harmattan10:50
*** zk8 has joined #harmattan10:52
*** mzanetti_work has joined #harmattan10:54
*** rzr has quit IRC10:57
*** miroslav has joined #harmattan10:59
*** lamikr has joined #harmattan11:01
*** DocScrutinizer has quit IRC11:13
*** DocScrutinizer has joined #harmattan11:13
*** faenil has joined #harmattan11:20
*** MohammadAG has quit IRC11:21
*** MohammadAG has joined #harmattan11:21
*** artemma has joined #harmattan11:22
djszapican I get a variant type role in ListElement for instance ?11:37
djszapiso I would pass sometime a string, sometimes, a fixed point integer.11:37
*** Venemo_N950 has joined #harmattan11:38
djszapiVenemo_N950: I had many issues with irc-chatter in fact11:38
djszapitried to fix at least the most annoying, but the codebase is hard to read to me.11:39
*** zk8 has left #harmattan11:40
Venemo_N950djszapi, yeah... I know, and I'm working on it11:41
Venemo_N950djszapi, have you added the issues you had to the wikipage?11:41
djszapino, but I told ya many times ;-)11:42
*** zk8 has joined #harmattan11:43
Venemo_N950please do11:44
Venemo_N950so I'll now what to start with11:44
*** decibyte has quit IRC11:44
Venemo_N950Puzzle Master is accepted to the Ovi Store, so there won't be any more work with that for some time11:44
*** decibyte has joined #harmattan11:44
*** nix-cyrus has joined #harmattan11:44
djszapiVenemo_N950: you did not test against Pr1.0 image ?11:46
*** daniel_o has quit IRC11:47
djszapido I need to use toString() in qml for getting a string out of an integer, or quoting it is enough for a property/role ?11:48
djszapiVenemo_N950: I instead file bugreport against projects with bugtracker, sorry.11:49
*** arnaud2 is now known as chouchoune11:54
*** M4rtinK has joined #harmattan11:54
*** niqt has joined #harmattan12:00
Venemo_N950djszapi, I tested it on 1.1 before submitting.12:06
Venemo_N950djszapi, as you wish. I don't have time to set up a bugtracker right now, but I may just do so sometime.12:07
djszapithey require pr1.0 compatibility too12:07
Venemo_N950djszapi, it's compatible with 1.0 too12:07
Venemo_N950it doesn't use any Harmattan specific apis12:07
djszapitesting is against trust btw ;)12:07
Venemo_N950it even works on desktop and symbian12:08
djszapithat is not a requirement in ovi, but 1.012:08
griNice, my application crashes and the debugger tells me something about QMutex::lock() - and I do not use threads (well QML might use them in background)12:08
Venemo_N950anyway! I'm having trouble connecting to my company's wlan with the N95012:08
griAny idea how to get better debug output than a bit disassembly?12:08
djszapiqt-dbg build12:08
radiofreeVenemo_N950: you're the irc-chatter guy right?12:09
Venemo_N950radiofree, right!12:09
gridjszapi: I don't have a qt debug version on my phone and I can't test the application without the phone12:09
radiofreelet me see if i can still crash it12:09
Venemo_N950radiofree, yes, you possibly can :)12:09
radiofreeVenemo_N950: basically, 0.1.1 works for me with my bouncer12:09
radiofreebut 0.1.90 crashed when i connected12:10
radiofreei'll see if it's still the case12:10
djszapigri: well you can install it anyway12:10
djszapiif you build it in your dev environment12:10
griI thought I can't replace with "" origin?12:10
djszapinobody said you should replace.12:11
Venemo_N950radiofree, there is no newer version unless you build master12:13
djszapithis is also very unhandy with irc-chatter12:13
djszapiit cannot be installed from OVI. By the way, is there another cool irc application in ovi ?12:13
radiofreedjszapi: there's a commercial one12:14
radiofree£1.99 or something like that12:14
*** nix-cyrus has left #harmattan12:15
radiofreeVenemo_N950: yep, bouncer fail!12:15
djszapiradiofree: ok, will try out.12:15
radiofreewhat's interesting, is it seems to have joined the irc-chatter channel, so it's at least connecting :)12:15
radiofreeqrc:/qml/harmattan/main.qml:32:5: QML ProgressPage: Binding loop detected for property "canPushChatPage"12:16
radiofreeif that means anything to you12:16
djszapithat is simple to fix.12:16
radiofreeI don't know if thats the error that causes the crash12:17
radiofreeit segfaults, just after joining it would seem12:17
radiofree(since it actually joined the irc-chatter room on my bouncer)12:17
djszapino, that is not a crash12:17
Venemo_N950radiofree, that is bullshit, that message has nothing to do with anything12:18
Venemo_N950radiofree, can you come online sometime tonight and help me debug this issue?12:19
Venemo_N950i'm currently at my workplace12:19
djszapiexcept that it can consume the CPU unneccesarily.12:19
djszapiand permanently once it is stuck like that12:19
radiofreeVenemo_N950: ok12:19
radiofreeit's a regression between 0.1.1 and 0.1.90 anyway, 0.1.1 workso k12:20
*** zk8 has quit IRC12:20
Venemo_N950radiofree, it might be a regression in communi, in which case I can't do too much about it12:22
radiofreegot any packages with debug symbols, i can collect a bt if you want12:22
Venemo_N950radiofree, sorry, I don't have them at hand12:25
Venemo_N950djszapi, do you happen to have any clue why I can't connect to a corporate wifi?12:26
djszapido not have a crystall ball sorry :)12:26
djszapiit can have zillion reasons.12:26
radiofreecosmic rays flipping a bit12:27
Venemo_N950djszapi, I also installed the certificate of the company. however, the dialog which asks me for a certificate doesn't let me select any certificates12:29
djszapiwhy not ask your sysadmin at the company ?12:29
Venemo_N950how could he know why harmattan doesn't let me select their cert?12:31
djszapibecause we do not know your cert stuff12:32
djszapiand he knows probably the most about it, and had experience with different clients of that ...12:33
djszapiand he can say that /for sure/, if it is a harmattan issue.12:33
djszapiso nothing on yoru company side.12:33
Venemo_N950I bet you he hasn't seen a harmattan device yet. but ok, I'll ask him :)12:33
djszapido you need it for your work anyway ?12:34
Venemo_N950nope, but I hate to use cellular data while there's a wifi here12:34
*** lizardo has joined #harmattan12:35
Venemo_N950anyway, bbl12:37
*** Venemo_N950 has quit IRC12:37
djszapilol I cannot bind a property value to model data12:41
djszapiand since model data cannot be changed on the fly in an onPropertyChanged signal handler, just with full reassignment....wth12:41
alteregoThat's just how models work :P12:41
djszapiyes, unfortunately bad design12:42
djszapinot just bad implementation.12:42
alteregoNot realy.12:42
alteregoyou'll just have to code something better.12:42
djszapiyes, and luckily enough it is already addressed in qml212:42
djszapiit is bad design12:42
*** BluesLee has joined #harmattan12:42
djszapiproven by qml212:42
alteregoWell, I'd argue it's bad design if you're relying on something like that ..12:43
BluesLeedoes anyone now if it is possible to use more than one colour on the low power screen of the n9?12:44
BluesLeeif I try it I get some screen flickering and the colour of the click is also influenced12:45
BluesLee^ clock12:45
BluesLeefrals: ping12:47
*** Venemo_N950 has joined #harmattan12:52
Venemo_N950djszapi, ok, I asked the sysadmin. the issue is definitely the fact that it doesn't let me select their certificate12:53
djszapiI do not have time for the issue, sorry.12:54
*** lamikr has quit IRC12:54
Venemo_N950in the cerificate settings, WLAN is checked.12:55
*** snowpong has joined #harmattan12:55
radiofreeVenemo_N950: security method WPA EAP?12:55
radiofreeat least when editing a connection, with that security method you can pick a certificate12:56
Venemo_N950It's peap with mschapv212:56
Venemo_N950the only option in the select certificate dialog is "none"12:57
radiofreedid you install the certificate in settings > security > certificates ?12:57
Venemo_N950yes, it's there and WLAN is checked in its settings12:57
radiofreeif you manually create the connection can you select it?12:58
radiofreesecurity method wpa eap, wpa eap type = peap, select certificate..12:59
Venemo_N950where can I manually create the connection?12:59
radiofreesettings > internet connection > create new connection12:59
fralsBluesLee: yes, i managed to put 7 of them12:59
fralsBluesLee: if you get flickering you might have too thin lines or not using "pure" colors13:00
Venemo_N950aww, I see. no, the select certificate dialog is empty there too13:00
radiofreeprobably worth filing a bug13:00
Venemo_N950frals, do you have a clue?13:07
fralsaha, mschapv2 hmm13:08
fralsdunno, sorry13:08
Venemo_N950I installed a certificate on the N950. why doesn't it show up in the "select certificate" dialog when I try to connect to a corporate wifi?13:08
djszapi -> anybody has a clue how to get this downcounttimer displaying work ?13:09
djszapiApparently, I cannot bind stuff to the ListElement since it is a rather static thingie13:09
djszapiafaic I cannot really do this logic cleanly in the delegate either.13:09
*** faenil has quit IRC13:10
* MohammadAG stabs colloquy13:10
Venemo_N950djszapi, no matter how i try, the cert won't show up in that list :(13:12
*** jluisn has joined #harmattan13:13
MohammadAGxprop the dialog, find the process and strace it13:15
*** nwoki has joined #harmattan13:17
*** Venemo_N950 has quit IRC13:21
*** xTs has joined #harmattan13:21
radiofreedjszapi: what do you mean, displaying?13:21
radiofreei just tried that code and it displays it here13:21
radiofreeblack background, white boxes around 0 0 : 0 013:22
djszapiradiofree: it displays a static data...13:22
djszapiit is never gonna change..13:22
radiofreeah right13:22
djszapino matter you count down ..13:22
*** faenil has joined #harmattan13:23
radiofreeso you doing the countdown on the c++ side?13:23
djszapiwhy would I ? :)13:23
djszapito decrease a value every second is not that hard in qml :D13:23
radiofreeok, just thought the code you pasted was self contained, so you decrease countDownTimerValue somewhere else?13:24
radiofreeit's some property int countDownTimerValue?13:24
djszapiit would be obviously better to have a remainingtime() const; for QTimer13:25
djszapibut I can add it to qt5 only13:25
djszapinot for the current version.13:25
radiofreeI suppose it's because you've appended the int's only once13:25
radiofreewhy would that be dynamic?13:26
djszapithere is no way to get it dynamic13:26
djszapijust very hackish ones13:26
djszapiand that is pretty said13:27
MohammadAGCan't say that the BB Qt partnership was something I expected13:27
radiofreeI suppose maybe appending four separate property values and doing the countdown logic somewhere else might work?13:27
radiofreeprobably not... since you're appending the value of the property at the time the component is created...13:28
djszapithat is the problem indeed13:28
djszapithe only solution I can think of, is to duplicate, triplicate etc...13:29
djszapiif you have 1000 elements, then 1000 times.13:29
djszapia separate component might help, but that is more work13:29
MohammadAGOr use a QTimer that increments the value pf an int then 0s it when uou want to restart?13:30
djszapithat is not the question here.13:30
MohammadAGremainingTime would be useful though13:30
djszapiI will add it to Qt513:30
MohammadAGSince the data is there internally13:30
djszapibut the problem is not that.13:30
djszapithe problem is that the binding is not 1:1 for displaying a downcount timer13:31
djszapiyou have 4 different logic for the 4 values, as in: mm:ss13:31
djszapibut at least two.13:31
MohammadAGI need a way to split QDateTime to strings13:32
BluesLeefrals: thanks for the info13:32
MohammadAGLike 10 seconds ago, or minutes or hours or weeks13:32
djszapiMohammadAG: you can do that imo13:33
MohammadAGI can but idk how13:33
*** Venemo_N950 has joined #harmattan13:33
Venemo_N950haaa! success :)13:34
djszapiMohammadAG: time().hour() for instance13:34
MohammadAGNo IDE in front of ke13:35
*** M4rtinK has quit IRC13:35
griMohammadAG: MCalendar can calculate weeks etc. but unfortunately is part of meegotouch :(13:39
MohammadAGMy whole UI is in mtf13:40
grioh then you're fine13:40
*** longthen has quit IRC13:41
griMohammadAG: you can take a look how crappy I have done the "today", "yesterday", "last week" thingy here and make it better :)
*** longthen has joined #harmattan13:41
djszapiMohammadAG: what is BB ?13:41
griBlackBerry, BullshitBingo, BrownBear ..13:42
MohammadAGThanks gri!13:45
alteregoStrange, why don't they have a default "ListView" implementation in Qt Components ..13:50
djszapithey have ListDelegate..13:51
djszapiand I think that is not that bad by now.13:51
*** BluesLee has quit IRC13:53
griIs anyone here able to debug on an harmattan (device) as "user" without losing the TrackerReadAccess credentials? If so, tell me how13:53
alteregoYay, another email from a bank I don't have an account with :)13:54
djszapigri: why would you lose ?13:55
djszapiwhat do you use for debugging ?13:55
gridjszapi: QtCreator as usual13:55
* djszapi escapes from crapcreator :)13:55
djszapianyway, I have it without qtcreator.13:56
djszapiworks with valgrind and gdb, at least.13:56
griwell, QtCreator also uses gdb (the gdbserver atleast) started by some scripts of the sdk connectivity tool13:57
djszapiyeah, over X layer13:57
MohammadAGalterego: Pfft, my 26th brother died in Afghanistan and left me 20 million bucks13:58
*** decibyte has quit IRC13:59
grialterego: I always get emails about the security of my non-existing credit card ... including spelling errors :D13:59
djszapiWhat is the best way of exposing an embedded "id" in an own c omponent ?14:07
djszapistring type property does not seem to work.14:08
*** faenil has quit IRC14:13
*** etrunko has joined #harmattan14:15
*** Venemo_N950 has quit IRC14:18
*** decibyte has joined #harmattan14:18
*** auenf has quit IRC14:21
*** RST38h has quit IRC14:23
*** auenf has joined #harmattan14:29
*** zk8 has joined #harmattan14:30
jonnithere is no way to expose it (atleast easily).14:40
*** filmoc has joined #harmattan14:40
filmochi all14:41
*** longthen1 has joined #harmattan14:42
*** longthen has quit IRC14:46
*** hardaker has joined #harmattan14:47
jonnidjszapi: the hard kludge answer would be "If you need that (id) string, I recommend using the objectName property to store the string. This is especially true if you want the id so you can reference an object instance from C++, as there are already methods in QObject for finding objects by objectName."14:52
*** miroslav has quit IRC14:58
artemmaIs anybody using Google Mock with Qt? Or any other mocking framework that's compatible with QTestLib?15:00
*** briglia has joined #harmattan15:03
djszapijonni: that bad design means you need to expose every single property separately in embedded elements...15:06
djszapiwhich is well ... awful.15:06
jonniyep, but in QML usually you should not need to expose the id for most of the usecases15:06
djszapieven 3-4 is awful15:07
djszapiif you could expose only one.15:07
*** xarcass has quit IRC15:07
djszapiand exposing more than needed is not just longer, but error-prone.15:07
jonniactually right answer would be "why do you want to exposed embedded id?" and then answer how not to do it15:07
*** dm8tbr has quit IRC15:08
djszapiexposing the id would be a cool thing15:08
jonniuse case?15:08
djszapiand the answer is really simple why (I even said above)15:08
djszapiI said ?15:08
jonnimy crosseyes dont see use case anywhere15:09
djszapiread better.15:09
djszapiText element has /many/ properties15:09
djszapithat you wanna set15:09
djszapiso why expose 5-10 properties separately.15:09
djszapiextremely unmaintenable code.15:09
djszapinot even speaking if there are more text elements..15:10
djszapiyou basically say that, returning a QString in C++ is bad, you should return only the method of the qstring that are needed.15:10
jonnisorry, I still dont understand the usecase, expose to where, what problem are you trying to solve?15:11
djszapisorry, I cannot help more because I think I described it.15:11
djszapiask precise questions what not clear15:11
djszapitext element is a thing that has many things to set15:11
*** rzr has joined #harmattan15:12
djszapiand if it is embedded into a might wanna expose an id instead of 5-15 properties.15:12
djszapiI it not trivial ? :)15:12
jonnihmm, so your dynamically creating objects which names you dont know beforehand or..._?15:12
djszapijonni: you do not really wanna hard  code ids for a /re-usable/ component.15:13
djszapiotherwise id crashes might occur.15:13
jonniid's are unique inside the object anyways?15:13
djszapihuh ?15:14
jonnior lets ask this way, can you give me example of id crash?15:15
djszapiif you hard code a component with an id, and you reuse that many times15:15
djszapiyou have an id crash15:15
djszapiyou have the same id for /many/ elements.15:15
alteregoI think you mean clash15:16
alteregoAnd it's not too much of an issue if you stick to good practices. I have plenty of components in my apps with the same 'id'15:17
djszapiit indeed is, tried that and did not really work15:17
alteregoIt's pretty common  practice to have things like id:root15:17
djszapihow is that relevant ?15:18
alteregoWhich is basically what all of my components have as their root element.15:18
alteregoExcept the one in main.qml which is usually id:main15:18
djszapiI do not see the relevance.15:19
alteregoMaybe you shouldn't be so vague then15:19
djszapiactually I posted all the code to you.15:19
trxid's should be unique, period. :)15:20
*** filmoc has quit IRC15:20
trxwhy argue anyways..15:20
alteregoYour code is hard to read and you posted a fraction of it, hence that discussion about what certain identifiers were actually doing.15:20
djszapihard to read qml, yes15:20
djszapibut I cannot do too much about that.15:20
itsnotabigtrucktrx: a scope15:21
trxits exactly15:21
alteregoYou'll get better as you use QML more.15:21
djszapiand it is a scope15:21
itsnotabigtrucki mean, it's one thing to always pick ok variable names, it's another thing to insist on every variable name being unique in the entire app15:21
itsnotabigtruckthat just gets pretty ridiculous15:21
djszapiso for instance the scope of a repeater/view/ownrepeater15:21
trxdamn keyboard15:21
alteregoAnyway, I'm busy :)15:21
itsnotabigtruckwhoops, can't call the string name, it's gotta be name492 :D15:22
*** RST38h has joined #harmattan15:22
djszapialterego: no, it is how others advised on forums15:22
* RST38h moos evilly15:22
djszapiI know they would criticise them as well as anybody else anyway :)15:22
alteregoProbably :)15:22
djszapiI recall you criticised a bug report that was accepted by the maintainers :P15:22
djszapiI mean the use case, and then the fix.15:22
alteregoActually that wasn't a question.15:23
alteregoI should have said. "So .... "15:23
* alterego wonders off.15:23
djszapiso no wonder you criticise the code that was taken according to the recommendation.15:23
djszapiby qml experts.15:23
alteregoOkay, now I have no idea what you're talking about15:24
alteregoAnd you're clearly trying to be insulting.15:24
alteregoSo, stop talking to me :)15:24
djszapiI have not said for your code it is "hard to read".15:24
alteregoI'm sorry if you think me telling you that the code you showed me is hard to read.15:25
alteregoBut it is.15:25
djszapido not use qml :P15:26
alterego(is meant to be an insult, but it's not, I'm just saying)15:26
alteregoI use it successfully every day.15:26
alteregoBut like I said, you'll get better.15:27
*** filmoc has joined #harmattan15:27
alteregoAnyway .... I really have to get on.15:27
djszapijonni: this is the use case:
djszapithere are many instances in the same list/repeater/ownrepeater with slightly different text properties.15:28
*** Jeffrey04 has joined #harmattan15:30
jonniso you just want to be able to change the text to letterValue from outside?15:31
djszapiI would like to have different size for different type of texts15:34
djszapisame with boldness, italicness and basically everything really :)15:34
djszapidifferent color as well for sure15:34
djszapi( sorry if this code reads "hard", but could not do differently )15:35
jonnibut your component can just have hardcoded id:s and you can use and edit multiple instances just fine from outside? Maybe Im missing some essential piece of information in my head, but there is no issues editing those fields15:38
Hq`the mistake seems to be that you're treating the id as a string?15:39
jonniyep, id cannot be property bind, but if you just use hardcoded strings it works15:39
djszapijonni: how would you differentiate two elements in the same list with the same id ?15:39
djszapi(say, own repeater/list)15:39
Hq`it's actually a QDeclarativeItem*15:39
djszapithere is no way for that15:40
Jeffrey04is it possible to write shell scripts to be executed on n9?15:40
jonniJeffrey04: yes15:40
Jeffrey04jonni: is there any place where i can find the supported languages?15:40
djszapijonni: try to put two text elements into a rectangle, and set just one text according to the id15:41
djszapiHq`: that is why I asked whether "variant" or anything else would fit.15:41
djszapiif not, it is a missing feature.15:42
djszapiat least I cannot mention anything against such a feature, like exposing an id.15:42
djszapiJeffrey04: I do not think there is such a page, but gcc/g++/moc compilers are available, so are shell, perl and so forth.15:44
Jeffrey04djszapi: php?15:45
djszapiwanna write a web server ? :)15:45
Jeffrey04djszapi: nah, just simple shell scripts to see what i can do with my N915:45
radiofreewhy on earth would you write shell scripts in php?15:46
djszapiyou can write simple shell script15:46
djszapiphp is not available afaik15:46
Jeffrey04radiofree: why not? :) although badly designed, but kinda useful for simple stuff15:46
Jeffrey04radiofree: mainly because i code more in php than other languages :P15:46
djszapiphp is not available, really15:46
djszapinot even in the com repo.15:47
Jeffrey04djszapi: python? ruby?15:47
radiofreepython yes, ruby pretty sure yes15:47
Jeffrey04radiofree: cool, thanks15:47
*** faenil has joined #harmattan15:48
jonnidjszapi: you mean  ?15:49
radiofreea whole planet of pythons available!15:49
Jeffrey04djszapi: oh, so i would have to enable that repo in my sources.list?15:49
djszapiJeffrey04: you can15:49
djszapijonni: no because you have distinct ids there.15:50
Hq`djszapi: you can reference repeater's individual elements through itemAt(...) if that's what you're after15:50
djszapiecho 'deb ./' >>/etc/apt/sources.list.d/nicks.list <- Jeffrey0415:50
djszapiHq`: except that I do not have a repeater15:50
Jeffrey04djszapi: thanks15:50
Hq`djszapi: ok, but you can also ask for .children from any element :)15:51
djszapi...and then ?15:51
Hq`you get a list of pointers15:51
djszapi...and then ?15:51
Hq`which work like id's do15:52
djszapinot following15:52
Jeffrey04erm, there's no vim?15:52
radiofreeJeffrey04: there's vi15:52
djszapiJeffrey04: there is vim15:53
Jeffrey04radiofree: thanks, but there's no real vim in the repository?15:53
Jeffrey04djszapi: i did apt-cache search but found nothing15:53
Jeffrey04oh, not in any repository?15:55
djszapiit is in the repository15:55
Jeffrey04djszapi: thanks15:55
faenilI'm using qtconcurrent::run15:55
djszapiyou might wanna use apt-get update15:55
faenilI want to run a function which is the same class I'm calling the run() in15:56
faenilbut it reports <unresolved overloaded function type>15:56
faenil(the function I'm trying to call is not overloaded)15:56
faenilvoid test::call() { }15:56
faenilvoid test::running() { QtConcurrent::run(call) }15:57
faenilshould I make call a static fun or what?15:57
djszapiisn't running in qtconcurrent ?15:57
faenilit doesn't compile15:57
gritry QtConcurrent::run(this, call)15:57
faenilok gri, wanted to try that, but wanted to know why this is not working :D15:58
griit needs to know the object on which it has to call the function15:58
grieither you make call static or you supply an object pointer15:58
gribtw. it should be QtConcurrent::run(this, &test::call)15:59
Hq`djszapi: well maybe I didn't understand what you were after then... just forget about it :)15:59
djszapiHq`: simple, I have an own component with a text inside it, right ?15:59
faenilgri: ok ;)15:59
djszapiI have an own-repeater, basically many elements after each other15:59
djszapiI cannot hard code the id into the component...16:00
faenilgri: the object pointed should not be always needed16:00
faenilyou can also call run(function)16:00
faenilbut I don't understand when that works and when it doesn't16:00
faenilyeah read that already16:01
*** beford has joined #harmattan16:01
djszapinot showing it you ;-)16:01
djszapijust for people, so it should work16:01
faenilok :D16:01
grifaenil: I have never tried it without the object pointer16:01
faenilok ;)16:01
*** mece has quit IRC16:03
djszapiactually I do not see different type of description...16:03
djszapijust the one where the Function is the first argument16:03
faenillook in QConcurrent doc16:04
faenilnot Qtconcurrentrun16:04
djszapiyou said qtconcurrent :)16:04
djszapithere is only one run there.16:05
*** leio has quit IRC16:05
djszapiat least in 4.816:05
grithe run function has about 20 - 30 overloads16:05
grior I remember it wrong :)16:05
djszapiwhere is it documented ?16:05
faenilsorry you're right it's not written in the docs16:05
djszapiI would not use an undocumented "feature"...16:05
faenilit's in the comment16:05
Jeffrey04djszapi: so if i add this repo to my sources.list.d, will it ever cause conflict?
djszapifaenil: then you might not wanna use the "this" version..16:06
*** l32606 has joined #harmattan16:06
djszapiJeffrey04: I already gave you what to add and how ;-)16:06
djszapiwell, I cleaned up the breakges back then16:06
faenilI just want to get it to work :D and the default overload doesn't seem to be working in my case16:06
djszapibut if maintainers do not pay attention, it might be possible.16:06
djszapifaenil: you need something that works today, but probably not tomorrow ?16:07
Jeffrey04djszapi: thanks :)16:07
faenildjszapi: no I just meant, help me out with the documented solution :D16:08
djszapiI can help tonight, just ping me :)16:08
grido you ever sleep? :D16:08
djszapigri, who, you ? :p16:09
gridjszapi: No, you :)16:09
djszapiHq`: understood the use case ?16:10
*** leio has joined #harmattan16:11
*** miroslav has joined #harmattan16:12
*** miroslav has joined #harmattan16:12
*** dm8tbr has joined #harmattan16:15
djszapiokay, property alias what I was looking for :p16:15
djszapiso I can expose the id16:15
faenildjszapi: forums seems to suggest the function must be static16:16
faenilthen you can use run(&test::function)16:16
djszapithere you go :)16:17
grithreading static functions are easier to review. You can't accidentally access member variables that are not mutex locked16:18
Hq`djszapi: ah, ok, got it now :)16:21
*** faenil has quit IRC16:26
*** benares_98 has joined #harmattan16:27
*** benares_98 has quit IRC16:37
* RST38h reads another piece of RaspberryPi news, wonders if RaspPi is being marketed by the same guys as Pandora16:37
RST38hDefinitely looks like it16:37
*** faenil has joined #harmattan16:38
*** nwoki is now known as nwoki_away16:40
*** benares_98 has joined #harmattan16:42
*** rm_work has joined #harmattan16:42
*** rm_work has joined #harmattan16:42
djszapiehhh property alias is read only as well :/16:53
befordgrrr :| not sure what broke on  my QtCreator setup, whenever I try to Run the thing on the device it says Failed to upload package: Failure16:54
djszapifaenil: I think it is yet another serious limitation in qml, you cannot return a member of a component as it is16:55
djszapiit is like not being able to return a class member with an accessor on wish :)16:55
faenilwait what are you talking about? :)16:55
djszapiown component: Item { Rectangle {} }16:55
djszapiyou cannot return the whole rectangle to the component user as it is16:55
faenilto do what? I'm not getting you :)16:56
djszapiI am not getting your question16:57
djszapiI mentioned a limitation in qml again16:57
djszapisomething is not clear ?16:57
faenilyes the limitation :D16:57
faenilcan you rewrite it? :)16:57
djszapirewrite what ?16:58
faenilwhat is the limitation you're talking about, I couldn't understand from the previous lines you wrote16:59
djszapifaenil: how would you change the properties of the inner (embedded) element from outside the component ?17:00
djszapido you write zillion getters in C++ or just return a QString ?17:00
faenilcan't u do that by using the component's id?17:01
djszapiI do not define any ids inside the component17:01
djszapithat would be plain silly17:01
djszapiand everything, but reusable.17:01, I would not like to force the api users into a situation which could be avoided.17:02
faeniloh ok I understand what you mean now17:02
tommause property alias... and no they are not read only unless the property you are aliasing is17:03
faenilthat's what I did not get at the beginning17:03
faenilyou said they're readonly17:03
faenilbut that's not true17:03
djszapiit /is/ true17:03
djszapithe id is read only17:03
djszapithat is property alias does not help a bit.17:03
faenilI use alias name to access and modify aliased property17:03
djszapitry out with id...17:04
djszapi -> try to modify it.17:04
tommaid... are you aliasing some components id?17:04
faenilbecause id is read only17:04
faenilwhy would you alias an id?17:04
djszapifaenil: that is what I said, you realized the fact at last :)17:04
djszapifaenil: because I would like to modify an embedded feature into my component17:04
djszapijust like any reference retval in C ...17:05
djszapior pointer....17:05
faenildjszapi: sorry I was not following you, and I'm still trying to understand why my QGLContext::create(sharedContext) fails :P17:05
tommayou make property Text letterId: and set it to point that Text element17:05
tommalike this:
*** zk8 has quit IRC17:08
djszapitomma: you wanna write QtObject17:15
djszapibut it is not gonna work anyway17:15
djszapithat is still a readonly stuff17:15
djszapithat is hard coded into the component.17:15
itsnotabigtruckfaenil: did you have a chance to get that certificate stuff sorted out?17:18
djszapithat was Venemo lol :D17:18
itsnotabigtruckalso, i need to learn qml and make some gui apps :D17:18
faenilitsnotabigtruck: haven't done it yet ;)17:19
faenildjszapi: I did that too since I was there :D17:19
faenilcan anybody help me with QGLContext? why would it fail create()?17:19
the-boss`djszapi: Error: "qt" is not a valid command.17:19
*** sarosend has joined #harmattan17:21
*** l32606 has quit IRC17:21
befordhm who thought 4mb would be enough for /tmp on the n9 :/17:23
faenilas expected, no answers on #qt :P17:25
djszapibeford: the root is way more than 4 MB17:26
djszapibut 4 MB can be mounted, too. Not sure I see the unresolvable issue there.17:27
beforddjszapi, yes but when deploying from QtCreator  it copies the deb to /tmp17:27
befordand fails if its full :P without giving a hint17:27
djszapicongratulate to qtcreator17:27
djszapithe phantastic one ...17:27
befordand it was qtcreator fault to be filled too xD17:29
befordI was testing qxmpp and the .deb was big, so it did not finish to copy iand it failed.. but it didn't delete it17:29
itsnotabigtruckbeford: hmm...didn't realize that17:30
itsnotabigtruckguess i'll have to keep that in mind17:30
itsnotabigtruckif it's copying to a subdirectory i guess you could make a symlink out of /tmp17:30
fralswhy do you need a dynamic id?17:34
djszapiI do not.17:35
djszapiI need an access to a member of a component, just like you can have an access to a member of class in c++17:36
djszapiandthe class member still remains unique17:36
fralschildren gives you that17:36
djszapiI do not need a whole children list17:37
djszapiI need one specific children17:37
djszapion the other hand: children is read only.17:38
alteregoYou use children to find your child, hrm?17:39
alteregoAnd use objectName ..17:39
alteregoOr test for a property you know is only available in your target child.17:39
djszapithis sounds bigger hackery than forcing an id really :)17:39
alteregoNot particularly.17:40
alteregoAnd what do you care if it works?17:40
fralssince you define the component youcan do children[0]17:40
itsnotabigtruckfrals: sorry to bother you, but it seems like this would be in your domain - if you could give <> a look that would be great (that's the S/MIME request)17:41
_MeeGoBot_Bug 295 enh, ---, ---, ext-risto.lahti, ASSI, Missing S/MIME Support in nokia mail client17:41
Jeffrey04erm, is there a way to turn on/off the 'allow background connections' programmatically?17:41
itsnotabigtruckJeffrey04: there's a good chance it's controlled through dbus, so possibly17:41
Jeffrey04itsnotabigtruck: where can i find more info about it?17:42
itsnotabigtruckJeffrey04: well that's the thing, there's probably no documentation for that, because it's a rather unusual scenario...17:42
itsnotabigtruckshouldn't that sort of thing be user-controlled, in any case?17:42
Jeffrey04i wanna turn it on and off automatically depending on what kind of network i am on17:43
Jeffrey04i want to turn it off when i am on mobile network17:43
itsnotabigtruckah, fair enough17:43
djszapifrals: what if I later add yet another component before the text ?17:43
djszapiI would break all the client code ?17:43
alteregodjszapi: not if you do it write.17:43
alterego~right ..17:44
Jeffrey04itsnotabigtruck: i heard there won't be plans to implement it17:44
Jeffrey04so thought of trying to do it on my own17:44
alteregoI don't understand why you don't just get on and do the project, rather than trying to break QML in very silly ways and complain that you can't do something.17:44
fralsthat ^17:44
alteregoThe app you're writing is so simple. What is the problem?17:44
djszapialterego: that is your code monkey way :)17:45
djszapiI am thinking of design pov17:45
alteregoYou're clearly not ..17:45
djszapiand apparently I cannot do that same, that I can do in C++17:45
djszapiand yes, if I add a new element before the text for whatever reason17:45
fralsyou do realise c++ and qml are to complete different languages right?17:46
djszapiI break every single client code17:46
alteregoYou apparently don't understand what the _special_ id property is for if you're trying to use it in such a silly fashion.17:46
djszapiand since people tend to write reusable components, like qt-components, I would believe there is a cool way of doing it.17:46
djszapiother then forcing the component user for having an id17:46
alteregoWhat you want is the objectName property, which has been pointed out to you several times today.17:46
alteregoYou have to remember 'id' only makes sense in .qml files for referencing a component which is directly declared in scope.17:47
*** faenil has quit IRC17:47
alteregoWho do you think is going to reuse your components?17:48
alteregoIf it's you, then I don't see any problem ..17:48
* alterego attempts to decode mjpegs ..17:48
itsnotabigtruckJeffrey04: look into dbus calls on
itsnotabigtruckit looks like that's what controls network connections17:49
*** artemma has quit IRC17:49
itsnotabigtrucki think you can use dbus-send to query what commands you can send it17:49
*** djszapiN9 has joined #harmattan17:49
Jeffrey04:) is new to dbus stuff here, thanks for the information17:50
alteregoJeffrey04: good luck, you _will_ need it ;)17:51
Jeffrey04 < useful?17:51
itsnotabigtruckalso it's possible that what you want could be restricted based on an aegis token17:51
*** M4rtinK has joined #harmattan17:51
*** miroslav has quit IRC17:51
itsnotabigtruckas dbus on n9 is aegis-aware17:52
Jeffrey04this very much reminds me why i don't do app but chose web-development after leaving college lol17:52
fralsJeffrey04: gconftool-2 -R /system/osso/connectivity/ might give you a hint17:57
fralsJeffrey04: /system/osso/connectivity/network_type/restricted_mode, true/false18:01
*** faenil has joined #harmattan18:02
djszapiN9frals it is not cpp specific feature18:02
djszapiN9to create unique members18:02
*** leinir has quit IRC18:02
djszapiN9alterego at least 2-3 other apps in kde18:02
djszapiN9just that i recall, but might be more18:03
itsnotabigtruckdjszapiN9: well, if you don't feel like dealing with qml quirkiness you could always just lose it entirely and go with traditional qt18:04
djszapiN9lol :d18:04
*** gabriel9 has quit IRC18:05
alteregoitsnotabigtruck: ++ ;)18:05
alteregoWould certainly make my days quieter :P18:05
djszapiN9itsnotabigtruck, that is misinterpretation18:06
Jeffrey04frals: thanks18:06
djszapiN9but anyway i am not a code monkey to do the hackeries18:06
alteregoMaybe if you designed it right in the first place you wouldn't be needing to resort to these hacks now?18:06
alteregopsst, use objectName ..18:07
* alterego lols18:07
*** tr4v3r has joined #harmattan18:07
fralsJeffrey04: np18:07
fralstime for beer \o/18:07
alteregoLucky for some :P18:08
alteregoI am however feeling quite hungry ..18:08
* alterego goes to find a snack.18:08
djszapiN9alterego, objectname change will also break the client codes18:09
alteregoWell fix it.18:09
* faenil is looking for help with QGLContext sharing...18:09
* alterego is wondering why QtMultimediaKit Video component segfaults when you supply a port number in the URL ..18:12
itsnotabigtruckfaenil: are you able to get a specific error out of qt18:12
*** tr4v3r has quit IRC18:12
faenilnope...create returns false...that's it18:12
alteregoHave you tried glError(Thing)18:13
faenildoes that work even on context creation errors?18:14
alteregoDunno :)18:14
alteregoMost likely not actually ..18:15
itsnotabigtruckalterego: it would probably be necessary to get the EGL error18:19
itsnotabigtruckbut i'm not sure if egl uses a geterror-type function18:19
alteregoI vaguely remember seeing one, so it might ..18:19
alteregoBut it's been a while :/18:19
djszapiN9faenil, check out in our gluongraphics18:22
faenilgot any link?18:22
djszapiN9i think we have a cross platform debugger macro18:22
djszapiN9no, i am on mobile, sorry18:23
djszapiN9qcolor was put into core yeee18:25
djszapiN9in qy5 \o/18:25
*** abinader has quit IRC18:30
*** jbos_ has quit IRC18:31
*** snowpong has quit IRC18:38
*** jreznik has quit IRC18:51
rzrdjszapiN9: ouch
*** admiral0 has joined #harmattan19:02
rzrthis is not good19:03
rzrwell actually most pple are ready to isntall debian now :)19:03
djszapiN9imo chakra is better :)19:04
faenilI'm on ubuntu 12.04 alpha2 and I find it very good19:05
faenilI was on debian testing previously19:05
djszapiN9well better than this cold here in the bus stop :p19:06
itsnotabigtruckanyone know if there's a test SSL site anywhere that has a revoked certificate19:07
itsnotabigtrucki.e. to check if revocation checking is working19:07
itsnotabigtrucki.e. if you go to https://blahblah.tld, if the browser says '...certificate is revoked...' then the test has passed, otherwise the test has failed19:08
djszapiN9faenil, do you plan to come to the qt contrib summit ?19:12
faenilwait wait I did not know about that :D19:12
faenilwhen is it and where?19:12
*** NIN101 has joined #harmattan19:18
*** nwoki_away is now known as nwoki19:20
faenilreally guys, what's wrong with this code?19:24
faenilcreate returns false...19:25
*** niqt has quit IRC19:27
djszapi <- faenil19:38
faenilso, I don't meet the reqs :D19:39
faenilanyway, I can't come there are uni exams that period19:39
*** filmoc has quit IRC19:45
*** gabriel9 has joined #harmattan19:47
*** djszapiN9 has quit IRC19:50
*** niqt has joined #harmattan19:55
*** xnt14 has quit IRC19:56
*** MohammadAG has quit IRC19:56
grifaenil: What's the difference to 11.10?20:04
faenildon't know I have used 11.10 for a very short time20:04
faenilgri please tell you know why I can't create() a QGLContext20:05
djszapiprolly more qt support.20:05
djszapiand better wayland20:05
*** gabriel9 has quit IRC20:06
grifaenil: Have you tried with a different format?20:07
faenilnope I have tried with defaultFormat() on Linux,Android,Harmattan20:07
faeniland it fails on all platforms20:07
faenilgtg write here I'll read later if you have any idea thanks20:08
*** niqt has quit IRC20:21
grifaenil: message #7 might be your answer20:29
ZogG_laptopfrals: tumblr uses same auth as twitter - than i think i just miss something i pm if you are free20:40
faenilgri: could be, thanks!20:40
*** decibyte has quit IRC20:46
*** NIN102 has joined #harmattan20:47
*** decibyte has joined #harmattan20:47
faenilgri: I'll give it a look when I'll be back, volley training now, cya later and thanks20:48
faenilhope that solves my problems20:49
faenilthough that should have been written in BIG SIZE in the documentation....-.-20:49
*** Free-MG has joined #harmattan20:49
*** NIN101 has quit IRC20:49
djszapifaenil: the qtopengl module is one of the crappiest ones :/20:51
djszapiincluding documentation20:51
*** beford has quit IRC20:59
*** faenil has quit IRC21:01
*** artemma has joined #harmattan21:01
*** fuz_ has quit IRC21:10
*** harbaum has joined #harmattan21:14
*** deimos__ has joined #harmattan21:19
*** fuz_ has joined #harmattan21:20
djszapinpm: toFixed(0) did not work21:23
djszapimath.floor() might be a better idea21:23
*** blueslee has joined #harmattan21:43
bluesleefrals: can you please check a potential lps png for me
*** Venemo has joined #harmattan21:47
*** Venemo has joined #harmattan21:47
Venemohey guys :)21:49
GeneralAntillesAny reason why messageserver would be running away eating 50% CPU all day?21:55
alteregoYour phone has been hacked and it's sending everyone messsages? :)21:57
Venemolol :D21:57
Venemohey alterego, I haven't seen you for ages :)21:57
Venemohow're you?21:57
GeneralAntillesWell then.21:57
GeneralAntillesI should probably flash 1.2 anyway.21:57
* RST38h yawns, greets General21:59
djszapiany ideas for this error ?
* GeneralAntilles is off to the dentist.21:59
djszapiGeneralAntilles: ouch!22:00
* djszapi has no luck with teeth :)22:00
GeneralAntillesRST38h, used ATI85 with a bunch of engineers last week. They almost died from awesomeness overload.22:00
djszapiI cannot somehow have an access to the child, secondTimer of the MainPage for some reasons.22:00
GeneralAntillesRST38h, thanks for making it sweet and free. :)22:01
*** nwoki has quit IRC22:01
RST38hGeneral: Only free until someone from TI sends a notice about the roms though =(22:02
RST38hGeneral: Although I made sure that nothing of non-archeological value is included22:02
*** diggy has joined #harmattan22:04
*** diggy has quit IRC22:05
Venemoradiofree, ping22:05
djszapiand I do have secondTimer:
*** benares_98 has quit IRC22:07
gridjszapi: without "property alias secondTimer: secondTimer" this won't work (don't know if the name clashes work here or if you have to rename the id)22:08
*** diggy has joined #harmattan22:08
griid's are not exposed outside of a component22:08
djszapiat all, even with componentId.childId ?22:09
grino idea what childId is22:09
griItem { id: first; Item { id: second } }  ---> first.second.with = 5 does not work in that case22:10
griwidth* I meant22:10
djszapithat is unfortunate.22:12
Venemo~seen MohammadAG22:12
*** benares_98 has joined #harmattan22:12
griI never had a problem with that22:12
griItem { id: first; property alias second: second; Item { id: second } }  ---> first.second.with = 5 may work22:13
*** beford has joined #harmattan22:13
djszapiI found a simpler solution22:13
djszapiI just restart the timer for the active status of the page22:13
djszapifor status change22:13
*** piggz has joined #harmattan22:13
djszapialterego: thanks for your time during the daytime. I got finally working it with not that much hack.22:16
*** Venemo_N950 has joined #harmattan22:17
*** tbf has joined #harmattan22:19
*** tbf has quit IRC22:19
*** jabis has joined #harmattan22:23
*** SqRt7744 has joined #harmattan22:36
*** admiral0_ has joined #harmattan22:36
*** Venemo has quit IRC22:37
*** admiral0 has quit IRC22:39
SqRt7744Ok, I *nearly* have this evopedia QML port for N9 in the bag, but I'm having an issue with anchors. I'd like the ListView to have a TextField below it, but this isn't working at all. Can anyone see an obvious goof??
*** risca has joined #harmattan22:42
*** etrunko has quit IRC22:42
*** blueslee has quit IRC22:50
jpwhitingdjszapi: I have changed my application and now when I try to install anything I get 'aegis-loader: Failed loading policy for blah::/opt/oldname/bin/oldexe'22:59
jpwhitingdo I have an old package installed somewhere still or something?22:59
jpwhitingah, apt-get remove oldpackagename seemed to fix it23:01
Venemo_N950btw, have I mentioned that the new fonts in PR 1.2 are beautiful?23:02
*** lizardo has quit IRC23:03
djszapino, but ehy are :)23:03
djszapijpwhiting: ok cool. sorry was afk reading Lydia's Open Advice book :)23:03
xTsVenemo_N950: ;P23:04
xTsI'm waiting for the update for my n923:04
*** Venemo has joined #harmattan23:05
*** Venemo has joined #harmattan23:05
jpwhitingdjszapi: np23:05
Venemo_N950xTs, :)23:12
Venemo_N950patience is a virtue23:12
xTshehe. Well, I hope you n950 users find all the errors, so I don't have to write the bug reports ;)23:13
xTsbut I ask for the n950 in my company... must be in someones desk right now :|23:14
*** lfranchi has quit IRC23:18
*** lfranchi has joined #harmattan23:20
*** artemma has quit IRC23:21
griSqRt7744: Your anchors are funny23:27
SqRt7744gri, thanks, I've fixed it23:27
SqRt7744but i have another question,23:27
gribinding on each other is indeed cool :D23:27
SqRt7744i want a button to display a dialog, what to put in the onClicked property??23:27
griwell, Dialog { id: dialog } Button { onClicked: }23:28
SqRt7744ah... cool, .open.  I was trying .show for some reason :-)23:28
*** tbf has joined #harmattan23:28
*** longthen has joined #harmattan23:32
*** longthen1 has quit IRC23:34
ZogG_laptopchrome for android looks awesome23:35
djszapimmm, I cannot find the forum thread anymore, but how can I modify a stringlist model data with a temporary variable in qml, and then assign back to the model data ? I do not see stringlist qml basic type in which I could store the model data value temporarily.23:36
SqRt7744is there any way to get the platform images to show up in a desktop build of qt-components?23:39
*** harbaum has quit IRC23:39
griSqRt7744: qt-components with the blanco theme comes pre-built with QtSDK23:40
gri(for desktop)23:40
*** tbf has quit IRC23:40
grialthough the qt-components version is a crappy one23:40
SqRt7744gri, that's a bit wierd, i had to grab the git version and install it that way, sans theme23:41
griwhat platform are you on? I never tried on non-linux QtSDK versions23:42
*** briglia has quit IRC23:42
SqRt7744ubuntu. But i think my project settings are wrong, I just changed them and will try it again23:42
*** Free-MG has quit IRC23:42
griI can just create a .qml file with "import 1.0" and run it in qmlviewer23:43
SqRt7744gri, so can I, but only because I installed the components separately. The SDK craps out with "" is not installed23:44
SqRt7744oh well.23:44
SqRt7744minor annoyance23:44
griusing the git-version might be the better choice anyway23:44
SqRt7744ok, one last question before I get to bed... is there a way to get the nice header, underlined, with the X button without building it myself?
djszapiin qml ?23:49
djszapiI doubt it.23:49
SqRt7744man this port is almost finished. I am so pumped to have evopedia again, I really missed it from my N90023:49
*** parancibia has joined #harmattan23:49
SqRt7744djszapi, yeah, I just figured it would be a component23:49
SqRt7744for consistency.23:50
griSqRt7744: The one from the second picture?23:50
grithat thing is called CommonDialog23:51
grialso inside
SqRt7744oh sweet.23:52
djszapibut why would anybody build qt-components from master ?23:53
djszapiinstead of just importing the component for that you need the master changes ?23:53
*** Venemo_N950 has quit IRC23:55
SqRt7744djszapi, because none of the components were available for my desktop builds, so i just cloned it and installed it that way23:56
djszapiwhy would you need harmattan components on desktop ?23:56
djszapiand not desktop components on desktop ?23:56
SqRt7744gri, any word on how to use CommonDialog? Docs == NULL23:57
SqRt7744djszapi, because my computer is faster than my phone for development23:58 ?23:58
djszapiyou do not need a custom build for that at all23:58
griSqRt7744: I never read the docs, I always look in the code but it's CommonDialog { titleText: "your title"; content: Rectangle { color: "red" } }23:58
gridjszapi: For testing simple dialogs that do not need system integration, it's faster to just run the qmlviewer with harmattan components on the desktop23:58
SqRt7744gri, thanks, sorry didn't mean to get you to do the footwork, just thought someone might know off hand23:59
*** parancibia has quit IRC23:59
djszapigri: why would one do that23:59
djszapiI can even do that inside sb23:59
gridjszapi: I do that sometimes simply because it's faster23:59

Generated by 2.15.1 by Marius Gedminas - find it at!