IRC log of #harmattan for Sunday, 2011-11-27

fralsyour abuse of ; makes my eyes bleed :[00:02
*** GNUton-BNC has quit IRC00:05
fralsand wait, what are you expecting to happen00:06
*** GNUton-BNC has joined #harmattan00:06
fralsall the delegates are going to look the same there00:06
fralswith projectName/projectDescription/app-gluon.png00:06
*** zarlino has quit IRC00:13
fralsi guess he added me to ignore list after the last time i mentioned aegis, though.. oh well00:16
cos^phew.. finally submitted an app to ovi store.00:17
*** vladest has quit IRC00:26
*** vladest has joined #harmattan00:27
*** zarlino has joined #harmattan00:31
*** vladest_ has joined #harmattan00:33
*** vladest has quit IRC00:34
*** vladest_ is now known as vladest00:34
*** zarlino has quit IRC00:40
*** trx has quit IRC01:07
*** dymaxion has quit IRC01:08
*** trx has joined #harmattan01:14
*** b3ll has quit IRC01:30
*** bjv has left #harmattan01:30
djszapiis it expected if the Status bar at the top covers the top part of my ListView without setting margins explicitely ?01:33
*** Crnkoj has joined #harmattan01:35
*** niqt has quit IRC01:52
*** Venemo has quit IRC01:56
*** wazd has quit IRC01:57
*** heeeegua_ has joined #harmattan01:57
*** heeeegua__ has quit IRC02:00
*** b3ll has joined #harmattan02:02
*** heeeegua__ has joined #harmattan02:04
*** heeeegua_ has quit IRC02:06
*** zk8 has joined #harmattan02:08
*** rcg1 has quit IRC02:11
*** zk8 has left #harmattan02:13
artemmaWho knows how to turn on showing clock on the lock screen?02:15
artemmaI see it on YouTube videos, but can't find setting for it02:15
artemmawhen I lock screen, it is just black02:15
*** Natunen has quit IRC02:16
*** Crnkoj has quit IRC02:17
*** crevetor has joined #harmattan02:27
corecodeany idea what part of the system implements the services in contacts/phone02:31
corecodelike sip, skype, gmail02:31
*** arcean has quit IRC02:33
*** NIN101 has quit IRC02:35
*** b3ll has quit IRC02:41
DocScrutinizerprobably telepathy02:46
DocScrutinizerplus rtcom-*02:46
DocScrutinizer(just handwaving)02:46
*** b3ll has joined #harmattan02:48
b3llnpm: you available?03:17
*** hardaker2 has quit IRC03:18
*** b3ll has quit IRC03:22
npmfor some value of available.03:23
npmgo easy i have a fever and a cold and am semi-delirious03:23
npmbleh i think i forgot to eat03:26
npmmust feed03:27
*** bindi has joined #harmattan04:00
*** wicket64 has quit IRC04:18
*** M4rtinK has quit IRC04:18
*** Arkenoi has quit IRC04:24
*** Arkenoi_ is now known as Arkenoi04:24
*** ArkanoiD_ has joined #harmattan04:24
*** b3ll has joined #harmattan04:27
*** ArkanoiD_ has quit IRC04:37
*** b3ll has quit IRC04:45
*** ArkanoiD_ has joined #harmattan04:49
*** Smith has joined #harmattan05:02
*** b3ll has joined #harmattan05:16
*** Evgeniy has joined #harmattan05:41
*** Smith has quit IRC05:42
*** crevetor has quit IRC05:47
*** b3ll has quit IRC05:56
*** b3ll has joined #harmattan06:07
*** b3ll has quit IRC06:11
djszapicorecode: mostly telepathy backends06:19
*** Smith has joined #harmattan06:31
*** Evgeniy has quit IRC06:31
*** b3ll has joined #harmattan06:35
*** Natunen has joined #harmattan06:37
*** artemma_ has joined #harmattan06:38
*** artemma has quit IRC06:39
*** artemma_ is now known as artemma06:39
*** hardaker2 has joined #harmattan06:50
*** Smith has quit IRC06:59
*** Stecchino_ has joined #harmattan07:19
*** dymaxion has joined #harmattan07:21
*** Stecchino has quit IRC07:21
*** DocScrutinizer has quit IRC07:22
*** DocScrutinizer has joined #harmattan07:22
*** Smith has joined #harmattan07:29
*** heeeegua_ has joined #harmattan08:22
*** heeeegua__ has quit IRC08:26
*** chpwn has joined #harmattan08:27
*** chpwn has left #harmattan08:27
*** hardaker2 has quit IRC08:45
*** oscoder has joined #harmattan09:19
*** messerting has joined #harmattan09:42
*** fuz_ has quit IRC10:00
*** dymaxion has quit IRC10:04
*** psycho_oreos has quit IRC10:04
*** fuz_ has joined #harmattan10:06
*** BluesLee has joined #harmattan10:12
*** BluesLee has quit IRC10:17
*** psycho_oreos has joined #harmattan10:19
*** wazd has joined #harmattan10:25
*** dymaxion has joined #harmattan10:25
*** zk8 has joined #harmattan10:59
*** hatake_kakashi has joined #harmattan11:02
*** psycho_oreos has quit IRC11:05
*** zk8 has left #harmattan11:06
*** vladest has quit IRC11:08
corecodeok, i think i didn't ask the right question11:20
corecodeany idea what part of the system implements the *display* of services like skype, sip, gmail?  those blocks that are below the "services" divider in the contact.  I think telepathy is the backend, but what hooks does the contact manager use to show these things?11:22
corecodeI'd like to enable xmpp for my xmpp server, like it supposedly works for gmail11:22
*** rcg1 has joined #harmattan11:23
djszapihuh ? MTF and QML11:23
djszapiaccounts ui plugin and all that jazz11:23
corecodeyes, that11:32
corecodewhere can i find that?11:32
corecodealso, my meego-sb-session start doesn't show anything in xephyr :/11:32
djszapifind what ?11:32
corecodeaccounts ui plugin11:32
djszapiI am not sure what you mean...11:33
corecode10:23:58 < djszapi> accounts ui plugin and all that jazz11:33
djszapiif you look for how to write account ui plugins, that is not documented decently, and you might need to read the code11:33
corecodeno worries11:33
djszapianyway, apt-get source matter as usual11:34
corecodei just want to hack the existing gmail plugin to work for other xmpp servers11:34
djszapiwill not really work11:34
djszapiI would write a completely new plugin...11:34
djszapibecause it is a golden rule on Harmattan, do not touch the system components11:34
corecodeah, sure11:35
corecodei'm just trying to understand the components11:35
corecodebut so far i can't get the desktop showing in xephyr11:35
djszapiwhy would you want that ?11:35
corecodewell, the home screen11:36
djszapiwhy would you want that ?11:36
corecodeto set up a development environment11:36
djszapiwhy not test on the device ?11:36
corecodeof cousre11:36
corecodeafter i'm done testing in scratchbox11:37
djszapithatis a bad workflow, but you are entitled to do that11:37
*** vladest has joined #harmattan11:37
corecodewhat would be the right workflow?11:38
djszapi11:36 < djszapi> why not test on the device ?11:38
corecodethe harmattan docs talk about installing the sdk11:38
djszapiI am saying, that is a bad workflow.11:39
djszapiyou need to test it on the device anyway11:39
corecodeso nokia is telling me to use a bad workflow?11:39
*** zarlino has joined #harmattan11:39
petteriwith qtsdk you can easily deploy to n911:40
djszapino, Nokia writes all the possibilities11:40
djszapithat is good if you do not have a device...11:40
djszapiNokia writes everything good, you evaluate the docs wrong :)11:40
corecodeyou can use Harmattan Platform SDK to develop native applications and system-level components for Harmattan. It is most suitable for developing platform components and features,11:41
corecodethat's what they say11:41
corecodebut that's besides the point11:42
corecodei'd just like to get the screen in xephyr to work11:42
corecodeare you eliza?11:42
corecodejust to get it to work on my machine11:42
corecodejust assume that i don't have a n911:43
petteriqtsdk has also this simulator, which is quite easy to use11:43
djszapiyou do not have adevice ?11:43
corecodepetteri: with all system components in there?11:43
* djszapi fails to see what this discussion about11:43
corecodedjszapi: there is no discussion, except for you saying "why"11:44
djszapiplease use the community wikipage with experiences11:44
corecodeharmattan platform sdk doesn't display the home screen in xephyr.  i'd like to fix it11:44
djszapithis is not how we develop applications11:44
pettericorecode: don't know. I just did app with qml and it worked fine, there are buttons to emulate, gps, calls, etc, but did not use them11:44
djszapiyou are entitled to this bad workflow, but do not expect too much help11:44
*** zarlino has quit IRC11:44
petterii have also scratxbox setup on my machine, but it is much more harder to setup and update than the qtsdk, which just worked out of the installation11:45
djszapipeople use qtcreator for deploying or just modify the qml giles on the device directly.11:45
corecodeyea, i'm not trying to develop an application11:45
corecodepetteri: i see11:45
corecodepetteri: did scratchbox with xephyr ever work for you?11:45
* djszapi fails to see why one need xephyr if he does not develop application...11:45
pettericorecode: yes, running 64bit debian here11:46
petteriit does not work on arm target11:46
corecodepetteri: ok11:46
corecodepetteri: and you just run meego-sb-session start and it works?11:46
pettericorecode: hmmm.. not sure, i did what the tutorial told me, but i remmeber that there were couple of issues11:48
petteriit has been some months since i used it. I am using the qtsdk as it so much easier11:49
corecodeok, downloading the qt sdk11:55
*** vladest has quit IRC11:58
*** leinir has joined #harmattan12:01
*** leinir has joined #harmattan12:01
*** Smith has quit IRC12:15
djszapiis it a good practice to register all the pages in the main.qml with identifiers so that they can be referenced from any page to the pageStack.push method ?12:27
djszapior shall I just load a page from a file, and leave the main.qml cleaner ?12:27
*** leinir has quit IRC12:41
djszapiok, I chose the loading from the resource file.12:50
*** Smith has joined #harmattan12:52
*** zarlino has joined #harmattan12:55
*** M4rtinK has joined #harmattan13:02
*** messerting has quit IRC13:05
*** vladest has joined #harmattan13:06
*** Natunen has quit IRC13:18
*** trx has quit IRC13:21
*** Smith has quit IRC13:21
*** natunen has joined #harmattan13:22
*** trx has joined #harmattan13:26
*** zz_gri is now known as gri13:41
*** zarlino has quit IRC13:45
*** hatake_kakashi has quit IRC13:55
*** piggz_ has quit IRC14:14
djszapiM4rtinK: o/14:17
djszapiM4rtinK: do you have experience with Cairo ?14:18
*** cougar has joined #harmattan14:18
*** cougar has quit IRC14:20
*** piggz_ has joined #harmattan14:22
M4rtinKdjszapi: I'm using to to draw the GUI in current modRana incarnation14:33
djszapiI was just wondering about an inkscape-like tool based on Qt.14:35
djszapiand iirc inkscape uses cairo for rendering.14:36
*** Arkenoi has quit IRC14:39
M4rtinKwell, Cairo is pretty nice to use IMO14:48
djszapiI would use QtSvg probably.14:49
M4rtinKthe only problem I have with it at the moment is, that its not compatible with Qt :)14:49
djszapiwhois not compatible with qt is an antagonist ;-)14:50
M4rtinKthinks like draw an icon/marker/etc with Cairo and place it on an QML or QGRaphicsView item :)14:50
djszapiM4rtinK: sounds like a corner-case, right ? ;)14:51
M4rtinKthis would spare quite some time when doing a Qt based GUI for modRana :)14:52
M4rtinKwell, yeah but would be nice if it worked14:52
M4rtinKtowards 2D drawing compatibility ! :D lets use QPainter in GTK and Cairo in Qt :)14:53
djszapinot sober, right ? :)14:54
djszapi -> gtk-fremantle is still dodgy14:55
M4rtinKhmm, still that same old immodules error14:56
djszapiI wonder why I am getting math errors...I need to add -lm explicitely everywhere.14:56
djszapion c-obs only14:56
*** fuz_ has quit IRC14:57
djszapilike: and
djszapiX-Fade: got a clue ?14:57
*** fuz_ has joined #harmattan15:02
*** attah has joined #harmattan15:04
*** oscoder has quit IRC15:10
attahHi guys.. I'm rather new to this so bare with me.. My problem is that apparently I'm to dumb to get gstreamer working in an app. Eventually i'd like to play rtmp streams.. but for now i just want to play a video.15:15
attahAnyone that has done this?15:15
*** piggz_ has quit IRC15:16
djszapiyou can use the builtin, or smplayer from the community repository as far as I can see. If you are interested in the details, look at the smplayer source code.15:17
attahthe builtin gstreamer? that's what i'm trying.. thanks, i'll have a look at smplayer15:21
djszapimplayer2 is also available for Harmattan15:22
djszapibut it uses ffmpeg though15:23
attahokay.. well i tried pipeing rtmpdump to mplayer.. that kinda worked.. hmm..15:26
*** zarlino has joined #harmattan15:27
*** Ans5i has joined #harmattan15:31
SpeedEvilIIRC mplayer can do rtmp urls15:39
SpeedEvilOr am I uimagining stuff15:39
*** zarlino has quit IRC15:41
attahyeah with the proper plugins enabled.. mine can't however15:41
djszapiyou did not give any error description yet, right ? :)15:41
attahnot really :P15:42
attahi'm pursuing two things atm.. but i'd like to shift focus from rtmp to getting gstreamer running in my project.. as per
attahnow it actually does compile.. but i can't seem to add a source.. so that's my problem15:44
djszapiany idea for getting "green" icons on the appgrid after installing my package ?15:47
djszapiit worked fine before doing the icon with javispedro's generator.15:48
attahi got the same bug with an appified webpage.. no idea on solution though15:49
*** V13 has joined #harmattan15:52
V13I'm starting working with QML and I've a Q: How do you declare a rectangle to be full height ?15:53
corecodei'm getting "mass storage in use" when connecting the usb cable15:53
corecodeany idea what that could be?15:53
V13corecode: something is using MyDocs most probably15:53
V13do you have any open apps ?15:53
V13open a terminal15:54
V13su to root15:54
V13and run fuser -m /home/user/MyDocs15:54
V13it should list a number of pids15:54
V13(it's harmless)15:55
djszapiV13: anchors.fill: parent15:55
*** V13 has left #harmattan15:55
*** V13 has joined #harmattan15:55
djszapior height: parent.height;15:55
V13wait... codered: n900 or n950 ?15:55
V13djszapi: with or without height ?15:55
djszapiV13: sorry ?15:56
V13djszapi: Rectangle { anchors.fill: parent width:50 height:90 } ?15:56
djszapiuhh that is wrong...15:56
djszapiRectangle { height: parent.height; } for instance15:57
V13djszapi: Rectangle { anchors.fill: parent width:50 height:90 } ?15:57
djszapiif you just need the full height15:57
*** Venemo has joined #harmattan15:57
djszapiuhh that is wrong...15:57
V13Unable to assign undefined value15:57
corecodenothing on MyDocs15:57
Venemogood afternoon everyone :)15:57
djszapihi Sir Venemo ! :)15:57
Venemohey Sir Djszapi! :)15:58
djszapiVenemo: I solved my role issue :)15:58
Venemodjszapi, what was the problem?15:58
djszapiVenemo: very deep backend issue...15:58
corecodecan't umount /home/user/MyDocs: invalid argument15:58
* V13 doesn't like qml15:58
corecodewhat's going on?15:58
djszapiwe rewrote the gluon description language parser15:58
Venemodjszapi, hmmm. then why did it work on other platforms?15:58
djszapiVenemo: because the other platform had the new commits from master15:58
djszapi1-2 new commits that fixed it15:59
Venemodjszapi, aaaawwww15:59
fralsV13: if you use anchors.fill: parent it will fill the parent and ignore width and height, also you are missing a ; after anchors.fill: parent on that line15:59
* djszapi does not like QML yet either...15:59
corecodeah now it worked?15:59
V13frals: I'm doing this on different lines, so ; is not needed (right?). However, anchors.fill does what exactly? How does it know to only fill the height ?15:59
fralsV13: it will fill both width and height16:00
*** zarlino has joined #harmattan16:00
djszapiV13, you need...16:00
fralsV13: and yeah, not needed if different lines16:00
djszapiand it does not fill just the height...16:00
djszapiwhy not do what I said ?16:00
fralsV13: to get only height use height: parent.height16:00
V13doesn't work16:01
V13none of them16:01
V13Rectangle { color: "red"; width: 100; anchors.fill: parent }16:01
V13I do this... nothing appears on screen16:01
djszapicompletely wrong16:01
fralsshow the full qml file please16:01
djszapieverything, but height16:01
V13just this and an "import Qt 4.7"16:01
fralswell if its your "base" item you need to set width and height for it16:01
fralsi guess16:01
V13don't get it16:02
djszapiV13: you normally do it from main.cpp by calling showFullScreen()16:02
djszapiand using PageStackWindow on Harmattan16:02
V13ok.. here's from the start.. i want to port an app from meego to harmattan.. and QWidget is not supported as far as I can see.. so i'm going to use qml.16:02
djszapibut for pure QML, you need to set the size16:02
djszapiwhatever the resolution of the gadget is16:02
V13and I'm trying to create one rectangle with full height and width (e.g.) 50px16:02
djszapiV13: wrong, QWidget is done16:03
V13done ?16:03
djszapiit is not unsupported16:03
*** zarlino has quit IRC16:03
V13that's what I read somewhere I believe.16:03
V13maybe it was old page... or i read wrong16:03
djszapiV13: in any case, meanwhile it is highly discouraged, you need to figure out the resolution and set that16:03
fralsV13: if its the only thing you are showing you need to set height: 854 for the rectangle then16:04
V13and how will the be adjusted when rotating to portrait or landscape ?16:04
fralsif you use plain qml, it wont16:04
V13and what should I use ?16:04
fralsi suggest you take a look at qt-components16:04
*** Smtih has joined #harmattan16:04
djszapiV13: that is what I have said above :)16:05
djszapimain.cpp and then PageStackWindow prolly.16:05
djszapiV13 please read the landing page in the topic16:05
djszapithere are links there to the harmattan components16:05
* V13 hopped that porting from maemo to harmattan would be easier with qt...16:06
djszapiit is quite easy16:06
fralsV13: this is more about porting from QWidget to QML, though ;)16:06
V13I'd like to keep the qwidget approach16:06
djszapi:D :D :D16:06
V13however I get a white background (!)16:06
fralsqwidgets look like shit on harmattan though, but it should run16:06
V13while getting the color from the current style16:07
V13so it's crap :)16:07
V13AFAIU it needs a full rewrite16:07
djszapijust the Ui16:07
V13wrt the gui16:07
djszapiand it is pretty easy to make something work in qml apart from the pre-matureness16:07
V13pre-matureness ?16:07
djszapiso please start reading the landing page :)16:08
V13the d.n.c ?16:08
V13lib.d.n.c ?16:08
djszapiwrite this: /topic, and then read.16:08
V13oh sort.. the landing page after that :)16:08
V13I will..16:08
rcg1well.. there are some guides that explain how to use qwidget based classes in qml16:08
V13thanks for the tips16:08
rcg1i actually do this in VUMeter16:08
djszapiyes, it is also documented starting from the landing page :)16:09
rcg1essentially, you need to write some adapter classes and make your "custom widgets" known to qml16:09
rcg1hehe aye :)16:09
djszapircg1: btw, I found my nice workflow for Ui dev16:09
rcg1djszapi: ah cool.. what's that workflow?16:09
djszapircg: I am in the build directory of my project on the host, so I can test any changes against the modifications, and then just simply scp ../file/to/qml/files/*.qml root@
djszapiand launch16:10
rcg1aye.. sounds sensible16:12
M4rtinKrcg1: BTW I made a simple rsync based script for similar purpose, might be useful for larger projects: :)16:13
djszapiM4rtinK: will it also grab the binaries ? That would be nasty ;)16:14
M4rtinKeverything in the source folder :)16:14
M4rtinKwell, everything that changed since last sync16:15
rcg1hehe .. i cannot claim that my projects are pretty big... in fact most are quite tiny. but for bigger stuff that might be a good alternative as well :)16:15
M4rtinKand it will nuke any local on device changes16:15
djszapiM4rtinK: that is not gonna work on Harmattan...16:15
djszapisince you cannot run unsigned binaries, and if it nukes the working packaged one...16:15
djszapinot packaged binaries*16:16
M4rtinKwell, I use Python so its a non-issue for me :)16:16
djszapilol xD16:16
M4rtinKand if you configure the path just to the QML directory, it should work for packaged apps without issues :)16:17
M4rtinKbut just for QML, SCP is probably enough :)16:18
*** zarlino has joined #harmattan16:20
* djszapi misses the scratchbox development for Android16:21
attahbtw.. if i'd want to get my hands on pr1.1, is there any way i could make my phone find the ota update faster?16:22
Venemoattah, just reflash16:22
attahwon't that mean i have to reinstall apps and reconfigure the settings? ;(16:23
*** usakc has joined #harmattan16:26
*** piggz_ has joined #harmattan16:28
usakcHello can anybody help me how to lock Qt widget app rotation to portrait?16:30
* V13 wonders if qml inherits anything from qtdesigner16:31
*** zarlino has quit IRC16:32
*** xmlich02 has quit IRC16:34
*** xmlich02 has joined #harmattan16:37
djszapiM4rtinK: ping16:42
djszapido you have any ideas why we do need recently to use "-lm" explicitely only on the community obs ?16:42
Corsacbecause libpng dropped it from its pkconfig16:44
djszapireally ?16:44
djszapiI do not think it has anything to do with that16:44
djszapiit is a linker option, and I probably have the same libpng then in sb, too16:44
djszapiand it works there.16:44
Corsaccheck that, at least16:46
djszapicheck what ?16:47
Corsaca lot of project never use -lm in linker flags when still using stuff from libmath because they inherited if from libpng16:47
Corsacnow libpng doesn't do it anymore16:47
djszapiinheriting linker flag option, sorry ?16:47
Corsacand it'll fail (especially if using -z,defs and/or --as-needed)16:47
*** piggz_ has quit IRC16:48
djszapihow, I am not aware of this stuff ? Could you please ellaborate ?16:49
djszapialso, could you please ellaborate why it works on all major distributions, and in sb, but c-obs ?16:50
Venemousakc, port it to Qt Components16:50
Corsacmaybe check if c-obs uses the exact same version of libpng, and check the linker flags16:50
Corsacdjszapi: I have no idea if it is that, but I did have some issues with that back in time16:50
djszapiyes, of course it uses the same Nokia repository16:50
Corsacjust trying to help16:50
djszapiotherwise I would be useless16:50
Corsaccan you paste the content of /usr/lib/pkgconfig/libpng12.pc on the various testbeds?16:51
djszapicat /usr/lib/pkgconfig/libpng12.pc16:51
djszapicat: can't open '/usr/lib/pkgconfig/libpng12.pc': No such file or directory16:51
djszapithis is in sb:
Corsacwell, try to find the relevant file :)16:52
Corsacok so in sb it does have the -lm in Libs.private (meaning it won't be inherited).16:53
djszapi -> I have this version in sb16:53
djszapiyes, and it works in sb oob16:53
Corsacby the way, is your problem that -lm is not passed while it was passed before, or that it wasn't needed before?16:54
djszapiit is like for zillion packages nowadays16:55
Corsacso that definitely looks like the same kind of thing than libpng (-lm passed from Libs to Libs.private)16:56
Corsacmaybe it's another lib16:57
Corsacnote that if you use math stuff, you should link with lm anyway16:57
djszapidebian's been working for ages without that16:58
Corsac(sorry it took me so long to find the mail)16:58
Corsacthe fact that it was working was just good luck16:59
*** kinncj has joined #harmattan16:59
Corsacit's bad to rely on such assumptions16:59
djszapiCorsac: it breaks at least 10-20 softwares so far17:02
djszapijust for me, one person...Also, it does not still explain why it works in sb17:02
Corsaccan you paste the build logs?17:03
djszapisee above17:04
*** zarlino has joined #harmattan17:04
Corsachmhm, sorry, I fail to see them, maybe you pasted it before we started?17:05
Corsacand some “working” ones?17:08
djszapithere are no working ones17:08
Corsaceven in sb?17:09
CorsacI though you said it was working there17:09
djszapiyes, just grab those packages, and try in sb17:10
CorsacI don't have sb17:10
djszapithen wait, when I get some worker free :)17:10
usakcis the way to do it with only c++ and QT? thanks17:11
Corsacgcc options look fine to me, maybe gcc is a wrapper which pass some --as-needed (or -z,defs, I don't remember which one was the issue)17:11
Corsacdjszapi: can you point me to the .dsc though?17:11
djszapiCorsac: so how did you solve this issue ? By using -lm in rules file ?17:11
djszapiwell, the dsc is there.17:11
Corsacha ?17:12
Corsacdjszapi: no, this is an upstream problem17:12
djszapiCorsac: we cannot wait for upstream to fix and release...17:12
Corsacthen make a patch?17:12
djszapiyw for doing that17:13
Corsacfuck, OBS links won't work in dget17:13
*** adlan has joined #harmattan17:14
djszapianybody having experience with setting up a debian repository ?17:15
CorsacI usually use apt-ftparchive packages . |gzip > Packages.gz17:16
Corsacfor very simple repositories17:16
kinncjanybody here know how to compile some C files directly in harmattan? i have not gcc in mines, how to put it?17:18
*** Venemo has quit IRC17:18
*** xmlich02 has quit IRC17:19
*** zarlino has quit IRC17:20
djszapisorry ? Just install gcc...17:21
djszapiCorsac: mmm, the repository guide writes dpkg-scanpackages17:21
*** NIN101 has joined #harmattan17:21
kinncji cant...when i type apt-get install gcc... it do not find gcc to install17:22
kinncjdo you know any .deb package ?17:22
kinncjor a repository with this?17:23
usakcDoes anybody know if this works ? I haven't got meego device so i can't test it. Thanks17:25
djszapikinncj: use the comm repo17:27
kinncjCould i talk to you in pvt djszapi ?17:28
*** zarlino has joined #harmattan17:29
djszapikinncj: is it a secret ? :)17:30
kinncj@meego forum it's uses zypper... don't appear to be a deb repository17:30
kinncjdjszapi, no, not secret :)17:30
djszapiecho 'deb ./' >>/etc/apt/sources.list.d/nicks.list17:30
*** zarlino has quit IRC17:32
kinncjperforming an update17:33
kinncjapt-get update working! thanks!17:33
djszapican someone give a try to my freshly created harmattan repository ?17:35
kinncjdjszapi, after i compile php5.4 and php-qt, i'll build a .deb package... so, can you re-distribute thisat your repository?17:36
djszapi"my" repository is for KDE only.17:36
djszapihuh ?17:37
kinncjE: Package gcc has no installation candidate17:37
djszapi -> why not, it is there ?17:38
djszapideb harmattan/sdk free non-free17:38
hiemanshuusakc: you can test it Qt Simulator, there is a N9 target in the simulator to test stuff17:39
kinncjnow downloading ;)17:40
usakcYes i know but simulator hasn't X server.17:42
kinncjdjszapi, the php-qt project is like python-qt... the idea is provide PHP developers to made Qt applications programming in PHP language... and when they are happy with Qt, maybe they will develop in c++... so, php-qt is a qt application.17:42
djszapiecho 'deb http:// ./' >>/etc/apt/sources.list.d/nicks.list -> Could someone test this repository please ?17:42
*** decibyte has quit IRC17:42
djszapito add to the existing ones, and try to install "libkdeedu-dev" for instance ?17:42
usakcI find a solution to lock orientation to portrait in Qt Widget app17:43
djszapikinncj: again, "my" repository is dedicated for KDE.17:44
kinncjdjszapi, i know that do you know "that" kde runs under qt17:46
*** mojo_risin has joined #harmattan17:47
*** decibyte has joined #harmattan17:48
mojo_risinhi, is bash shell available on N9?17:48
kinncjE: Couldn't find package libkdeedu-dev17:49
*** gri is now known as zz_gri17:51
*** vladest has quit IRC17:52
usakcOr is the way to kinetic scrolling in QListWidget in meego?? thanks17:52
djszapikinncj: kde runs on /top/ of Qt.17:52
djszapimojo_risin: it is17:52
kinncjThe following packages have unmet dependencies:17:52
kinncj  libkdeedu-dev: Depends: kdelibs5-dev (>= 4:4.0.82) but it is not going to be installed17:52
kinncj                 Depends: libkdeeduui4 (= 4:4.7) but it is not installable17:52
kinncj                 Depends: libkeduvocdocument4 (= 4:4.7) but it is not going to be installed17:52
kinncj                 Depends: libscience4 (= 4:4.7) but it is not installable17:52
kinncjE: Broken packages17:52
djszapikinncj: run apt-get update ...17:52
*** rcg2 has joined #harmattan17:52
kinncji run17:53
kinncjbroken packages... it doesn't get the dependencies17:53
djszapithere is nothing broken about the packages.17:53
mojo_risindjszapi, which repository should I add to apt?17:54
kinncjthe broken message is related the dependencies, it doens't download and install them...17:54
*** rcg1 has quit IRC17:54
djszapiplease try to understand the same packages have been working for ages17:54
kinncjmojo_risin, echo 'deb ./' >>/etc/apt/sources.list.d/nicks.list17:55
djszapinothing wrong with the packages, it is just the repo set up ...17:55
mojo_risinkinncj, nice17:55
kinncjyeah djszapi , but when performing apt-get install libkdeedu-dev, it's not downloading the dependencies too, just this.17:55
djszapimojo_risin: please do not include that repo...17:55
kinncjnothing is broken, it's just now download them.17:55
*** natunen has quit IRC17:56
djszapimojo_risin: bash is never gonna be there....17:56
djszapias I said many times, it is only KDE repository.17:56
Sazpaimon_the quality of apps in the store have really gone down17:56
djszapimojo_risin: that is what you need:  deb harmattan/sdk free non-free17:56
djszapikinncj: as I said many times, it is a KDE repository17:57
kinncji know djszapi , i add this to my debian here and it's dont download the dependencies...understand?17:57
mojo_risindjszapi, yeah, i just noticed that repository is kde related...17:57
djszapikinncj: we will not build a full-fledged c-obs replacement...17:57
djszapiyou still need to use c-obs for the common stuff....17:57
djszapiit is intended to not download deps from there.17:57
Sazpaimon_they're all blog apps17:57
Sazpaimon_what the hell17:57
djszapikinncj: so if you have both repositories, you should be happy.17:58
Sazpaimon_i really wish someone would make a touch friendly remote desktop program17:59
Sazpaimon_its the only reason i still carry my N900 around, rdesktop is a must have app17:59
djszapiwhy don't you do that, you need certain creds ovi does not grant for you, or ... ?18:00
Sazpaimon_I only know PyGTK18:01
jonnirdesktop with bt keyboard18:01
Sazpaimon_jonni, may as well just keep my N900 with me18:01
mojo_risincan you guys mount NFS shares?18:02
djszapiSazpaimon_: I can do it for you, if you pay :)18:02
Sazpaimon_not to mention rzr's rdesktop port has that bar at the bottom18:02
Sazpaimon_djszapi, put it on the store and I'd gladly pay for it18:02
mojo_risinI'm having a 'ERR_ACCESS' error18:02
Sazpaimon_telexy charges 30EUR for their remote desktop app18:02
Sazpaimon_I think its very well optimized for touch phones, but its proprietary18:03
kinncjSazpaimon_, did you try to install the .deb package into meego? i've installed lighttpd from a maemo package.18:03
Sazpaimon_kinncj, the fact is that I would prefer to not have to lug around extra hardware18:04
Sazpaimon_and I dont know why people insist on rdesktop18:04
djszapikinncj: so could you install libkdeedu ?18:04
Sazpaimon_freerdp is a superior product18:04
Sazpaimon_and I think it has pulseaudio support, so sound redirection would work18:04
kinncjdjszapi, libkdeedu give a lot of dependencies that i wont download one-by-one..18:05
djszapikinncj: you do not need, it should be automated.18:05
djszapiall deps are available from the comm repo...18:05
Sazpaimon_kinncj, debian/maemo 5 packages are softfp18:05
Sazpaimon_so running them on harmattan would be hit or miss18:06
kinncjdjszapi, it dont download... dont know why.... the lighttpd i just type dpkg install and works fine.18:06
djszapikinncj: do you have the community repository in your sources.list before my repo ?18:06
Sazpaimon_for example, I made an entire maemo 5 chroot on my N9, and only maybe 30% of apps worked without crashing18:06
Sazpaimon_i could get picodrive to start though, that was cool18:07
kinncji have this deb djszapi18:08
djszapithat is bad18:08
kinncjSazpaimon_, would be great to have gimp inside n918:08
djszapideb ./18:08
mojo_risindjszapi, do you know where can i find the default nicks.list for N9?18:09
djszapiyou need that, note the "./" at the end18:09
kinncjyeah, i have it18:09
Sazpaimon_kinncj, debian has a hardfp ARM release for sid18:09
kinncjdeb ./18:09
kinncjdeb ./18:09
Sazpaimon_so once open mode becomes stable, easy debian should become a reality18:09
djszapimojo_risin: what is nicks.list ?18:09
djszapi/etc/apt/sources.list.d/nicks.list -> just use this18:10
kinncjcool Sazpaimon_ , xchat and others will be nice.18:10
mojo_risindjszapi, exactly it's that file18:10
djszapithat is not default though18:10
Sazpaimon_kinncj, instead of xchat, I'd wait to see what the irc chatter guys come up with18:10
Sazpaimon_they've got some good things planned18:10
Sazpaimon_i would like xchat personally, but with vkb it becomes difficult18:11
djszapikinncj: you are understand the theory, like the comm repo and nokia. What needs for the commrepo, that will come from the nokia repo...That simple...18:11
mojo_risindjszapi, do you know which are the default repos?18:11
*** crevetor has joined #harmattan18:11
Sazpaimon_id rather have an irc client optimized for vkb usage18:11
Sazpaimon_anyway djszapi name your price for a symrdp-like clone18:12
djszapimojo_risin: aegis.ssu-keyring-001-tr.list ?18:12
*** Natunen has joined #harmattan18:12
djszapiSazpaimon_: my tooth treatment fee, 1000 EUR :D18:12
*** vladest has joined #harmattan18:12
Sazpaimon_djszapi, put it in the store for $10 a pop and you'll probably get that in not too long18:12
djszapiwell, I will try it when I have time...18:12
mojo_risindjszapi, I see, so that is the default file... nicks.list should be empty by default?18:13
djszapimojo_risin: yes, but no worries18:13
* djszapi wanna have android target work in scratchbox!18:13
kinncjmojo_risin, the only repo thet you'll have by default is from aegis... otherones you need to add by yourself.18:13
*** lardman|home has joined #harmattan18:14
Sazpaimon_also can anyone tell me how to get PR1.1 packages in the scratchbox SDK?18:15
mojo_risinkinncj, I see. i was used to the old 'sources.list' :)18:15
Sazpaimon_even beta3's repository has PR1.0 packages18:15
*** zarlino has joined #harmattan18:15
mojo_risinis there a way to force the update to pr.1.?18:16
Sazpaimon_mojo_risin, flash your device with PR1.1 firmware18:17
Sazpaimon_i flashed my ausralia variant phone with the global PR1.1 firmware18:17
Sazpaimon_worked fine18:17
*** zarlino has quit IRC18:18
lardman|homedoes one have to do anything specific to enable the flick up to close app functionality?18:18
mojo_risinlike this?18:19
djszapimeh, I need to re-create the Packages.gz file every single time I upload or change a package.18:20
jonnilardman|home: its flick down to close, other flicks just put on background18:20
Sazpaimon_mojo_risin, yes18:20
lardman|homejonni: ah that's the one, do I need to do anything as I just had a case where I couldn't get mBarcode off the screen at all?18:20
lardman|homehad to ctrl-c it from the ssh terminal (where I started it), otherwise I'd have been stuck18:22
jonnidont know, havent seem mbarcode in N9 yet, if it programically disables swipe then its a feature18:23
lardman|homeno, I don't programmatically disable swipe, but how would I?18:24
jonnilardman|home: there is an example in developer wiki howto disable swipe, but that really is not recomended for 3rd parties, since its kinda uses non-public API.18:24
lardman|homeok that's fine, not something I need anyway18:25
lardman|homewhat I do need is to get mBarcode to close rather than needing to kill it as I need to test the settings save functionality18:25
mojo_risinSazpaimon_, navifirm is only available as a '.exe'?18:25
jonniand if developer doesnt make easy exit inside the app, then it kinda forces users to reboot to get ouf of the app :)18:25
lardman|homejonni: sure18:25
Sazpaimon_mojo_risin, yes18:26
jonnibut basicly if you start downswipe just off the screen it should close.18:26
lardman|homeok, must have just been a general failure of functionality then18:26
mojo_risinSazpaimon_, ok, let's start virtualbox :)18:26
lardman|homewill test again and see if I can swipe now18:27
*** wazd_ has joined #harmattan18:27
*** wazd has quit IRC18:28
*** zarlino has joined #harmattan18:29
mojo_risinSazpaimon_, no portugal variant :(18:33
kinncjAt nokia developer launchpad it was in 1.218:35
kinncjbut works only via ota @N950 devices.18:35
kinncjit's very stable.18:35
mojo_risinas anyone tried smb or nfs as a client with N9?18:37
*** leinir has joined #harmattan18:38
Sazpaimon_[11:17] <Sazpaimon_> i flashed my ausralia variant phone with the global PR1.1 firmware18:40
Sazpaimon_[11:17] <Sazpaimon_> worked fine18:40
mojo_risinSazpaimon_, unfortunately my variant isn't available18:41
Sazpaimon_[11:17] <Sazpaimon_> i flashed my ausralia variant phone with the global PR1.1 firmware18:41
Sazpaimon_this implies that it doesnt matter what variant you use18:42
mojo_risinSazpaimon_, I see, the global one...18:42
Sazpaimon_and did you read the nokiagadgets posting?18:42
Sazpaimon_it clearly says "You can flash your N9 with different region N9 firmware, this might not be the case always: I flashed Swedish N9 with Finnish firmware with no problems. Just remember to download the firmware version that got same amount of internal memory and same color as your N9)."18:42
*** Smtih has quit IRC18:43
mojo_risinSazpaimon_, i will probably loose local language and locale setting right?18:44
*** djszapi has left #harmattan18:45
Sazpaimon_mojo_risin, yes but you can change that obviously18:45
mojo_risinSazpaimon_, ok18:46
*** Smtih has joined #harmattan18:49
*** djszapi has joined #harmattan18:50
*** b3ll has quit IRC18:50
djszapikinncj: how about the -lm patch ?18:50
djszapisorry, Corsac ^18:50
mojo_risinSazpaimon_, in version 10.2 there is variants called global18:51
mojo_risinon 20.2 the global are the ones without country name?18:51
Sazpaimon_i would assume so18:52
mojo_risine.g. RM-696 NDT 64GB ROW BLACK18:52
Sazpaimon_i just used the 16GB black version without a country18:52
dm8tbrok, looks like I have most of the LiveView logic figured out to do call alert and notifications... time to get the sowatch sources and see how much pain it will be to add all that18:57
lardman|homedm8tbr: how large is the device, possible to wear as a watch?18:59
dm8tbryes, I wear it as a watch18:59
dm8tbrI don't even notice it as it's so light, that's a plus over the Metawatch, which is a hunk of metal19:00
djszapikinncj: can you update from my repository and try to install again ? I have just fixed couple of issues19:01
djszapikinncj: and I have changed the repository to this: deb ./19:02
*** hardaker2 has joined #harmattan19:03
kinncjThe following information may help to resolve the situation:19:04
kinncjThe following packages have unmet dependencies:19:04
kinncj  libkdeedu-dev: Depends: kdelibs5-dev (>= 4:4.0.82) but it is not going to be installed19:04
kinncj                 Depends: libkeduvocdocument4 (= 4:4.7) but it is not going to be installed19:04
kinncjE: Broken packages19:04
*** vladest_ has joined #harmattan19:06
djszapimmh, your set up is completely broken19:06
*** vladest has quit IRC19:06
*** vladest_ is now known as vladest19:06
djszapikinncj: try to install kdelibs5-dev19:07
*** kinncj has quit IRC19:16
djszapiis there a good signal that I can catch for the Page loading, if I use this harmattan components ?19:22
djszapiI would like to run a javascript function before (or at least well right after the page loading).19:22
hiemanshudjszapi: there is a signal for the transition19:22
djszapibut that sucks :)19:23
djszapibecause I need to have a auxilliary boolean variable.19:23
djszapiso I need something which emitted once.19:23
hiemanshuis it the intial page?19:23
hiemanshuthen do it before you are the pushing the active page19:24
M4rtinKthere is a onCompleted signal19:24
djszapihiemanshu: cannot really do since it is loaded from file19:24
djszapiso I cannot have an access to the Page id19:24
M4rtinKfor all components:
M4rtinKand I'm using it for pages loaded from file :)19:24
djszapiI used for the themes.19:25
djszapiM4rtinK: mmm, actually it is not gonna work either since I need information from the list of the previous page. The index the user clicked on, that is19:28
djszapiM4rtinK: so the situation is that, I have a list on page A, and I need to know which item the user clicked to construct the page B content accordingly. I used the "index" builtin feature for this, understand ?19:33
djszapiM4rtinK: so you can see the onClicked signal in my delegate with the "index" builtin argument:
M4rtinKthe B page should be able to access the A page just fine19:35
M4rtinKI have a page with history list, that updates the list model once loaded, using a property defined in the "main" page19:36
*** kinncj has joined #harmattan19:37
*** Venemo_N950 has joined #harmattan19:37
djszapiM4rtinK: so where does this "index" property come from, which component ?19:38
M4rtinKyou can add a property in the previous page19:38
djszapiwell it sounds hackish19:38
M4rtinKstore the index inside it19:38
djszapihistory page...19:39
M4rtinKand retrieve it once the other is loaded19:39
M4rtinKreadingState is a property defined for the root item19:39
djszapiM4rtinK: so where does this "index" property come from, which component ?19:40
kinncjapt-get install kdelibs5-dev purged all my meego files... i'll need to flash it again. thanks.19:40
M4rtinKand the page loaded from file sees it just fine - that was what I wanted to demonstrate19:40
djszapiM4rtinK: I think index is coming from the component19:41
djszapinope, well I have no idea where I got it from...19:41
M4rtinKno idea19:42
*** Venemo_N950_ has joined #harmattan19:43
M4rtinKoh, is it not the item index from that listview ?19:43
*** Venemo_N950 has quit IRC19:44
djszapiI do not find it anywhere inside the documentation..19:44
*** Venemo_N950_ is now known as Venemo_N95019:46
djszapiM4rtinK: I would need to save all the data of the given list item into properties of the A page then ....19:48
djszapiis there a way to ask my model with the given index for all the data instead of saving all of them ?19:48
djszapiso the list normally fills the ui in with the model data, but is there an explicit way to call the data method of the model with the given index ?19:49
M4rtinKare you using a QML list model or an external one ?19:51
*** Venemo_N950 has quit IRC19:55
*** Venemo_N950 has joined #harmattan19:55
mojo_risinSazpaimon_, all went well but find wireless networks19:57
M4rtinKthen you should be able to do an equivalent of this: and this:
M4rtinKeq register a list controller as a property19:58
*** Venemo_N950 has quit IRC19:58
mojo_risinSazpaimon_, it seemed that a restart solved it19:58
M4rtinKand once an item is clicked, call C++ code using the controller with that items data19:59
*** BluesLee has joined #harmattan19:59
*** zarlino has quit IRC20:03
*** npm has quit IRC20:03
BluesLeewhen i download a file with the default browser where it is stored?20:05
*** npm has joined #harmattan20:07
djszapiM4rtinK: thingSelected :D :D :D20:07
djszapiwhat a term man :)20:07
djszapiwhy not stuffySelected ? ;)20:08
*** nameless has joined #harmattan20:09
djszapiM4rtinK: well, this code sounds difficult. All I need to do is to query the model with various roles according to the index20:10
djszapiis it possible ?20:10
*** lardman|home has quit IRC20:11
BluesLeewhen i download a file from the mail client where it is stored?20:11
namelessSomehow, my N9 wont start  up the ssh server... does anyone recognize this problem?20:11
djszapiBluesLee: you already asked 6 minutes ago :)20:12
BluesLeedjszapi: those are two different questions;-)20:12
djszapiBluesLee: /home/user/MyDocs/Downloads/20:13
BluesLeedjszapi: there is also a bug in the mail client20:13
djszapiI am not a mail client dev20:13
djszapibut yes, those are the same questions...20:14
BluesLeedjszapi: okay, now assume that i removed the /home/user/MyDocs/Downloads/ folder, the application says that the file is saved and i can launch it but where it is saved in that case?20:14
djszapiI guess it should create the dir on demand ?20:14
M4rtinKdjszapi: that naming comes from a PySide example my list handling code is based on :)20:16
BluesLeedjszapi: the file is a debian file name.version.etc.deb and the mail client interprets the extension as .version.etc.deb instead of .deb20:16
djszapiBluesLee: I am still not a mail client dev :)20:17
djszapiM4rtinK: I do not understand how you do there that what I mean.20:17
BluesLeedjszapi: its not a really bug ... okay, i recreated the Downloads folder, its not saved there, will do a find from /20:17
namelessFound a workaround for  the strange problem with sshd not starting. Rebooted phone, plugged the USB cable in, waited some time, then select "SDK mode". After that, it is again possible to access the N9 via ssh.20:18
* SpeedEvil suspects RST38h is a spammer, so terminates his connection.20:19
*** zarlino has joined #harmattan20:19
djszapiBluesLee: huh ? find from "?". You better do it in /home/user/MyDocs...20:20
djszapiM4rtinK: say, I have an index, and a role I would like to ask for. What would the statement in QML for that with those arguments ?20:20
*** vladest has quit IRC20:21
*** zarlino has quit IRC20:22
mojo_risini'm trying to mount NFS volume as root, but i'm receiving this error: nfs bindresvport: Permission denied20:23
mojo_risinthis should only happen with non root user...20:24
M4rtinKif I understand that code correctly there is a column/role named "thing"20:26
M4rtinKthen in the delegate onClicked signal it just calls some backend code with model.thing20:27
M4rtinKit looks like it supplies the the object that the delegate is representing to that model.thing20:28
BluesLeedjszapi: it depends where the files are saved, some apps msave them in /home/user20:29
M4rtinKnot suer about the index though20:30
djszapiBluesLee: that app is buggy20:30
djszapimojo_risin: you cannot have sys_mount..20:31
djszapiM4rtinK: that is clear, but where is the index in that workflow ?20:32
mojo_risindjszapi, that means one cannot mount anything?20:34
*** BluesLee has quit IRC20:34
djszapimojo_risin: no20:34
mojo_risindjszapi, what does it mean then? :)20:35
mojo_risinan alternative way to mount as to be used?20:36
M4rtinKdjszapi: looks like it is not needed ? the delegate seems to handle it internally somehow in this case20:37
djszapiM4rtinK: yes, it works inside the delegate, but as we discussed it, we need it from page B.20:38
djszapiafter the selection, so either I store everything in a property in page A inside the delegate, or just the index, and make a query again from page B.20:38
djszapithe first way is faster, but longer code.20:39
djszapiprobably worth having a long code here, but still...we have been discussing it for a while, thus it would be nice to know =)20:39
djszapimojo_risin: /usr/include/linux/capabilities.h20:40
mojo_risindjszapi, i only found capability.h20:44
mojo_risinis that one?20:44
djszapiwrote it by off hand from memory20:44
mojo_risinAllow mount() and umount(), setting up new smb connection20:45
mojo_risinit's the only relevant thing i found20:45
mojo_risinit doesn't exist on N9 though20:46
M4rtinKdjszapi: if you have the index & role, you can use the data() method of the abstract list model20:46
djszapiM4rtinK: I guess, but how ? :)20:46
M4rtinKwell, just call it and see what it returns :)20:47
M4rtinKshould work both from C++ or from QML I guess20:47
djszapihow to call it ?20:47
djszapiM4rtinK: Also, I think I cannot avoid the page id registrations on the main page because I have no idea how B could have an access to A. They are not siblings, children, parents and so forth.20:49
mojo_risindjszapi, i have to install the package which contains this capability header?20:52
djszapinop, that is system default.20:52
M4rtinKwell, the visibility in QML is quite flat20:52
M4rtinKthe id might be "visible" after all20:53
mojo_risindjszapi, i'm not following you...20:54
*** messerting has joined #harmattan20:54
djszapiM4rtinK: what do you mean ?20:55
*** Smtih has quit IRC20:55
M4rtinKdjszapi: have you tried if using the id of A inside B ?20:58
djszapifrals helped me out on #qt-qml20:58
djszapithough, I did not test it yet20:58
attahhas anyone gotten gstreamer working in an app?21:00
mojo_risindjszapi, so it has to do with default security policies? no way around it?21:04
djszapimojo_risin: sorry, but busy atm21:05
mojo_risindjszapi, sure, no prob21:05
dm8tbrhmpfh, anyone can tell me if those two errors are to be worried about?
* dm8tbr just tried to install harmattan SDK on his debian21:08
*** lardman|home has joined #harmattan21:12
dm8tbrnvm, seems it ate all free disk space *grmbl*21:13
djszapiM4rtinK: so why not just a simple register main.qml, like here ?
dm8tbrI'm sure there were at least 3-4G free21:13
dm8tbrhow much space does the harmattan SDK need?21:14
djszapiVenemo registered the pages like that in the irc-chatter's main.qml. I guess this is because he can then access to any pages from any pages later.21:14
M4rtinKyeah, that might also work :)21:15
djszapiM4rtinK: with that, you can even avoid the file loading.21:16
djszapiI mean from your code. It will load the Components from files for sure.21:16
M4rtinKdjszapi: well in my case, the loading is like this on purpose21:17
M4rtinKbasically "on demand loading" :)21:18
djszapiI do not see how you access from page B to page A.21:19
djszapiso you load the B page from A, but how will the B have an access to A, if there is no page "introducing them to each other" ?21:21
*** wazd_ has quit IRC21:24
M4rtinKflat namespace ?21:25
*** Arkenoi has joined #harmattan21:27
*** harbaum has joined #harmattan21:27
M4rtinKyep, just tested it - the HistoryPage can directly access properties of mainView21:29
M4rtinKwithout any introducing21:29
*** vladest has joined #harmattan21:30
*** wazd has joined #harmattan21:30
*** leinir has quit IRC21:40
djszapifrals M4rtinK: I encountered the next difficulty.... How can I act for a click in a list according to the given index ?21:45
djszapifor instance I have listelements in a listmodel, and I would like to make different actions for clicks.21:45
djszapiso the problem is that, I would like to build a list because they have the same Ui, but I would like to call different backend functionality in the background for any of them. I cannot ues onClicked in ListElement ... What is the most appropriate way of doing it ?21:54
M4rtinKno idea22:02
M4rtinKmayb - can you stuff a mouse area into those ListElements ? :)22:02
messertingAnyone working on a QR code reader for the N9 yet? Porting mBarcode should be easy? I'd be happy to test :)22:06
SpeedEvillardman keeps threatening to port mbarcode.22:07
djszapiM4rtinK: you are using nice words, like "can you stuff?" :)))22:09
djszapiM4rtinK: I tried to "stuff", but I am getting this: file:///opt/gluon/qml/GameDetailsModel.qml:31 ListElement: cannot use script for property value -> text: "Play " + mainPage.selectedProjectName;22:14
djszapiM4rtinK: what to stuff now ?22:14
M4rtinKweird, I have: text : mainView.pageNumber + "/" + mainView.maxPageNumber22:20
M4rtinKfor a ToolButton though22:20
*** faenil has joined #harmattan22:22
faenilgood evening :)22:22
djszapiM4rtinK: weird stuff22:23
*** Sazpaimon__ has joined #harmattan22:23
DocScrutinizergood evening22:26
*** Sazpaimon_ has quit IRC22:26
DocScrutinizerany news about Nokia shipping an official open mode how-to, or even kernel?22:27
DocScrutinizeror at least a letter of intent stating that platsec won't mind and HARM core apps all will work in open mode and it's not planned to change that?22:28
DocScrutinizerStskeeps: was this you who got a kernel that actually allows HARM fully working in open mode?22:30
*** diggy128 has joined #harmattan22:33
*** diggy has quit IRC22:34
*** diggy128 is now known as diggy22:34
M4rtinKaccording to FMO, a formal GPL source request has been submitted for PR 1.1 kernel22:40
djszapiM4rtinK: so what script does it actually mean above ?22:41
M4rtinKthat ToolButton ?22:43
M4rtinKa button caption that automatically updates as the page numbers change22:44
djszapino, I mean in my code22:44
M4rtinKtry without ; ?22:44
M4rtinKbut that's probably not the cause22:45
*** zz_gri is now known as gri22:47
djszapiM4rtinK: same22:48
gridjszapi: The other way should work -- text: qsTr("%1 / %2").arg(mainView.pageNumber).arg(mainView.maxPageNumber)22:52
djszapigri you slept more days :D22:53
djszapiwell, zz_gri for years like, a bear :)22:54
griwell, it changes the name to that when I shut down my computer :)22:55
djszapitext: qsTr("Play %1").arg(mainPage.selectedProjectName);22:55
djszapiI now have this, but same error22:55
*** BluesLee has joined #harmattan22:56
*** BluesLee has quit IRC22:57
griwhat is the type of "text"?22:57
*** BluesLee has joined #harmattan22:59
djszapiit is basically an imported ListDelegate23:08
djszapiwithout the heavy stuff, just what I need23:09
djszapiembedded arrows by default as I like :)23:09
djszapibut at any real clue..23:09
grido you have the code somewhere?23:10
djszapicode of what ?23:11
*** BluesLee has quit IRC23:14
*** hardaker2 has quit IRC23:16
grihmm, sometimes the contexts of qml are a bit scary. I'd think the GameDetailsModel has no idea what "mainPage" is23:16
djszapithere are basically 2 pages: MainPage and GameDetailsPage.23:18
*** niqt has joined #harmattan23:18
djszapiI open up the GameDetailsPage from the MainPage when the player clicks on a game on the mainpage.23:18
djszapiand I need to write "Play X" according to the clicked game out of the MainPage.23:18
*** ZogG has quit IRC23:19
djszapithat is the simple idea. I may have used a wrong concept...irc-chatter defines all the pages in the main.qml. I guess the reason is that any page can have an access to any page that way. However I would prefer the on-demand loading.23:19
*** ab has quit IRC23:19
gritry to add a property named "selectedProjectName" to the ListModel and fill that from where you create the model23:20
griI never reference to "global" variables in my qml code and it works most of the time :)23:20
djszapiit is not really global...23:20
djszapiit is the variable of the element with an ID23:21
djszapithat is what the ID is for after all23:21
griyeah, I just have no idea how that is really called in qml23:21
griit's like using "global unique" variables for me :)23:21
djszapiI just feel it hackish I need to assign a property 40 times if I pass it from A to Z.23:21
*** diggy128 has joined #harmattan23:22
djszapisame with your idea23:23
*** diggy has quit IRC23:23
griok ..23:23
djszapiand model: GameDetailsModel { projectName: mainPage.selectedProjectName; }23:24
*** diggy128 is now known as diggy23:24
*** wicket64 has joined #harmattan23:24
djszapiinterestingly enough, there is no complain about mainpage.selectedProjectName there.23:24
gritext: Play + gameDetailsModel.projectName;23:25
djszapiI think ListElement expects const23:25
griwhere are the "" ?23:25
* djszapi points to QtCreator as the culsprit muhaha :)23:25
griif it expects const, I have another idea :)23:26
djszapiListElement: cannot contain nested elements23:26
djszapihow to do mousearea then23:26
grior something like that23:27
gria model that is also a delegate23:27
djszapiI need to call different C++ backend methods for different item clicks in the list23:27
djszapilike, player, comment, donate etc23:27
djszapibut for that, I would need a separate onClicked for each of those.23:28
gridon't understand the problem23:28
djszapias you can see ListElement cannot contain nested elements23:29
djszapiso no mousearea23:29
gricreate a model + delegate, each delegate has onClicked: callSomeFunction(model.index, model.gameName) ...23:29
gricreate a VisualDataModel which does exactly what you're trying here23:29
*** wazd has quit IRC23:30
djszapiI did create a model and delegate23:30
djszapiand we can see that model does not work as I wish.23:30
djszapithere is no way of handling the clicks per se.23:30
griyes, I meant with a mousearea inside the delegate23:31
gridjszapi: my programs "settings" view23:31
griyou see I create switches and visible elements using visualdatamodel23:32
djszapimouse area will not really help23:32
djszapiinside the delegate23:32
gridamn, visualitemmodel23:32
grithose names confuse me :)23:32
*** diggy128 has joined #harmattan23:33
*** diggy has quit IRC23:33
*** diggy128 is now known as diggy23:33
djszapiafk, will read it later.23:33
djszapibut it is not viable with ListElement it seems so23:34
*** ab has joined #harmattan23:35
griit is but not like you expect it :)23:35
grithe delegate has to handle the actions depending on the ListElement's properties23:36
griwhich could lead to ugly code23:36
*** harbaum has quit IRC23:39
djszapisorry, but what do you mean ?23:44
djszapiyeah, I could manage it from the delegate with some identifier23:44
djszapiand having a big if/elseif/elseif.../else thingie23:44
djszapibut that is hackish imho23:44
gritake a look at the VisualItemModel documentation23:44
djszapiit would be nice if QML can provide a listelement where you can attach the onClicked signal23:45
griand in 2 secs you realize: this is what you want to use23:45
djszapidoing atm23:45
djszapithough, I started with VDM23:45
griVDM != VIM :) confusing names23:45
M4rtinKgri: thanks ! :D your example comes very handy as I'm currently hacking my applications settings page together :)23:46
djszapiwell, I started it anyway23:46
djszapiI am interested in that now :)23:46
djszapigri: well VIM will not help me23:46
djszapiactually, it will.23:48
*** Dotti has quit IRC23:48
griwhat now? :D23:48
djszapiit will because I can use my ListItem23:48
djszapiand I can hopefully put onClicked there separately, but I need to test it23:48
djszapiand I can probably delete my model altogether :D23:49
djszapiwell, actually I can even keep my model23:50
*** attah has quit IRC23:56
djszapigri: ok works, great thanks23:59

Generated by 2.15.1 by Marius Gedminas - find it at!