IRC log of #harmattan for Thursday, 2012-01-12

ieatlintopenness is dead, just accept it, but don't tell anyone00:01
benares_98i thought that the core of harmattan was open00:04
*** SqRt7744 has quit IRC00:05
benares_98nvm just found some articles around it00:06
benares_98open development but closed source00:06
*** NIN101 has quit IRC00:07
*** Venemo has joined #harmattan00:09
*** Venemo has joined #harmattan00:09
*** zk8 has quit IRC00:10
*** tbf_ has joined #harmattan00:13
*** wirwe has joined #harmattan00:13
javispedrosome fuss around tmo because someone got a n9 with pr1.200:16
ieatlinttheir experience and claims all sound legit00:19
ieatlintyou'll get nearly daily updates if you have the internal firmware00:19
ieatlintalthough, probably worth noting that just because it says "pr1.2" doesn't make it pr1.2, and this is actually just an internal build00:21
ieatlinthehehe " I am not sure but I think my friend at nokia gave me the wrong one... the box was not sealed."00:22
ieatlintmight even have the dev cert installed00:23
befordhackers gonna hack it00:23
javispedrosadly worthless for our purposes as there should be no way to extract the cert from it.00:23
ieatlintthe dev cert would've been leaked already if it were even remotely that simple i suspect00:24
*** wirwe has quit IRC00:26
*** vladest has joined #harmattan00:27
*** xTs has quit IRC00:36
*** Venemo has quit IRC00:48
*** Venemo has joined #harmattan00:54
*** Venemo has joined #harmattan00:54
*** benares_98 has quit IRC00:56
javispedroI can't wait for PR1.2 either, I wan't Bluetooth MAP support :D01:00
ieatlintis that expected in 1.2?01:00
ieatlintmy biggest hope is still nfc work..01:01
javispedroI can't know for sure (plans change daily seems...) but the code for it is around01:01
ieatlintif it gets SNEP, it'll allow p2p exchanges of things like vcards with android phones01:01
javispedros/wan't/want/ (oops :) )01:01
javispedroI thought NFC just fires up Bluetooth for doing usual OBEX01:04
*** Pali has quit IRC01:04
ieatlintthat's what nokia does, yes01:05
ieatlintbut while they followed the nfc forum specs, they were the only manufacturer to implement that scheme, so it only worked between nokia phones01:06
ieatlintand a bluetooth pairing to send over a ~1kb vcard?01:06
javispedrodon't remember nfc bandwidth by heart01:07
ieatlintandroid had their own p2p mode for it, only worked on android devices (but was open standard, and was implemented in at least a couple apps on nokia devices)01:07
javispedroI guess that the propietary nfc stack on harm doesn't help01:07
ieatlintthe android method would transfer in under a second01:08
ieatlintSNEP is a new official spec to do it, and android 4.0 implements it... really hoping nokia will jump on asap01:08
ieatlintthe bandwidth of nfc is 424kbit per the spec, say 200kbit realistic01:09
ieatlintso it's very realistic to use it to transfer up to ~100kb without issue01:09
javispedrothat sounds quite high01:09
ieatlintfor 3mb images from the camera, the bluetooth method is better01:10
javispedroyou can get some audio with that ...01:10
ieatlintif you want to hold your phone within 2cm of something, sure01:10
javispedroI'm just surprised, I thought it would be a few bits per second =)01:11
javispedroprobably been reading RadioDataSystem manuals for too long01:12
*** chris_ has quit IRC01:13
*** vladest_ has joined #harmattan01:13
*** vladest has quit IRC01:14
*** lucido has quit IRC01:14
*** vladest_ is now known as vladest01:14
ieatlintyeah, it's pretty robust, but you can get latency issues on some things01:20
ieatlintp2p is fast, but tag access is done in blocks, and if you have to issue a command for each block, it gets slow01:21
merlin1991damn there were some docs on nfc how one can register a custom type to be automatically handeled by your app01:21
javispedrothe only way to access the nfc api on harm is via qt mobility, so they must be there01:21
merlin1991nah it wasn't qt mobility01:22
ieatlintunofficially you can do it via dbus, i'm told01:22
ieatlintbut yeah, there's an xml file or something you set to add a type handler01:22
javispedrothe qt mob api calls d-bus, and that is open, so you know the calls01:22
merlin1991there were some user space tools you throw some xml at that register a ndef type to be handled by specific application01:22
javispedrobut I don't think it's documented01:22
ieatlintjavispedro: correct01:22
merlin1991and it was documented in some pdf from
* merlin1991 lost his copy though01:23
ieatlintmerlin1991: i know exactly what you're talking about.. trying to find it now too01:23
*** rcg1 has quit IRC01:23
javispedromerlin1991, if you have a n9, apt-cache search nfc then dpkg -L on each of the packages that appear. One of them will have the binary you are looking for.01:23
javispedrobrute force solution! :D01:24
merlin1991javispedro: and then revers that one to find out the xml format? :D01:24
javispedroI was thinking putting that name on google :)01:24
javispedro*binary name01:24
merlin1991not brute forcy enough :D01:24
merlin1991while were on it, easy way to find out the imei from qt?01:25
merlin1991or any other device specific identifier?01:25
javispedroI want one of those new fangled n9 thingies, why can those finnish guys steal them from nokia even with pr1.2?! I should be able to steal them too!01:26
javispedromerlin1991, qt mob systeminfo01:26
merlin1991thanks javispedro01:28
* merlin1991 bets you need some token for that01:28
javispedroI don't think so01:28
*** tbf_ has quit IRC01:30
*** chris_ has joined #harmattan01:30
*** lucido has joined #harmattan01:30
ieatlintthat appears to include an example01:30
ieatlint specifically methinks01:30
merlin1991ah yep01:31
ieatlintah, also fully documented here
ieatlint(look for "Meego 1.2 Harmattan" section)01:31
* DocScrutinizer corks and uncorks a little01:31
javispedrohello DocScrutinizer01:32
merlin1991ieatlint:  thanks01:32
DocScrutinizerhi javispedro01:32
merlin1991I only remembered that last time I checked the qtmobility docs didn't have proper docs on it, only some crude pdf I found *somewhere*01:32
*** beford_nemo has joined #harmattan01:34
merlin1991hm imei vs uniqueDeviceID what makes more sense?01:35
ieatlintuse unique device id unless you need the imei specifically methinks01:36
*** chris_ has quit IRC01:36
*** lucido has quit IRC01:36
* merlin1991 wonders how to listen to *Any* nfc tag01:38
*** Iktwo has quit IRC01:38
ieatlintmerlin1991: QNearFieldManager::setTargetAccessModes( QNearFieldManager::NdefReadTargetAccess | QNearFieldManager::NdefWriteTargetAccess | QNearFieldManager::TagTypeSpecificTargetAccess ); QNearFieldManager::startTargetDetection();01:41
merlin1991ieatlint: that requires you to have your app inc focus afaik01:41
merlin1991otherwise the default handlers for specific types would still overwrite01:42
ieatlintoh, you mean how to set your app as a default handler?01:42
merlin1991I thought more of just logging everything that passes the n9 :D01:42
ieatlintwatch dbus? :P01:42
merlin1991probably :)01:42
merlin1991hm where did my tags go01:43
Sazpaimonso like, I got rdesktop working in fullscreen but there's no way to swipe it away01:44
Sazpaimonwhat gives01:44
ieatlintthat's a feature01:44
*** rm_work has quit IRC01:47
merlin1991we got rdesktop?01:49
*** lucido has joined #harmattan01:49
*** zarlino has quit IRC01:49
Sazpaimonmerlin1991, rzr's repository01:55
*** zarlino has joined #harmattan01:55
* merlin1991 hopes apps.formeego has dependencys worked out soon01:56
merlin1991we could finally get rind of all those different private repos01:57
*** beford_nemo has quit IRC01:57
*** zarlino has quit IRC01:57
*** lucido has quit IRC02:04
*** nid0 has quit IRC02:07
merlin1991and the last question for today, suppose I have an application that heavily relies on functionality that is put into "modules" which are done as qplugins over qpluginloader, now each of those plugins has to have it's own settings gui, ideas on how to store the qml in the plugin and also inject it into the application on runtime=02:11
infobotmerlin1991 meant: and the last question for today, suppose I have an application that heavily relies on functionality that is put into "modules" which are done as qplugins over qpluginloader, now each of those plugins has to have it's own settings gui, ideas on how to stor...02:11
javispedromerlin1991, plugins can pass QDeclarativeItems back to the main app02:12
javispedroor even QGraphicsItem02:12
ieatlinti'm wondering if there's a way to use qrc in qplugins..02:15
ieatlintbecause that would work02:15
*** nid0 has joined #harmattan02:15
merlin1991yeah I actually thought if I could possibly extend the qrc of the application by the plugin and just use a generated qml filename to load as page onto the pagestack02:16
javispedroieatlint, I once had the question of whether assuming qrc are shared between images is portable02:16
javispedroqt docs do not seem to say anything on this regard, so I assume that it will not be the case on some platform02:17
*** lucido has joined #harmattan02:17
*** Natunen has quit IRC02:18
ieatlinti'm actually wondering why there is no obvious method to load qml from a qstring or something02:21
merlin1991is there an unobvoius way todo that?02:21
ieatlintwell an easy method would be to just write it out to a file in /tmp and load that02:22
merlin1991okay unobvious but still moderately sane way? :D02:22
ieatlintthat actually isn't a bad way to do it02:23
ieatlintthere are undoubtedly other unobvious methods, but unlikely sane02:23
javispedropassing QGraphicsItem/QDeclarativeItem is the maemo way02:25
ieatlinthere's a stupid way to do it... QDeclarativeView::setSource() takes a QUrl, so just run a web server and feed qml through it :P02:26
DocScrutinizeror use a sever with asp instead of javascr^H qml02:27
ieatlintyou can also do some crazy shit to get qrc to work it appears02:29
ieatlintQResource::registerResource() can take a uchar*, and it's used to add .rcc files (which is qrc, but its own binary instead of built into a qt binary)02:30
*** ten0r_ has quit IRC02:31
ieatlintwriting the qml to a tmp file is the most sane and simple i say02:31
javispedroeither way, I'd suggest against the use of qrc on harmy, and do it the unix way with files on $PREFIX/share02:32
lucidoIn my project if I choose harmattan build debug target my app works fine and if I build it with release I get segmentation error, what is the difference between these two build?02:32
itsnotabigtruckw00t w00t, the n9 has landed02:32
merlin1991javispedro: don't we have to have files on /opt/something in order for ovi compliance?02:32
javispedroitsnotabigtruck, and it broke?02:32
ieatlintlucido: debug symbols02:32
javispedromerlin1991, that's why I said $PREFIX instead of /usr ;)02:32
itsnotabigtrucklol javispedro02:32
javispedroieatlint, and optimization, which is probably the cause for the crash02:33
lucidoieatlint, how can it be that it runs fine with debug symbols and segfaults without them?02:33
merlin1991lucido: never ask that question02:33
ieatlintor its how its access memory02:33
ieatlintwow, my english is getting worse02:33
lucidomerlin1991, why not?02:33
itsnotabigtruckwhat's the 'dev cert' that was talked about above...02:33
merlin1991I went down that path once and found out that for odd reasons I had a shader in a qstring which was on the stack and use it later on when the memory is gone02:34
merlin1991worked fine in debug builds despite all logic02:34
ieatlintitsnotabigtruck: something that only people working for nokia have02:34
itsnotabigtruckieatlint: but what /is/ it02:34
itsnotabigtruckif it's possible to extract the firmware from the pr1.2 unit, won't it boot in unsigned / "open" mode02:34
itsnotabigtruckno cert required02:34
ieatlintthe cert isn't in the firmware image02:34
itsnotabigtruckright, but if it isn't needed it's irrelevant, no?02:35
merlin1991well it makes r&d easier02:35
lucidomerlin1991, whats a shader?02:35
merlin1991for exmaple the default setup lets your ssh in as root if you have the cert02:35
ieatlintuh, perhaps, but it's not the lack of dev cert that i suspect will stop you from doing that02:35
merlin1991lucido: it was a shader used in an opengl based tool02:36
itsnotabigtrucklucido: it's a program that runs on the gpu (if i'm not explaining the obvious)02:36
merlin1991but in practice I was accessing a qstring when it shouldn't be in memory anymore which still worked when running a debug build02:36
*** leinir has quit IRC02:36
ieatlintlucido: try using valgrind, it's one the dev packages02:36
lucidobus error02:36
*** leinir_ has joined #harmattan02:36
ieatlintand it might tell you what you'e doing that's evil02:36
lucidovalgrind is used by the qt creator debug02:38
ieatlinti don't think so?02:38
lucidoif I run debug in creator I get strange library errors02:38
ieatlintyeah, who needs libc anyway02:39
*** adlan has quit IRC02:44
*** M4rtinK has quit IRC02:50
javispedrofirefox requires 30% of 4GiB to succesfully link using ld, chromium requires nearly 70% and still increasing (machine's going to crash), and then they say firefox is bloated02:54
SpeedEvilWho cares about link size.02:55
SpeedEvilIf it took an extra 8G to link, to save 100K of operating RAM, ...02:55
SpeedEvil(though I doubt that)02:55
javispedrome, as soon as the OutOfMem killer springs in action02:55
beford8G should be enough for everyone02:58
*** Iktwo has joined #harmattan03:00
ieatlintheh, yeah, i love my employer that gives me a quad core 3.4ghz core i7, and then just 4gb of ram and 250gb hdd...03:03
ieatlint4gb is enough right?03:03
*** leinir_ is now known as leinir03:05
itsnotabigtruckieatlint: might you be able to requisition some more? ddr3 is pretty cheap now03:06
itsnotabigtruckalso javispedro: but chrome is's less about bloat and more about putting the entire user interface in javascript, and terrible memory management03:07
itsnotabigtruckalso, that ram usage is apparently b/c of profile guided optimization, which loads almost the entire thing into ram at once03:08
itsnotabigtruck(in unlinked form) for what it's worth03:09
ieatlinti'm still waiting on them to replace my keyboard with one that doesn't squeak :P03:09
itsnotabigtruckbtw does the N9 boot up without a sim installed, and has anyone in the US successfully had at&t replace their sim with a microsim?03:10
javispedrohow can it do profile guided optimization without a profile03:11
javispedro(it doesn't, it's just plain symbol bloat)03:11
ieatlintitsnotabigtruck: it boots up fine without a sim03:12
javispedro(which is admitedly meaningless, but hey...)03:12
itsnotabigtruckjavispedro: well, i think the build process is supposed to involve a profiling run03:12
ieatlintand i suspect since att has the iphone, they'll give you a microsim without hassle03:12
itsnotabigtruckieatlint: except the iphone is 'special'; i know they have them but they might be reluctant to offer one up03:12
ieatlintitsnotabigtruck: i don't think it's that special... and regardless, if they're about to offer the lumia 900, they'll need more general microsim support03:13
ieatlintcall att/visit a store, or google for it03:13
itsnotabigtruckyeah, i'll just head over there's after business hours now03:14
ieatlinti'm on tmo in the states and they happily gave me a microsim03:14
ieatlintand then were extremely confused when it wasn't for an iphone03:14
itsnotabigtrucklol yeah, that's part of why i'm worried03:14
itsnotabigtruck99% of people who want a microsim want it for their imported iphone03:15
*** Smtih has joined #harmattan03:19
arekinathdoes that mean that we are the 1%?03:22
javispedromore like the 0%03:22
*** diggy has quit IRC03:22
ieatlintyou'll soon find being in he 1% is a lot more fun...03:23
javispedroI once remember trying to explain to some operator the N900 existed, only to eventually give up and tell her to just give me whatever data they give for n8 owners03:23
ieatlintheh, yeah, i've had that data plan argument too many times03:26
ieatlint"but it won't work with that phone03:27
*** JackaLX has quit IRC03:40
*** JackaLX has joined #harmattan03:42
*** JackaLX has quit IRC03:42
*** JackaLX has joined #harmattan03:42
*** risca has joined #harmattan03:52
itsnotabigtruckhmm, my N9's touchscreen seems to be behaving anyone aware of issues related to the AC-10 charger? (that's the n900 one)03:58
itsnotabigtrucki vaguely remember seeing something like that on tmo03:58
*** snowpong has joined #harmattan04:00
*** Smtih has quit IRC04:04
SpeedEvilPlugged in capacitive displays can have wierd issues04:06
*** lucido has quit IRC04:08
itsnotabigtruckSpeedEvil: yeah, looks like it04:27
itsnotabigtruck here's the thread i was thinking of, same charger and everything04:27
itsnotabigtruckmaybe it'd work better with the AC-16U that came with the unit04:28
*** javispedro has quit IRC04:30
*** Iktwo has quit IRC04:43
*** bkre has quit IRC04:47
auenfyay, since upgrading to PR1.1, pulse uses 7% cpu when idle04:49
auenfpulse audio that is04:50
*** risca has quit IRC04:55
*** bkre has joined #harmattan04:56
*** Venemo has quit IRC04:59
*** risca has joined #harmattan05:09
*** Milhouse has quit IRC05:20
*** adlan has joined #harmattan05:20
keithzgvis-a-vis microSIMs, I actually just got my $5 puncher (with adapters to put microSIMs back into normal devices), seems to work fine (my provider here in Canada is on AWS and doesn't have any microSIMs themselves).05:23
SpeedEvilUsual caution - do not use adaptors with slot-type devices, like the n95005:27
SpeedEvilit can snag, and break the contacts05:27
*** tju3 has joined #harmattan05:58
tju3Hi can someone help me to get a QML Label (that has too much text) in two lines  instead of exceeding the page width05:59
tju3I've tried with Text.WrapAnywhere but I can't get the effect I want06:03
*** Natunen has joined #harmattan06:17
hiemanshutju3: write a simple wrapper function that checks orientation and splits into multiple labels06:23
*** Milhouse has joined #harmattan06:24
tju3hiemanshu: thanks I tought it was easier06:27
hiemanshutju3: last I checked no, label should be used as a label, no to display multiple lines of text :P06:28
tju3I know, and I'm not trying to do it with multiples words, it's a very long word, but just one, that's why I tought it was easier06:29
hiemanshutju3: then use Text instead of Label06:30
tju3and how do I set Text to look exactly like a default Label? I mean the font size for example..06:30
hiemanshutju3: use style: and set it to platformStyle06:32
tju3thanks, I'm gonna try that06:32
tju3style: platformStyle is supposed to set the color to the actual theme? I used dark theme and I can't see the text I have to set the color to white, but then if I switch to white theme it looks ugly06:36
*** risca has quit IRC06:51
itsnotabigtruckdo you guys recommend any particular country variant of the n9 firmware for english users06:59
*** vladest has quit IRC07:05
* RST38h yawns07:17
*** posix has joined #harmattan07:36
*** tju3 has quit IRC07:39
fignewIs anyone aware of a .deb packaging guide?07:45
fignewI could follow a generic debian one but I'm not sure if that'll include icons in the package manager?07:45
*** JackaLX has quit IRC08:00
*** vladest has joined #harmattan08:14
*** JackaLX has joined #harmattan08:20
*** hardaker has quit IRC08:21
*** xarcass has joined #harmattan08:24
*** beford has quit IRC08:37
*** mece has joined #harmattan08:39
posixcan anyone point me some directions on how can I install aditional -dev libraries on QtSDK? Some documentation would be nice08:44
* DocScrutinizer moos08:44
posixon default installation from the nokia qtsdk installer, madde terminal doesn't contain anything like apt-get utilities, so i'm a little bit stuck08:46
*** AndrewX192 has quit IRC08:52
dm8tbrI have to look that up myself every time08:53
dm8tbrbut there is a special command for this08:53
*** AndrewX192 has joined #harmattan08:57
*** AndrewX192 has joined #harmattan08:57
itsnotabigtruckfignew: i'm pretty sure there's some info in the dev guide09:00
mtdhi all - are there any good meego-python examples out there specifically for the N950?  Anyone working with python on that platform?09:04
tommaposix, mad-dev or mad has xdpkg09:04
fignewitsnotabigtruck: yep, I stopped being a lazyass and looked it up. Thanks :)09:14
itsnotabigtruckfignew: unfortunately, packaging info is about all that's in the dev guide :p09:15
itsnotabigtruckseems like there isn't much to speak of for documentation, of course the base qt stuff has very good docs09:15
Sazpaimonso has anyone attempted a maemo 5 chroot on harmattan, for kicks09:17
posixtomma humm.. mad-dev is an aditional package that i need to install? also, the mad-admin xdpkg seems to be a solution for me... i just need to know a repository from where i can download the harmattan libraries (such as libcommhistory-dev, etc)09:17
Sazpaimoni tried something once, didn't get very far, a few programs ran okay, most segfaulted, I think my chroot wasn't right09:18
itsnotabigtruckposix: you did download the platform sdk, right09:18
itsnotabigtrucknot just the qt sdk09:18
SazpaimonI might try using the fiasco image instead of the SDK rootstrap09:19
Sazpaimonthen, attempt to recompile any programs throwing floating point exceptions (if applicable)09:20
posixitsnotabigtruck maybe that's my problem then... i've read some documentation on doing it on debian-based systems, but nothing for windows09:20
posixso i though in windows the platform was installed with the nokia sdk installer09:21
posixi guess im wrong09:21
posixaccording to the, there's only a .py script for platform sdk installer, i guess it won't work on windows... so i think it's a better idea to install all the stuff on a vm on a debian-based dist09:23
tommaposix, yeah not mad-dev but mad-admin09:24
*** hhartz has joined #harmattan09:27
*** vladest has quit IRC09:37
*** hhartz has quit IRC09:54
*** gabriel9 has joined #harmattan09:56
djszapiN9fignew, it does. Debian also has icons. You might wanna use absolute paths though.09:59
*** rcg1 has joined #harmattan10:16
*** tbf has joined #harmattan10:17
itsnotabigtruckposix: afaict you *have* to develop for n9 on linux10:28
itsnotabigtruckassuming you have a relatively modern cpu, throw on virtualbox and get debian or ubuntu up and running10:29
jonniitsnotabigtruck: you can use QtSDK with windows too10:34
jonnionly the scratchbox env needs linux if your hardcore dev10:35
jonnior QtSDK with mac should work also10:35
jonniplatform-sdk != QtSDK10:36
*** aheinecke has joined #harmattan10:37
jonnipersonally I use QtSDK for developing ovi store apps, and only use scratchbox for compiling kernels etc lower level stuff10:37
* RST38h uses QtSDK for bitching about it10:41
*** DocScrutinizer has quit IRC10:43
*** DocScrutinizer has joined #harmattan10:43
infobotHi there, see: Is the proposition of sponsoring server for few months still actual?10:43
*** djszapi has joined #harmattan10:50
*** dymaxion has joined #harmattan10:50
*** zarlino has joined #harmattan10:57
*** ten0r has joined #harmattan11:00
*** vladest has joined #harmattan11:06
*** djszapiN9 has quit IRC11:15
*** wirwe has joined #harmattan11:24
*** wirwe has quit IRC11:29
*** rcg1 has quit IRC11:50
*** jreznik has joined #harmattan11:54
*** snowpong has quit IRC12:11
*** snowpong has joined #harmattan12:26
*** adlan has quit IRC12:28
*** djszapi has left #harmattan12:30
*** deimos_ has joined #harmattan12:37
*** zk8 has joined #harmattan12:42
*** zarlino has quit IRC12:54
*** lizardo has joined #harmattan12:57
*** RST38h has quit IRC12:59
ZogG_laptopjonni: rotation of camera element actually worked and even didn't mess with resolution as far as i see, but the captured picture is rotated and i can use only portrait =\13:09
*** zarlino has joined #harmattan13:10
jonnioh yes, might be better for your app just to force landscape mode while taking pictures13:17
jonnihmm, let me try something with my phone...13:18
ZogG_laptopjonni: all my app is in portrait13:23
ZogG_laptopjonni: i'll froce portrait, and i would need to add function to rotate picture13:23
ZogG_laptopjonni: is it the best to use states for taking picture and preview on same page or make it separete?13:25
jonniZogG_laptop: examples seems to use states, but I havent played with qml camera that much. btw in what rotation is the captured image?13:32
ZogG_laptopsame as camera - 9013:33
ZogG_laptopit's 90 left in bug so i assume rotation goes clockwise than i did 90 back13:33
ZogG_laptopjonni: yeah i saw states, but i think to made preview on separete page, now thinking to save it with Qt in cpp function so i can rotate picture physicaly13:34
jonniah yes, as we are only rotating the rectangle and not the viewfinders rotation13:34
jonniviewfinder==Camera element13:34
jonnibut yes, you might need to hack around with c++ functions13:35
ZogG_laptopi use Camera element rotation13:35
ZogG_laptopnot the one you sent13:35
ZogG_laptopjust simple rotation:9013:35
jonniah, maybe if you use my example of rotating the rectacle you get right pictures?13:35
ZogG_laptopit's a pitty there is no save image and change image functions in image element13:35
jonnihave you tried to keep camera rotation as 0 and put rectangle with 90?13:36
ZogG_laptopjonni: i think i used it and it said there is no such function, can you link me again13:36
ZogG_laptopjonni: i do not have rectagle13:36
jonniI even edited it directly to your debian package and it worked13:36
jonniI also pasted the .patch do forum that you posted13:37
ZogG_laptopoh that's you, i mean you the one also comented on bug right?13:38
jonniyou can leave out captureResolution on that patch, it just makes it fullscreen :)13:38
jonniyep, I commented also on the bug13:39
ZogG_laptopthat's what i wanted to ask btw =)13:39
ZogG_laptopbut what was the link to the in camera rotation u sent me once13:40
jonniit was using the same Rectangle rotation, the old link just didnt have to automatic landscape&portrait handling thingie that I added (currentRotation binding)13:40
jonniif your forcing portrait you can change it to rotation: 9013:41
ZogG_laptopi did, but only as Camera.rotation13:41
ZogG_laptopas i assume on page rotation buttons are rotated and other things too13:42
ZogG_laptopjonni: btw the resolution you gave me is not full screen, it has tinny borders =)13:43
ZogG_laptopthough the image is taken fullscreen =)13:43
ZogG_laptopmaybe it's coz i don't use fullscreen app and has top system status bar?13:44
jonniwell yes few millimeters, didnt have time to figure out how to remove extra pixels, most likely just some variable on Page borders13:44
jonnimaybe change white to black so users dont notice them :)13:45
jonnimy bet is that if you just rotate Rectangle instead of Camera you get right orientation pics13:45
jonnibut havent tested it13:45
ZogG_laptopi think the thing is that camera stream is proportional by default13:46
ZogG_laptopanchors.fill: parent makes it look small =)13:47
*** djszapi has joined #harmattan13:47
ZogG_laptopdjszapi: \o13:48
*** IcanCU has joined #harmattan13:52
djszapiZogG_laptop: hello :)13:54
djszapiI am unsure who wanted to use javispedro's generator, but he has now corrected it13:57
*** heymaster has quit IRC13:57
*** heymaster has joined #harmattan13:57
djszapiadmiral0: it was you ;-)13:57
djszapi(heh not here)13:57
ZogG_laptopdjszapi: corrected how?14:05
ZogG_laptopit worked fine before14:05
*** pinheiro__ has quit IRC14:09
djszapithat is what Javis replied: "Thanks for noticing it was down! Seems I broke it accidentally (I14:10
djszapichanged servers recently).14:10
djszapi"Either way, I've fixed it already, and also upgraded the librsvg on the server (so it should have less bugs)."14:10
*** javispedro has joined #harmattan14:11
javispedroZogG_laptop: it was broken for a few days as I moved servers14:11
jonniZogG_laptop: just did a bit of experimenting, you can get fullscreen qml camera on portaid mode if you rotate and then hack around with x y width and hight values14:20
thpis it possible to let the camera app capture via d-bus? i.e. simulate a press on the camera button on screen?14:20
jonniZogG_laptop: ie managed to get rid of borders14:20
*** javispedro has quit IRC14:21
*** djszapi has left #harmattan14:21
*** rcg1 has joined #harmattan14:21
jonnithp: well you can atleast just send fake touch event to capturebutton location, no need for d-bus14:23
jonni(if your camera app is open)14:23
thpjonni: how do i send these? it doesn't seem to work with xresponse14:24
jonnithp: my answer would be xresponse, atleast I've used it for sending keyevents for input fields etc14:25
thpjonni: well it works (xresponse -c XxY) everywhere else (e.g. in my own app), but not while the camera app is fullscreen14:26
*** MFaro-Tusino has joined #harmattan14:27
thpand i guess nobody has written a "volume+ key as camera button" app yet?14:27
*** hhartz has joined #harmattan14:28
fluxthp, it doesn't have the half-pressed state..14:28
auenfthats what the vol- is for :P14:29
fluxI guess you could use volume- for that :)14:29
fluxbut not quite as convenient14:29
fluxespecially as you need to use your left hand, for many people14:29
thpflux: well it could work like the on-screen button (i.e. keep pressed to focus, release to shoot) - although obviously we can't have the "abort" method then14:29
*** xmlich02 has quit IRC14:31
thpYESIT, got it :p14:35
thpxresponse -d 820x240,820x240 does the trick, the -c method doesn't work14:35
*** rcg1 has quit IRC14:37
*** rcg1 has joined #harmattan14:38
*** MFaro-Tusino has quit IRC14:43
jktany idea why my QML application shows the video from the front cam when run through the Qt Creator, but when launched directly, it doesn't show anything?14:50
*** djszapi has joined #harmattan14:50
jktrunning it through the `aegis-exec -a "GRP::video"` doesn't change anything14:50
djszapiI am getting this error message from the flasher even if the phone has been on the microusb cable for an hour:
djszapiGRP::video should be there by defaulty.14:51
X-Fadedjszapi: Can take longer. But it does start at some point.14:51
djszapilonger charge than an hour needed for getting 10 % ? :o14:51
jonnidjszapi: charging through usb port or real charger?14:52
jonnisome usb ports dont give enough power for phone to charge14:52
djszapiI have been charging phones on this port for years :)14:52
djszapiIt is around ~100 mA, so surely not ~200mA like the wall charger, but still14:52
X-Fadedjszapi: Yeah, it just does emergency charge, which is a very low trickle iirc.14:52
djszapi(and fwiw, it is always 0%)14:53
djszapiX-Fade: well, it always worked previosuly ;-)14:53
djszapias in, 10 minutes was always enough from zero energy.14:53
X-Fadedjszapi: N950?14:53
djszapiI am more like pondering some other charging issues.14:53
djszapiyes, N950 this time.14:53
djszapiI even tried "-Owait-charging".14:54
X-FadeYeah, I had it take a long time there. N9 got back to life quite quickly.14:54
dm8tbrjust put in a charged BL-4D :)14:54
jonnidjszapi: if the batterylevel has gone to 0 it might need 150mA to get charging started, sometimes it fails at 100mA if 0%14:54
djszapisometimes ? :o14:54
djszapilet us try the charger got to Lumia then :)14:55
djszapiwall, that is14:55
jonniand Owait-charging is bad thing to try, if device happens to run out juice during flashing it causes brick, unless you have R&D certs installed :)14:55
djszapiit should not start without proper energy in the first place.14:56
*** heymaste_ has joined #harmattan14:56
jonnithats why there is that 10% level check14:56
*** risca has joined #harmattan14:56
djszapithat is what one would expect from that option..14:56
jonnithat -Owait thing is supposed to be only nokia internal as our devices have R&D certs14:57
jonnisomeone just forgot to remove it from public release14:57
*** mairas has joined #harmattan14:57
jonniah sorry14:57
jonniwait-charging is ok to try, I confused it to no-wait-charding which bypasses the check :)14:58
djszapiright =)14:58
jonnimy crosseyes14:58
djszapijkt: do you have anything in syslog ?14:58
*** heymaster has quit IRC14:59
jonnijkt: are you trying to launch as user or root?14:59
djszapiI would guess from the applauncher. :)15:00
jonnior try aegis-exec -l -u user /path/to/app15:00
djszapiheh 7 minutes wall charger -> 1 %15:02
djszapithat sounds unreasonable to me.15:03
jonniheh atleast not 0 anymore, well it should speedup then it gets going.15:05
jktdjszapi: nothing in the syslog15:07
jktafter adding some debug output, it appears that the QCamera gets stuck in the LoadingState15:07
djszapiyou run it as user right, and what is on the console ?15:08
*** Smtih has joined #harmattan15:09
jktjonni: running it under the `aegis-exec -l -u user` doesn't change anything15:10
djszapijonni: still 1% after 15 minutes ;-)15:10
djszapijkt: you do not need to.15:10
jktwell, the only thing where I get an image out is when I launch it through the QtCreator, which is, I believe, under the "developer" account15:10
jktwhen I exit the app through the usual swipe down gesture, go to the menu screen on the device an launch it from there, I don't get any image out15:11
djszapiyou can try as developer, but it should work at the end as a user.15:11
jonnijkt: developer account has same userid as user, so should not make a difference, maybe you should just look qtsdk logs to see the exact command it is starting the app15:11
jktthe same happens when I launch it from a terminal application (ie. as the user, I believe) on the device -- again no picture out and the camera gets stuck in the LoadingState15:11
*** risca has quit IRC15:11
jktjonni: do you ahppen to know where shall I have a look? there's nothing in the qtcreator's output15:12
jonnijkt: and its usefull to add msgHandler in main (comment out on final realease), that way you get a lot more info on commandline
jonnithat will also increase all the debug information in creator15:23
*** deimos_ has quit IRC15:23
*** jreznik_ has joined #harmattan15:32
*** jreznik has quit IRC15:33
jktjonni: there are no extra messages printed by that handler15:33
jktI was already getting message from the qDebug() call15:33
*** zk8 has quit IRC15:38
*** mairas has quit IRC15:38
*** mairas has joined #harmattan15:38
*** hardaker has joined #harmattan15:42
*** mairas has quit IRC15:43
*** mairas has joined #harmattan15:43
*** zarlino has quit IRC15:45
jktso no matter what I do, the camera always stays in the LoadingStatus15:52
jonnimaybe aegis-exec just strips the needed cababilities, and you should just call the binary without aegis-exec15:54
*** etrunko has joined #harmattan15:55
jonnior try launching through invoker15:55
jktjonni: I've done that and the result is again no video15:58
jktas I've said here already15:58
*** mece has quit IRC15:58
jonniand starting from grid by clicking the desktop file doesnt work either?15:58
jktwhat's the grid (or rather what's the difference between that and the launcher?)15:59
jonniI mean the normal ui15:59
jktI've started running the binary from terminal, either directly or through the aegis-exec, and even directly just by this finger in the normal GUI of the phone15:59
jktalways the same behavior, no video15:59
jonniand you've installed with dpkg -i?16:00
jktI've installed through the Qt creator, removed that app through the GUI, installed the same .deb as the qtcreator uses through the web browser, and still nothing16:01
jonniand you have CE device? ie no R&D cert16:01
jonni(as there is difference how creator install stuff) :)16:03
jktthis is an N95016:03
jktI have no idea if there are variants of this model16:03
jonniah I though that you had N9, so you have N950, PR1.1? and not some earlier beta16:03
jktanyway, is the .deb file if you'd like to try for yourself16:04
jkt2.2011.39-5_PR-RM680 says the about box16:04
jonniah yes thats newest public that is on N95016:05
jonni1st thing that fails is GRP::audio, unknown source cannot have that group16:08
*** xarcass has quit IRC16:09
*** beford has joined #harmattan16:12
*** Guest61352 has joined #harmattan16:12
*** Guest61352 has left #harmattan16:13
jktjonni: ok, I've now removed it16:14
jktjonni: the wierd thing is that a sample application from gitorious, the "simplemirror", works even when launched directly, after deployment through the qtcreator16:14
jktI've also just disabled the HARMATTAN_BOOSTER define in the qmake file, but it doesn't appear to change anything16:15
jonniwhats your desktop filename16:16
jonniah found it16:16
jktit appears that the working demo renders directly through the QGraphicsVideoItem, while I do it over a child of that type and my C++ class is just a QDeclarativeItem subclass16:21
jonnijust got it working, your problem is that you try to run it as root, which gives dbus access error16:23
jonniaegis-exec -l -uuser "/usr/bin/invoker --type=d -s /opt/CuteMirror/bin/CuteMirror"16:23
jonniwhen running as user it works16:23
jktjonni: well, what have I done wrong to request running as root? I'm just clicking on the launcher icon16:24
*** Pali has joined #harmattan16:24
jonniit its user without the right env variables16:24
jonniwhich the -l adds16:24
thptadaa! (app to make vol+ act as shutter button in the camera app)16:25
X-Fadethp: push to apps please :D16:26
thpX-Fade: ;)16:26
*** vladest has quit IRC16:27
jonnijkt: most likely its missing the DBUS_SESSION_BUS_ADDRESS which the -l adds to env16:27
jktjonni: I'm using the qtcreator's template for a QML app (a generic one, though)16:27
* jkt checks the .desktop file16:27
jonniif you add that aegis exec part infront ot invoker part you get it running16:28
jonniI bet16:28
X-Fadethp: Crap, something broke :)16:28
thpi'm sure you'll quickly fix that :)16:28
X-FadeNow the ball is in my court ;)16:28
jonnijkt: atleast worked from commandline, you might need to fight a bit with the desktop file, but might be that disabling HARMATTAN_BOOSTER define breaks it16:30
*** djszapi has left #harmattan16:30
jktjonni: I've played both with that flag enabled and disabled16:30
jonniah and logs say that you try to call which gives access denied16:34
jonnibut without seeing the sources I cannot help more, most likely startup is blocked since it tries to call some dbus API which is not permitted16:35
jktjonni:, sorry for delay16:46
jktjonni: even with your advice, I cannot launch the application from inside the phone. The DBUS_SESSION_BUS_ADDRESS=unix:abstract=/var/tmp/dbus-JY8TKxCdfH,guid=89b3e09b9604bb492548ac95003ea24e is in there16:46
jktjonni: I have a new data point, though -- when I open a terminal on the application and start the app directly as a binary from there, the video still isn't shown. But if I execute a develsh from the temrinal and launch the binary from *there*, it works great16:47
jktso the question is what is develsh doing ?16:47
*** arcean has joined #harmattan16:48
jonnijkt: most like its because you disabled booster, and when booster is disabled you are not allowed to use QScopedPointer, just use QApplication instread in main16:48
jonnijkt: (I quickly looked your main.cpp sourcecode...)16:49
thpX-Fade: found something?16:49
jktjonni: booster looks enabled in the latest master16:49
X-Fadethp: Yeah, fixing :)16:49
jonnijkt: you should not use booster, untill next QtSDK release comes out, it has a but that your qmlRegistType goes to wrong instance :)16:49
X-FadeAnd declining the duplicate one manually :)16:50
jonnijkt: but=bug which is fixed in next release16:50
* jkt fixes16:50
thpX-Fade: yeah, i re-submitted because i forgot the screenshot and icon in the first request16:50
jonnithat was easy error to find16:50
X-Fadethp: Will fix it, but have to go now for a few hours first unforunately.16:51
*** rm_work has joined #harmattan16:51
*** rm_work has joined #harmattan16:51
jonnijkt: bug reference is here that link shows another way to fix it too, but easier is just not to use qscopedpointer16:54
*** smokex|away has quit IRC16:56
jonnijkt:     anyways it will be fixed in 2.4.016:56
jktjonni: I've disabled the booster in 203c8c4 (and pushed), but again it works only when executed through the develsh or via the atcreator16:57
jonnijkt: and you fixed the qmlapplicationviewer to return right rootContext??16:59
* jkt checks17:00
jonnithe fix which is mentioned in 649017:00
jktlooks like I need a proepr account to access the codereview17:01
*** Iktwo has joined #harmattan17:03
*** Shadikka has quit IRC17:07
jktjonni: well, I might be a bit confused here, but I'm already on SDK 2.4, and the patch doesn't work as my compiler says that there's no d->view in there17:08
jktfurthermore, I'm not accessing the rootContext explicitly anywhere17:08
jktjonni: can you confirm that any version of my code (from gitorious) works when launched directly from the terminal on your phone?17:09
*** briglia has joined #harmattan17:10
*** smokex has joined #harmattan17:10
*** Pali has quit IRC17:11
*** RST38h has joined #harmattan17:12
*** Shadikka has joined #harmattan17:13
* RST38h moos evilly17:14
*** mairas has quit IRC17:18
*** mairas_ has joined #harmattan17:18
*** rcg1 has quit IRC17:19
merlin1991can anybody shed  some light onto the "digisums" flie in the harmattan debian archives?17:20
*** ten0r has quit IRC17:21
*** zk8 has joined #harmattan17:29
*** briglia has quit IRC17:33
*** rcg1 has joined #harmattan17:35
merlin1991in particular I'm interested where that file gets created17:35
merlin1991as in at which point in the build process17:35
jktjonni: any idea?17:36
*** gabriel9 has quit IRC17:38
*** e-yes has quit IRC17:39
jktwhen I have a look at the PID that gets launched by clicking the icon through `accli -I -p thatpid`, the capability listing doesn't include the GRP::video17:40
*** rcg1 has quit IRC17:40
*** rcg1 has joined #harmattan17:41
*** zk8 has quit IRC17:47
merlin1991so scratchbox generates a file that ens up in the .deb file in the control.tar.gz that is called digsigsums, I'm looking for the code that does exactly that17:51
*** JackaLX has quit IRC17:56
*** benares_98 has joined #harmattan17:58
*** vladest has joined #harmattan17:59
*** JackaLX has joined #harmattan18:01
*** JackaLX has quit IRC18:01
*** JackaLX has joined #harmattan18:01
jonnijkt: yep I got camera showing from terminal... I'll have a look to git sources later if I have time...18:11
jktjonni: even when launched directly from the GUI? wow...18:11
jktjonni: how did you build the package? what version of the qtcreator -- or something else?18:12
jonnijkt: havent got it working from gui yet18:12
jonniI'm just downloading git now18:12
jktthanks for having a look18:13
jonnihow do you create the deb normally, as when pressing deploy it doesnt put desktop inside the package?18:17
*** hhartz has quit IRC18:19
jktjonni: it puts the desktop file in there for me, at least here18:19
jktand it's definitely a permission issue; running it under strace shows that it cannot open /dev/media018:21
jonni <!-- <credential name="mce::TKLockControl" /> -->   please add comments around or remove that, unsigned package cant request that capa18:22
jktjonni: done that, no change18:25
jonniI'll have an idea.. but I'll test it later, have to eat and do stuff first18:31
matrixxanyone from here in Helsinki QtEverywhere meetup?18:32
*** xTs has joined #harmattan18:35
*** tbf has quit IRC18:38
pawkyjonni: Tada.... I am back, with a new phone.... ;-)18:47
pawkyDoes anyone know wether restoring a backup from a different N9 will work or if that will lead to me having to manually enter the login passwords for all accounts when booting the phone?18:57
*** arcean_ has joined #harmattan19:02
*** arcean has quit IRC19:02
*** jreznik_ has quit IRC19:02
*** etrunko has quit IRC19:12
*** NIN101 has joined #harmattan19:12
*** beford has quit IRC19:19
*** KRF is now known as kfunk19:22
jktjonni: thanks a lot for your help. In the end, I was able to fix that, the error was in my aegis manifest, my placement of the <for> tags was all wrong ;(19:22
jktjonni: is what fixed the whole thing19:22
jonniah yes, it helps to have working aegis-file19:25
*** kfunk is now known as krf19:30
*** krf is now known as KRF19:31
*** beford has joined #harmattan19:32
*** decibyte has quit IRC19:44
*** decibyte has joined #harmattan19:45
*** snowpong has quit IRC19:48
*** BluesLee has joined #harmattan19:53
BluesLeesomeone familiar with the n9 lockscreen modifications?19:55
*** admiral0 has joined #harmattan19:57
*** briglia has joined #harmattan20:00
*** zk8 has joined #harmattan20:00
*** pinheiro has joined #harmattan20:06
*** BluesLee has quit IRC20:17
*** stroughtonsmith has joined #harmattan20:17
*** Smtih has quit IRC20:18
pawkyjonni: Didn't you mention something regarding restoring from different phone equals having to write passwords at boot?20:20
*** rcg1 has quit IRC20:20
jonnipawky: havent mentioned afaik, but yes if you restore from different phone, you need to recreate all the accounts, since it cant encrypt the backed up passwords20:22
jonnidecrypt even20:22
pawkyok thank you :-)20:22
*** Sazpaimon has quit IRC20:22
mgedminjonni, "different phone" means what?  if I reflash the n9 and restore from backups, will I get my passwords?  if I buy a new n9 and restore from backups, I won't?20:29
jonnimgedmin: afaik, yes.20:30
*** kevinbAtN9 has joined #harmattan20:35
*** admiral0 has quit IRC20:36
*** admiral0 has joined #harmattan20:37
*** kulve has left #harmattan20:38
*** rcg1 has joined #harmattan20:42
*** NIN101 has quit IRC20:44
*** zz_gri is now known as gri20:48
griOne question: When I want to update my application in Ovi store, do I have to create a new content file (not content item) or "edit" the existing one?20:49
Iktwono, you have to modifiy the content20:51
Iktwowait I'll there you where..20:51
Iktwogri: well you have to go to content, then click on your item, then in content files you have to replace the .deb (if it is for maemo or meego..)20:53
*** Free-MG has joined #harmattan20:53
griOk, so it's editing20:53
Iktwogri: you can set an update note there20:53
*** heymaste_ has quit IRC21:07
*** AKBAAR has joined #harmattan21:07
*** AKBAAR has quit IRC21:08
*** heymaster has joined #harmattan21:12
*** vladest has quit IRC21:16
*** vladest_ has joined #harmattan21:16
*** vladest_ is now known as vladest21:16
*** gri is now known as zz_gri21:17
*** zk8 has quit IRC21:20
*** NIN101 has joined #harmattan21:27
*** jreznik has joined #harmattan21:33
*** javispedro has joined #harmattan21:45
bindiis it possible to get caller-specific ringtones, on the N9?21:55
javispedroyeah, look at the contacts application21:58
*** kevinbAtN9 has quit IRC22:18
*** javispedro has quit IRC22:24
*** leinir has quit IRC22:48
*** leinir has joined #harmattan22:48
*** leinir has joined #harmattan22:48
*** smoku has joined #harmattan22:56
*** ninnnu has quit IRC22:56
*** ninnnu has joined #harmattan22:56
*** smoku has left #harmattan22:56
*** lizardo has quit IRC22:57
*** M4rtinK has joined #harmattan23:12
*** zk8 has joined #harmattan23:23
*** trx has quit IRC23:24
*** jreznik has quit IRC23:25
GeneralAntillesWhy is it that manufacturers never plan on having high availability for their most breakable parts.23:26
*** trx has joined #harmattan23:26
*** Venemo has joined #harmattan23:32
*** Venemo has joined #harmattan23:32
*** leinir has quit IRC23:40
*** leinir has joined #harmattan23:42
*** leinir has joined #harmattan23:42
*** fuz_ has quit IRC23:59

Generated by 2.15.1 by Marius Gedminas - find it at!