IRC log for #harmattan on 20120528

00:04.41aquariusaha. Wifi problem replicated.
00:04.54aquariusso, currently, I am sshed into the N9 over USB
00:05.12aquariusand the browser can't see the internet -- "Couldn't open page"
00:05.31aquariusit thinks it's connected to wifi (that is: it's in the top bar)
00:05.37aquariusand my router sees that it has an IP
00:05.47aquariusnothing in syslog
00:05.58aquariusis there anything useful I can do to debug?
00:07.00aquariusand, of course, now it starts working, after five minutes of hitting refresh and it not working. As soon as I try "ifconfig", the problem resolves itself.
00:07.07aquariusHeisenberg, eat your heart out.
00:16.15ZogG_laptopnice monolog dude =)
00:16.48aquarius:)
00:17.58aquariusit is possible that all that's happening is that the N9 is (correctly) dropping off the network and then reconnecting when I ask it to
00:18.00aquariusI don't mind that
00:18.19aquariusif that's the case, though, I wish the top bar wouldn't lie and show the wifi symbol. ;)
00:19.27aquariusanyway, time for bed.
00:20.32ZogG_laptopnight
00:30.02*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-56-106.clienti.tiscali.it)
00:30.53*** join/#harmattan DocScrutinizer2 (~halebob@openmoko/engineers/joerg)
00:46.34*** join/#harmattan bef0rd (~fernando@unaffiliated/beford)
00:47.12*** join/#harmattan beford (~fernand0@unaffiliated/beford)
00:49.28*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-59.clienti.tiscali.it)
00:58.50*** join/#harmattan DocScrutinizer2 (~halebob@openmoko/engineers/joerg)
01:01.07*** join/#harmattan DocScrutinizer2 (~HaleBopp@openmoko/engineers/joerg)
01:10.02mtd_anyone know how N9(50)'s face recognition works?  what the software is called?  It is quite cool...
01:10.31mtd_cannot believe it's haar-cascade based, given the training times.
01:17.24Elleomtd_: well, there's a custom gstreamer element called facetracking, presumably that's what handle it
01:17.28Elleohandles*
01:17.59Elleoas to the method used I have no idea, since it's a proprietary plugin
01:34.43SpeedEvilPosts image to server, has person in india compare pictures.
01:36.36DocScrutinizer2hehe
01:40.25*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-90-79.clienti.tiscali.it)
01:40.40ieatlinti can vouch for that as being the method
01:42.28ieatlintcontemplates hiring the day workers who stand outside the nearby hardware store to write his design doc so he doesn't have to
01:44.13ieatlint"why'd you write your design document in spanish with a pen and paper?" "uh... no sé"
01:50.25*** join/#harmattan diorahman (~diorahman@118.97.180.124)
01:52.28diorahmanI didn't do anything, I received the device in that way
01:53.03diorahmanI just frustrated to make it work, maybe there are other ways except usb
02:10.59mtd_Elleo: ooh
02:13.57GeneralAntillesSomebody in Europe want to price this for me: http://store.ovi.com/content/279408 ?
02:14.53TronicSays € 1,00 on the website.
02:14.57GeneralAntillesOK
02:15.00GeneralAntillesThanks
02:15.01TronicIncluding VAT.
02:15.11Tronic$ 1,00 in USA?
02:15.25GeneralAntilles$0.99 in the US
02:16.02TronicPlus sales tax?
02:16.33Tronic(not that it really matters)
02:20.14*** join/#harmattan diorahman_ (~diorahman@118.97.180.124)
02:20.28GeneralAntillesTronic, sales tax is a state issue
02:20.48GeneralAntillesas Nokia Store doesn't have any local stores that I'm aware of . . .
02:20.54GeneralAntillesDepends on how they incorporated
02:21.10GeneralAntillesBut, I doubt there's anywhere charging sales tax on the Nokia Store in the US.
02:28.26ieatlintassuming you can charge it via your carrier, then you'd pay sales tax on it when you get your monthly bill
02:38.31*** join/#harmattan hardaker (~hardaker@mail.hardakers.net)
02:48.40DocScrutinizer~ping
02:48.40infobot~pong
02:51.38*** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi)
02:55.49*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-221-12-168.clienti.tiscali.it)
02:57.52*** join/#harmattan diorahman_ (~diorahman@118.97.180.124)
03:12.47*** join/#harmattan diorahman_ (~diorahman@118.97.180.124)
03:18.11*** join/#harmattan imunsie (~imunsie@ibmaus65.lnk.telstra.net)
03:29.40*** join/#harmattan diorahman_ (~diorahman@118.97.180.124)
03:37.38TronicThe sales tax seems rather minor in any case, compared to our VAT of 23 % (next year 24 %, and Sweden already has 25 %).
03:37.39*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-56-128.clienti.tiscali.it)
03:44.56*** join/#harmattan imunsie (~imunsie@ibmaus65.lnk.telstra.net)
04:09.04GeneralAntillesTronic, thus why our economy tends to do better. :P
04:19.31*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-30.clienti.tiscali.it)
04:36.29mtd_Elleo: I am amazed at how concise stuff like https://github.com/Elleo/gst-opencv/blob/master/examples/python/facedetect.py is
04:38.02*** join/#harmattan adlan (~adlan@115.85.128.54)
04:47.51Elleomtd_: thanks, :)
04:48.44Elleoalthough I don't maintain those plugins anymore, they've become part of one of the main gst-plugins packages and I think thiagoss looks after them now
04:53.00mtd_Elleo: seriously this is cool :).  Was stumped for a bit because the haarcascade xml files are in a non-default location on Fedora but now have a happy blue circle on my face :)
04:53.27mtd_Elleo: now if only I could do face recognition I could unlock my PC with a small python script.
04:53.30mtd_:)
04:53.38mtd_Elleo: thanks for the pointer about thiagoss
04:53.43mtd_Elleo: will thank him too
04:56.06Elleomtd_: great :)
04:57.34Elleomtd_: if you're interested I have an old post on my blog about using the face blurring plugin on an n900: http://blog.mikeasoft.com/2010/06/17/gstreamer-opencv-plugins-on-the-nokia-n900/
04:59.31mtd_Elleo: thanks, that's very cool
05:01.56*** join/#harmattan lamikr (lamikr@nat/nokia/x-dqjhflfdzxdlixld)
05:13.08*** join/#harmattan DocScrutinizer2 (~HaleBopp@openmoko/engineers/joerg)
05:31.12*** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net)
05:31.40*** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi)
05:32.36*** join/#harmattan gabriel9 (~gabriel9@137-70-246-188-bl.cable.dyn.broadband.blic.net)
05:47.20*** join/#harmattan GonzoTheGreat (~quassel@loki.atnf.csiro.au)
06:18.47*** join/#harmattan fignew (~woowoo@user-1121lt9.dsl.mindspring.com)
06:21.29*** join/#harmattan e-yes (~e-yes@94.45.169.247)
06:55.59*** join/#harmattan rcg1 (~rc@84.122.33.18.dyn.user.ono.com)
06:56.41*** join/#harmattan rnovacek (radek@nat/redhat/x-gutlbskodmqcltph)
06:58.55*** join/#harmattan gabriel9|work (~quassel@79.143.160.58)
07:05.01*** join/#harmattan elldekaa (~hyviquel@dyn-177-185.public.tut.fi)
07:05.57*** join/#harmattan tom (~tom@93.186.147.97)
07:20.15*** join/#harmattan diorahman (~diorahman@118.97.180.124)
07:25.05*** join/#harmattan jreznik (jreznik@nat/redhat/x-swebagxmeqfvomkx)
07:46.15*** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com)
07:46.40*** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com)
07:50.31*** join/#harmattan ArkanoiD_ (~ark@swsoft-msk-nat.sw.ru)
07:51.43*** join/#harmattan lamikr (lamikr@nat/nokia/x-hrbtltqnjfdzpkja)
07:51.58*** join/#harmattan vladest (~Vlad@195.238.93.36)
07:58.05*** join/#harmattan faenil (~faenil@146.48.107.134)
08:14.56ZogG_laptopElleo: the eyrie worked on n9, though tested one song
08:15.10ElleoZogG_laptop: great :)
08:15.43ElleoI've been chatting with some of the folks at echonest and it sounds like they should have a mechanism for contributing fingerprints soon
08:16.20Elleowhen that happens I want to write a mafw plugin that automatically sends fingerprints when you listen to stuff, that way N9 users can help other N9 users recognise music just by listening to stuff themselves
08:19.05kimjujust fingerprint everything as rick astley? ;)
08:19.46Elleoheh
08:26.40*** join/#harmattan cityLights (~nivw@bzq-218-29-26.cablep.bezeqint.net)
08:27.22ZogG_laptopkimju: i think in about 1 millisecond the reply of echonest is "OH, COME ON!!!!! =\"
08:28.40*** join/#harmattan rcg1 (~rc@ucaip141.uca.es)
08:34.37*** join/#harmattan M4rtinK (~M4rtinK@mail.melf.eu)
08:35.51*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-97-108.clienti.tiscali.it)
08:37.38*** join/#harmattan artemma (~artem@a237-254.24online.fi)
08:41.35cityLightsmorning
08:45.02*** join/#harmattan NIN101 (~NIN@p5DD289A5.dip0.t-ipconnect.de)
09:03.23*** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu)
09:14.42*** join/#harmattan tom (~tom@93.186.147.97)
09:27.43*** join/#harmattan GonzoTheGreat (~quassel@124-169-15-87.dyn.iinet.net.au)
09:33.43vladesthi
09:34.14vladestis there is a chance to get same set of qt components for harmattanas for symbian?
09:40.12timophafaik you could compile them but they would collide with the symbian ones (using same names for different things)
09:46.03GonzoTheGreatis anybody around who knows about qmobility messaging/location?
10:00.35MohammadAGI've used location in sociality
10:01.48aquariusElleo, I agree that submitting fingerprints would be nice for echoprint, but my understanding was that they were fingerprinting their whole catalogue in the background, rather than expecting that the entire echoprint catalogue will be crowdsourced. Am I wrong about that?
10:02.28fluxhow large is their catalogue in the first place?
10:02.47Elleoaquarius: I'm not sure if they plan on fingerprinting their own catalogue with echoprint like they've done with their other algorithm, but they are certainly planning on making it possible for users to submit fingerprints
10:03.05Elleoflux: well for their other fingerprinting algorithm they have ~30,000,000 tracks fingerprinted
10:03.18aquariusflux, the echoprint catalogue is 200,000 songs or so. the ENMFP catalogue (the old-fashioned proprietary fingerprint, which isn't as good technically) is about thirty or forty million -- basically every popular song ever :)
10:03.25*** join/#harmattan snowpong (~espen@156.116.27.2)
10:03.27GonzoTheGreatMohammadAG you aren't using qml though ;-). Anyway I have trouble sending SMS (c++ mobility) have you encountered this?
10:03.35fluxI bet they don't have many Finnish songs.. ;)
10:04.04aquariusflux, I admit that when I said "popular" I meant "in the UK and the US" because I am a scumbag English imperialist. Sorry :)
10:04.05ElleoI have a giant dump of jamendo oggs I'd like to get fingerprinted for them too
10:05.10aquariusGeneral question: PageStackWindow is lovely, but because it's a meego-specific thing, it makes it hard to build/play with an app without a meego-specific build environment (which I have, but it's annoying). Has anyone got an implementation (which could be pretty basic) of PageStackWindow that works without the meego components?
10:05.30Elleoaquarius: there's a qt-components package for ubuntu somewhere, hang on
10:06.09Elleoaquarius: https://launchpad.net/~forumnokia/+archive/fn-ppa/+packages
10:06.14Elleobit old though
10:06.17aquariusI mean, I could just steal PageStackWindow.qml out of the meego components, but that seems like I'll end up in dependency hell :)
10:06.31aquariusooh, interesting
10:06.46Elleonot sure what package you need to get a working theme with it
10:07.05Elleoalthough you could probably pinch the blanco theme straight off your device if you want to keep everything looking consistent between the two
10:07.36aquariusI don't care so much about consistency here -- I'm not looking to *release* an Ubuntu version of my app
10:07.45Elleo(don't think you'd be able to redistribute blanco, but there's an n900 theme for qt-components that looks very similar you could use if redistribution of the desktop stuff was what you wanted)
10:08.02aquariusI'd just like to be able to test in a native window, without all the faffing about with xephyr and scratchbox and all that :)
10:08.06Elleoaquarius: you will need to grab a theme from somewhere, though, otherwise a lot of stuff will just look black
10:08.09*** join/#harmattan pinheiro (~pinheiro@bl15-12-103.dsl.telepac.pt)
10:08.10aquarius(and this would make sound work, to boot :))
10:08.12MohammadAGGonzoTheGreat: Nope, never used the API, what problems though?
10:11.20*** join/#harmattan NIN101 (~NIN@p5DD289A5.dip0.t-ipconnect.de)
10:13.57GonzoTheGreatthe message only get marked as delivered (not sent) and when I monitor dbus I see a reply from the message senter with an error field.
10:14.25GonzoTheGreatcenter
10:16.57GonzoTheGreatthe message gets delivered eventually and/or when i send one to the same number via Conversation.
10:17.42*** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi)
10:25.20*** join/#harmattan Natunen (nalle@213-186-240-19.bb.dnainternet.fi)
10:26.42MohammadAGOh, no idea then :(
10:27.01MohammadAGThe galaxy sii does that too sometimes :p
10:31.11*** join/#harmattan mschlens (~mschlens@e180025190.adsl.alicedsl.de)
10:45.09GonzoTheGreatWell another few nights will be wasted doing work arounds.
10:47.32*** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net)
10:47.33*** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-180-207-36.red.bezeqint.net)
11:07.30*** join/#harmattan GeneralAntilles (~ryan@Maemo/community/contributor/GeneralAntilles)
11:28.36*** join/#harmattan jluisn (~quassel@187.115.172.24)
11:46.46*** join/#harmattan cityLights (~nivw@bzq-218-29-26.cablep.bezeqint.net)
11:47.42*** join/#harmattan liar (~liar@clnet-p09-185.ikbnet.co.at)
11:54.31*** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net)
11:54.52*** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg)
12:04.46*** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu)
12:16.39*** join/#harmattan elldekaa (~hyviquel@dyn-177-185.public.tut.fi)
12:34.10*** join/#harmattan djszapi (~lpapp@plexyplanet.org)
12:34.25djszapiHow can I access a C++ enum from QML which is not supposed to be in a class, like a specialized Q_OBJECT for nothing ?
12:39.44*** join/#harmattan pa (~pa@unaffiliated/pa)
12:43.07*** join/#harmattan beford (~fernand0@unaffiliated/beford)
12:54.42GonzoTheGreatdjszapi: How about using a QVariantMap instead
12:55.39*** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net)
12:56.24djszapiGonzoTheGreat: sounds like a castrated idea ;)
12:56.48GonzoTheGreatisn't that qml ;)
13:07.48djszapiGonzoTheGreat: well, I kinda cracked this around two years ago, but I hoped for a more mature qml nowadays :)
13:12.41*** join/#harmattan etrunko (etrunko@nat/ibm/x-ycfviugwsukioomm)
13:13.00artemmadjszapi: I studied it lately. Nothing for non-classed enums in QtQuick 1.1
13:13.19artemmabarely remember that it could be improved in QtQuick 2.0
13:13.38artemmaor maybe it was about javascript constants only
13:14.53djszapiartemma: the problem is also that I need to instantiate the enum with Q_ENUMS usage. That is a bit unhandy, when you would need a status enum instantiated for only one item of the repeater.
13:15.12djszapifor all items of the repeater*, heh
13:15.29djszapiI mean in qml, it would be just one-time instantiation inside the relevant element obviously.
13:15.38artemmaI can certainly tell you some workaround tricks, but you know them anyway
13:15.44djszapiI cannot think of a simple way.
13:15.55artemmalike exposing a C++ model that happens to be a list of all enum values
13:16.07artemmaor mentioned QVariantMap for virtually the same
13:16.37djszapiI am leaning towards the enum created in qml.
13:16.43artemmaor a C++ side object with a function or two
13:16.58artemmaoh, if pure QL approach is fine for you - why not then :)
13:17.11djszapiaka. http://paste.kde.org/488528/
13:17.14artemmaI thought you need enum for interoperating QML <-> C++
13:17.25djszapinot too cool since this is something that the library should provide.
13:17.41djszapibut as far as I see the C++ integration with Qml wrt seems too hacky to my taste.
13:18.07artemmaI use specialized class for just enum in my app
13:18.10artemmaworks fine
13:18.40djszapiThe main problem as far as I see that, I would have a status for each element a repeater.
13:18.52djszapiso ideally, the instantiation should happen inside that element, and not on C++ side.
13:18.54artemmaoh, actually my specialized class uses Q_ENUMS
13:19.00djszapiI would only need the type defined inside the library.
13:19.20artemmawhat's the end goal?
13:19.32djszapito have buttons in a repeater with a state enum.
13:19.54artemmabut repeating on some other model?
13:20.02artemmaor one element per one possible status?
13:20.44djszapiGrid { Repeater { Button { .. property MyEnum myEnum: Init; ... }  } }
13:20.55djszapiwith pseudo code ^
13:21.30artemmaso element in the model have some sort of state that is expressed as enum value
13:21.42artemmaand you want to show different icons for different states
13:22.09djszapinot sure how this is related to a model.
13:22.29artemmaI was trying to make sure you are trying to iterate the possible enum values
13:22.33djszapiit would be just a property of an element in a Repeater.
13:22.43artemmaok, I think I've got it
13:22.53artemmaI had same issue, solved it with a specialized class
13:22.57artemmajust a few lines
13:23.04artemmaclass TwContactAvailability : public QObject
13:23.04artemma{
13:23.04artemma<PROTECTED>
13:23.04artemmapublic:
13:23.07djszapiso this would be changed willingly according to the need for each button separately. The status, that is.
13:23.12artemmaQ_ENUMS(Availability)
13:23.12artemma<PROTECTED>
13:23.12artemma<PROTECTED>
13:23.13artemma<PROTECTED>
13:23.17artemma};
13:23.22artemma};
13:23.25artemmathat's it
13:23.28djszapithat did not work for me.
13:23.36djszapiI have tried to use TwContactAvailability.AVAILABLE
13:23.45djszapior twContactAvailability.AVAILABLE as well
13:24.00artemmaon top of that you need to register this class to qml
13:24.10artemmaqmlRegisterType<TwContactAvailability>("TwineLib", 1, 0, "TwContactAvailability");
13:24.23djszapiyes, that is what I did two years ago :)
13:24.34artemmahmm
13:24.45artemmathen in my code I just import a library and use enums
13:24.55artemmaas in the following
13:24.56artemmaimport TwineLib 1.0
13:25.03artemmaavailability: TwContactAvailability.AVAILABLE,
13:25.05djszapihttps://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/entry/player/fremantle/gamewindowmanager.cpp#L99
13:25.14djszapithough, I hoped for something simpler, like a context property.
13:25.37djszapiUnsure why I used UncreatableType back then. :)
13:25.56artemmawell, you can instantiate something in c++ side and inject it as a context property
13:26.17djszapiLike I wrote in the comment in there, this is a bit flaky stuff :)
13:26.25artemmaanyway, custom class approach works for me. You mentioned you can't use Q_ENUMS. Why?
13:26.37*** join/#harmattan zhxt (~zhxt@117.79.233.237)
13:26.50djszapiartemma: well, ideally, I would expose an enum, maximum from a namespace.
13:26.58artemmaah
13:27.05djszapiQ_ENUMS ruins that goal. :)
13:27.08djszapisince then I need to use a wrapper class.
13:27.19djszapisecondly, I do not feel cool with this register type thingy =]
13:28.19djszapiI would feel more comfortable with an exposed context property.
13:28.39artemmaI don't think there is a way for proper enums
13:28.44djszapiThe syntax of this register thingy is unheuristic to me :)
13:28.46artemmaworkarounds are certainly possible
13:29.05artemmayou can even create a data model for all possible statuses on c++ side
13:29.13artemmaand use its indexes as enum values
13:29.25artemmathough registering a specialized class looks more elegant to me :)
13:30.27djszapiI hope QtQuick2 will be user friendlier.
13:30.58djszapisomewhat nightmare this has not changed the last two years :)
13:31.04djszapiI still need to make the same ugly hack...
13:31.24artemmaI somehow stopped considering it a hack after I used it
13:31.34artemmaand managed to even find some elegance in the approach :)
13:31.56artemmasort of a feeling of constructing an own strict type system dynamically.
13:32.47djszapiI think it would be cool if I could mark an enum "invokable" similarly in complexity to a method.
13:33.05djszapimeaning: Q_ENUMS + Context property.
13:33.30artemmayeah, that would have been good
13:33.33djszapithis is also similar to the properties and how to use them from Qml.
13:34.22artemmaHmm, you might be able to achieve something like this with your own clever macros that will declare same specialized class behind the scenes..
13:41.00*** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu)
13:46.14*** join/#harmattan danielcbit (daniel@nat/indt/x-iduffcyjuptuivcb)
13:49.06befordhi djszapi
13:49.14djszapio/
14:02.03*** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net)
14:09.14*** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu)
14:21.53*** join/#harmattan thp (~thp@Maemo/community/contributor/thp)
14:22.09RST38hmoo thp
14:22.31thpRST38h: hey ho :)
14:22.43*** join/#harmattan zhxt (~zhxt@117.79.233.237)
14:23.59*** join/#harmattan gabriel9 (~quassel@79.143.160.58)
14:25.06djszapiCan I have Q_PROPERTY without WRITE method, but definitely with NOTIFY signal ?
14:26.43ZogG_laptopdjszapi: if it was up to me — you would
14:26.56djszapiZogG_laptop: kindness :)
14:28.30*** join/#harmattan gabriel9|work (~quassel@79.143.160.58)
14:30.07djszapiso what is the reality...
14:30.15thpdjszapi: yes
14:30.27thpdjszapi: it's a read-only property that you can still notify with the NOTIFY signal
14:30.29djszapiI do not have an "int foobar" member since I read the stuff from the configuration file with QSettings.
14:30.41djszapiso I do not change this explicitely.
14:30.52thpdjszapi: and property bindings (to it) and these things work great, you just can't set it (not sure if you get an error)
14:30.53djszapithe reader method basically reads the configuration file
14:30.58djszapiand counts how many elements are in there.
14:31.14djszapiand I have a addNewStuff method which adds a new item to the configuration file, and emits the signal.
14:31.29djszapithp: I do not set this.
14:31.40thpyes, then it will work :)
14:31.52thpQ_PROPERTY(int cool READ getCool NOTIFY coolChanged)
14:31.52djszapithp: here is my code, but something goes utterly wrong: http://paste.kde.org/488540/
14:32.07djszapiso I do not need to have "cool" member variable, right ?
14:32.19thpdjszapi: nope
14:32.33thpit will only be read via the READ method
14:32.52thpi.e. the getCool above should be a public: int getCool() { return mycoolvariable; }
14:33.05djszapierr... I do not have such a stuff...
14:33.08thpoh, and to be qt-ish, the read method should be named like the property
14:33.11djszapilike I said, no real variable, really.
14:33.34djszapiI fire up the config file for reading with QSettings, and I return how many items are in there.
14:34.21thpdjszapi: http://paste.kde.org/488564/
14:34.34thpyes, you don't need to store it in a member variable
14:34.38*** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net)
14:34.59thp(though for performance reasons you might, depending on how often you read that property)
14:35.35djszapithp: well reading a really short config file is not much of a time.
14:35.45djszapithp: in any case, I do not see the signal emitted in your example...
14:36.00thpyes, sure - you need to emit it from some code that "knows" when the config file changes
14:36.28thpif you emit it, and you have something bound to that property in qml, the cool() method will be called again to get the new value
14:36.29djszapiyes, the one which adds a new item.
14:36.36djszapiI do not know where the problem lies in my code then. :/
14:36.52djszapilays* :)
14:37.01thpdjszapi: does it just crash or something?
14:38.01thp(and I think it's "lies")
14:38.48thphttp://answers.google.com/answers/threadview/id/439461.html
14:39.15djszapiI think, lays down is fine
14:39.31djszapibut this is clearly not what I am after really.
14:39.32thpdjszapi: you could put some qDebug() output into the READ method to see when and if it is called
14:39.47djszapiI think better to debug this in qml to be honest.
14:43.09djszapithp: setStuff really decrease the counter in this code: http://paste.kde.org/488540/
14:43.20djszapiso I wonder why buttons are not recolorized and re-subtexted accordingly :o
14:43.55thpdjszapi: you have to emit the signal
14:44.01thpthat you specified with NOTIFY
14:44.18thpotherwise there's no way for QML to know that the property changed
14:45.10thpthe configurationManager would have a foobarCount property that has a NOTIFY signal there and that signal needs to be emitted for the property to be re-read
14:45.12djszapiI do emit like I said in the beginning
14:45.27thpdoes the READ method for the foobarCount property get called?
14:45.31thpand what does it return?
14:45.36djszapi17:31 < djszapi> and I have a addNewStuff method which adds a new item to the configuration file, and emits the signal.
14:45.42*** join/#harmattan rcg1 (~rc@ucaip141.uca.es)
14:46.03thpdjszapi: but you are not calling addNewStuff from QML, so I can't know that setStuff calls it (indirectly?)
14:46.06MohammadAGyou have to have a method called getFooBar
14:46.23MohammadAGso I'd suggest storing the data in a variable
14:46.25djszapithp: addNewStuff is exactly called by setStuff.
14:46.51MohammadAGand there's a getStuff method?
14:46.54thpdjszapi: so why not add some debugging output to the READ method?
14:47.10djszapiI already did.
14:47.12thpdjszapi: if you can/want, please paste the C++ code also - that might help
14:47.24djszapierr.. sorry, that is not going to work..
14:49.01*** join/#harmattan aleksander_m (~aleksande@15.Red-88-1-159.dynamicIP.rima-tde.net)
14:50.29thpdjszapi: then read up on how properties work on the C++ side here: http://qt-project.org/doc/qt-4.8/properties.html
14:50.37djszapimeh
14:50.45djszapiI have known that for years really :)
14:50.51*** join/#harmattan vladest (~Vlad@96-208-133-95.pool.ukrtel.net)
14:51.21thpsure. but apparently it doesn't work. and i forgot my magic 8 ball today, so can't guess what your code does wrong
14:51.42djszapiyou do not need to be cynical t o help
14:51.53djszapinobody said, you should have "your magic 8 ball today".
14:52.35thp;) anyway, have you found the cause of the problem? i'd still be interested to know
14:53.09rcg1http://ruedigergad.com/2011/11/13/exchange-data-and-objects-between-c-and-qml-and-vice-versa/
14:53.17rcg1could be interesting for you in that context
14:53.55djszapiI am not a superman to find every issues in two minutes, sorry.
14:53.57thprcg1: looks good. but i'd only emit the changed signal when the value really changed
14:54.06*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-96-106.clienti.tiscali.it)
14:54.41thp(i.e. in the set method: if (myA != a) { myA = a; emit aChanged(); })
14:55.10rcg1thp: hehe, yeah.. well it's intended as minimal working example that shows the mechanism on interacting between qml and c++
14:55.48rcg1yeah, i know.. however the aim was not to provide a full-fledged property getter setter example ;)
14:56.05djszapibeford: how are you ?
14:56.20thpit's great as it is :)
14:56.22thphttp://doc.qt.nokia.com/4.7-snapshot/qtbinding.html#modifying-properties
14:56.35rcg1thp: thx :)
14:56.55*** join/#harmattan Venemo_N950 (~Venemo@fedora/Venemo)
14:57.04rcg1thp: also comments are in fact highly appreciated :)
14:57.30thprcg1: you mean as a comment in the blog entry or via mail?
14:58.29rcg1however you like
14:58.52rcg1comment entries are not shown directly.. i have to manually approve them
15:00.03rcg1i think comment should be better as then everyone can benefit
15:00.48thpargh! now i wrote a nice comment and it wants me to login to wordpress :/
15:01.20rcg1huh?
15:01.27rcg1that shouldn't happen :(
15:03.34rcg1thp: did you use an email address that was already registered at wp?
15:04.18rcg1just tried it.. with my email address used at wp it wants me to log in.. with a different one it doesnt
15:05.28thprcg1: yep. i've tried to login now, but not sure if the form data was submitted
15:05.55rcg1alright
15:05.58rcg1i'll check
15:05.59djszapithp: for some for some reason, after the notification signal emit, the read method is executed zillion times.
15:06.17rcg1however, i noticed that wp is sometimes pretty slow wrt showing new messages
15:06.18thpthen you have a binding loop somewhere
15:06.57djszapiin fact, it is executed many times periodically, apparently not like a flood permanently, just periodically... I presume I need to look for stuff where it is read in a loop...
15:07.11thpdjszapi: btw, why do you use the "lastIndex" array as parameter to setStuff?
15:07.19thpdo you plan to set more values there later on?
15:07.20djszapithp: because setStuff expects string
15:07.27djszapiin fact, QStringList.
15:08.08djszapibut that is not the point here.
15:08.45thphmm. curious. because in the other line, you call it with "index + 1"
15:09.03thp(line 36 + line 78 in http://paste.kde.org/488540/)
15:09.55djszapi<PROTECTED>
15:10.19djszapithp: yes of course since the settings is human readable.
15:10.23djszapiaka. not starting from zero
15:10.37*** join/#harmattan javispedro (~javier@Maemo/community/contributor/javispedro)
15:11.09thpbut didn't you say that fooBar.setStuff expects a QStringList? index+1 evaluates to a single (numeric, but that would be auto-converted to string anyway) value
15:11.35djszapiQString != QStringList
15:11.43djszapibut, no, it does not autoconvert.
15:12.13djszapiOtherwise I would not obviously use that :)
15:13.07thpdjszapi: so then one of the calls is wrong - line 36 if you say it expects a QStringList
15:13.36rcg1thp: thanks for the comment.. i also wrote a short reply as i wasn't yet aware of QDeclarativeProperty::read and ::write as mentioned in the guide you linked
15:13.39djszapiwell, they are different methods in the reality.
15:14.23thpdjszapi: ok. i should probably stop trying to be helpful here :)
15:15.03rcg1thp: however i am currently very busy with other stuff so updating this example unfortunately doesn't have top priority.. nonetheless, thanks for the very useful comment. :) and if people are really interested they can follow the link and see on their own in the meantime
15:15.40djszapithp: I wonder how you got that conclusion...
15:15.46djszapito*
15:18.46djszapiit really seems to be a better option to bind a C++ property to a qml instead of reading the C++ property all the time.
15:19.08djszapior perhaps actually not.
15:36.34*** join/#harmattan lamikr (lamikr@nat/nokia/x-qrysowppbamwetkt)
15:43.03*** join/#harmattan hardaker (~hardaker@mail.hardakers.net)
16:05.35*** join/#harmattan bef0rd (~fernand0@unaffiliated/beford)
16:19.29djszapiany qml guru here ? :-)
16:23.44*** join/#harmattan jaywink (~jaywink@cs181163242.pp.htv.fi)
16:27.52*** join/#harmattan lamikr (lamikr@nat/nokia/x-hrxbbbinpilfmtxw)
16:33.02*** join/#harmattan rcg1 (~rc@84.122.33.18.dyn.user.ono.com)
16:41.44*** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net)
16:44.58*** join/#harmattan gabriel9 (~gabriel9@137-70-246-188-bl.cable.dyn.broadband.blic.net)
16:45.00trxdjszapi nope, but you can ask anyway
16:45.45*** join/#harmattan jluisn (~quassel@187.115.172.24)
16:51.24*** join/#harmattan Natunen (nalle@213-186-240-19.bb.dnainternet.fi)
16:53.46*** join/#harmattan tom____ (~tom@93.186.147.97)
17:06.29*** join/#harmattan befr0d (~fernando@186.31.127.207)
17:19.38*** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net)
17:21.09djszapitrx: how do you know "nope" for everybody ? :)
17:21.16djszapiand I already asked...
17:23.43MohammadAGif there was anybody they'd say that :p
17:23.48gabriel9ola
17:23.51gabriel9https://maps.google.com/maps/ms?ie=UTF&msa=0&msid=200575306309039860448.0004c061f019b930e8621
17:24.03gabriel9for those who does not hate google :P
17:24.10gabriel9and godo evening
17:25.42trxdjszapi can you copy the question?
17:26.21djszapitrx: I would replicate the log.
17:27.24trxis this it : "Can I have Q_PROPERTY without WRITE method, but definitely with NOTIFY signal ?" ?
17:27.59djszapiwe sorted that out
17:29.42trxso whats the problem then, the repeater isnt updating or what?
17:34.27*** join/#harmattan astm (astm@nat/indt/x-xjxtppexfcbulaut)
17:36.22hahlogabriel9: what is that map?
17:36.24*** join/#harmattan aparaatti (~aparaatti@91-157-17-37.elisa-laajakaista.fi)
17:36.32djszapitrx: one base problem is that, I do not understand why these are not equivalent: http://paste.kde.org/488666/
17:36.32gabriel9N9 users
17:36.37gabriel9across the globe :)
17:36.43hahlocool
17:37.20gabriel9i say also
17:37.46trxdjszapi because of the elseif's
17:37.50trxthe code is not the same
17:38.08djszapiwhy not ?
17:39.05djszapithe last could be else for sure, but I think they represent the same logic.
17:39.35djszapijust an explicite function is way more readable.
17:39.58trxhttp://paste.kde.org/488684/
17:40.03trxthis would be the same
17:40.10trxbut both should work anyway
17:40.38djszapisorry ?
17:40.48djszapiit is exactly the same with different personal taste...
17:41.59trxas i said, both should work in this context
17:42.18djszapithat is the thing, they do not.
17:42.23trxwhich one works?
17:42.25djszapiand I am just wondering why
17:43.05gabriel9if i may add the bottom syntax is better
17:43.23gabriel9not long and 2 lines of code
17:43.31gabriel9oh one :D
17:43.37trxexactly
17:43.50hahlogabriel9: how they have found those phones in the map?
17:44.00gabriel9you add yourself
17:44.13gabriel9just click edit on the left and then add
17:44.23djszapigabriel9: and that is exactly the reason why that is ugly.
17:44.28hahloah so there must be many others
17:44.30djszapithat tries to be smart unnecessarily.
17:44.33gabriel9The Good Coder book(nice read) sugest always smaller lines of code
17:44.48gabriel9it is more readable, and smaller chance to make a mistake
17:44.49djszapihuh ?
17:44.53djszapihuh ?
17:44.57gabriel9:D
17:45.13djszapiafaik, almost every programming book begins with do NOT be tricky.
17:45.25djszapiunless there is a very compelling reason.
17:45.44gabriel9i agree, and i use normal if else only if the line os long
17:45.45trxas long as it workes, no one cares, its not that big a diffrence
17:45.52*** join/#harmattan lmoura (lmoura@nat/indt/x-plmhxmrtfdelnwos)
17:46.05djszapitrx: clearly you never contributed to other projects like Qt, KDE, etc
17:46.08gabriel9one dude sayed the syntax is not important
17:46.09trxand if it were a real language, the second case would be better
17:46.14djszapithose projects are definitely against tricky code
17:46.21trxbecause it is inline
17:46.31hahlodoes manufacturer know exact amount of phones and where they are? about updating etc
17:46.45djszapitrx: you do not know what you are talking about :D
17:47.00djszapiyou essentially say you are smarter than gcc, msvc and other compilers...
17:47.05gabriel9hahlo: i don't know
17:47.51gabriel9either way we shall write text documents :/
17:47.56hahlook
17:48.00gabriel9sometimes short syntax is OK
17:48.05gabriel9sometimes it is not
17:48.22trxdjszapi whatever, your setColor function doesnt have a return value..
17:48.23djszapireadability makes a big difference.
17:48.29gabriel9for php when you mix it with html shorts sytax is far better
17:49.00gabriel9i agree also, but there is situations where shorter is more readable
17:49.27djszapitrx: yes
17:49.57gabriel9i lost link for this subject :(
17:50.14gabriel9but there is more important thing then syntax
17:50.25gabriel9code optimization, concurency
17:50.59gabriel9i'm relativly new too all this but i have 1 year of expiriance :)
17:55.27*** join/#harmattan xmlich02 (~imlich@2001:67c:1220:80c:0:6d64:db3a:5db6)
18:16.34*** join/#harmattan tom____ (~tom@93.186.147.97)
18:19.42*** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213)
18:20.21achilles999hi
18:20.28gabriel9ola
18:20.41achilles999i'm having problem in deploying ssh keys to N9 device via Qt creator
18:20.48achilles999I get connection failed :(
18:20.49*** join/#harmattan snowpong_ (~espen@156.116.27.2)
18:20.56achilles999can someone please help??
18:21.02gabriel9usb or wlan?
18:21.09achilles999usb
18:21.22bef0rdwhat fails
18:21.22gabriel9did you set up IP adresses?
18:21.29bef0rdcan you ping the ip from terminal?
18:21.35bef0rdn9's ip
18:21.57*** join/#harmattan swerige (~kvirc@host-95-206-6-1.mobileonline.telia.com)
18:21.57achilles999i'm on windows
18:22.01achilles999let me try to ping & see
18:24.56*** part/#harmattan djszapi (~lpapp@plexyplanet.org)
18:26.04befr0dcan you ssh to the phone with the ip?
18:26.24befr0dfirst thing is to find out if the usb network connection is set
18:26.29gabriel9just use Wifi if you can, it is much easier
18:26.43befr0dnot sure how is in windows, I suppose a new network device will appear
18:27.17gabriel9achilles999, check in setting of the phone password
18:27.19gabriel9ip
18:27.28gabriel9and then set up Qt Creator
18:27.47gabriel9befr0d: he should use GNU/Linux
18:28.15*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-101.clienti.tiscali.it)
18:29.28*** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213)
18:29.38achilles999sorry, my connection dropped
18:29.48achilles999i'm not able to ping my device
18:29.56befr0d<befr0d> can you ssh to the phone with the ip?
18:29.57befr0d<befr0d> first thing is to find out if the usb network connection is set
18:29.57befr0d<gabriel9> just use Wifi if you can, it is much easier
18:29.57befr0d<befr0d> not sure how is in windows, I suppose a new network device will appear
18:29.57befr0d<gabriel9> achilles999, check in setting of the phone password
18:30.01achilles999i disabled firewall & tried
18:30.25gabriel9check settings
18:30.28gabriel9of the phone
18:30.36gabriel9and
18:30.43gabriel9did you install dev packages???
18:30.45achilles999what settings on the phone? settings on sdk tool?
18:30.49gabriel9y
18:30.52achilles999yes, I enabled dev mode
18:31.19gabriel9what do you have under sdk cnnection?
18:31.21achilles999in past I connected my device on windows, but a different machine(work PC)..now i'm trying to connect on home PC
18:32.32*** join/#harmattan NIN101 (~NIN@p5DD289A5.dip0.t-ipconnect.de)
18:32.35gabriel9sometimes reset of the phone helps
18:32.36gabriel9and double check pass and ip settings
18:32.48gabriel9in Qt creator and N9
18:33.14gabriel9i had some issues also, but now i am back on Arch and all is nice
18:35.15achilles999let me try over wifi
18:35.20achilles999thanks for your time
18:35.21achilles999BRB
18:36.03gabriel9np :)
18:36.45gabriel9so anyone wish to give me N950? :D
18:39.58*** join/#harmattan adlan (~adlan@210.195.11.42)
18:40.29befr0dnop
18:40.45gabriel9ok
18:40.51*** join/#harmattan Morpog (~Morpog@stgt-5f715852.pool.mediaWays.net)
18:41.00gabriel9something is wrong, i am to happy
18:41.22befr0ddrugs
18:41.25befr0dalcohol
18:41.26befr0dmeds
18:41.28befr0d?
18:41.37befr0dspring?
18:41.55gabriel9nop
18:45.17gabriel9my gf is at her parents
18:45.24gabriel9but i like her
18:46.33befr0dthat's good
18:46.39befr0dno drugs involved
18:46.40*** join/#harmattan Enforcer (David@203-206-166-147.perm.iinet.net.au)
18:46.42befr0d:P
18:47.08gabriel9for me drugs are code, my PC and SF movies
18:47.19befr0dSF?
18:47.47gabriel9Sciance Fiction
18:47.51befr0dah
18:48.37gabriel9can you debug QML?
18:48.42gabriel9on N9?
18:48.49befr0dconsole.debug()
18:48.50befr0d?
18:48.52befr0dfrom qml
18:48.55befr0dconsole.log
18:49.10gabriel9breakpoints
18:49.35befr0dwith qtcreator I believe so, not sure if you can put them on QML/Js code
18:49.53befr0dbut on the Qt side if things I have
18:50.00befr0dof things*
18:50.25gabriel9js code needs debuging also
18:50.35gabriel9and QML items(states)
18:50.40befr0dnever tried it so not sure
18:51.25gabriel9i tried it couple of times but no hope
18:52.06gabriel9still does not work
18:53.22gabriel9QDeclarativeDebugServer: Ignoring "-qmljsdebugger=port:10000,block". Debugging has not been enabled.
18:54.55gabriel9i give up :/ well i go and code my XML/HTTP pareser
18:55.14*** join/#harmattan M4rtinK (~M4rtinK@mail.melf.eu)
18:57.17befr0dxml ?
18:57.21befr0dqml already parses xml
18:57.34befr0dfrom http
18:58.52gabriel9i have some bad XML to parse
18:59.02gabriel9it have huge chunk of data in CDATA part
18:59.08gabriel9and i need that part to parse
19:03.04MohammadAGdoes anyone know where the brightness icons in settings are?
19:05.33gabriel9sorry i did not go that deap
19:07.11MorpogMohammedAG when your at it, add switches for BT and DLNA on/off there too ;-)
19:07.42gabriel9BT off/on would be nice :)
19:08.13jonnigabriel9: you need to build the debugging helpers first if you want to debug qml,  but enabling console.log can even be done more easily
19:08.59gabriel9I build some stuff, also console.log is OK, but sometimes i wish to break on some point and then inspect all stuff
19:09.07gabriel9thanks for hint
19:09.29jonnihttp://doc.qt.nokia.com/qtcreator-2.4/creator-debugging-qml.html
19:10.18jonniqml inspector is pretty handy tool
19:10.52gabriel9and i see there is JS console
19:10.59gabriel9that is real power!!!
19:11.07gabriel9for JS part BTW
19:12.44MohammadAGMorpog, heh
19:13.21Morpogin the starus bar menu
19:13.46Morpogwhich you are modding atm ;-)
19:13.59Morpogstatus
19:18.22*** join/#harmattan hardaker (~hardaker@mail.hardakers.net)
19:20.59*** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net)
19:34.25*** join/#harmattan e-yes (~e-yes@94.45.169.247)
19:43.28*** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213)
20:07.41*** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213)
20:09.59*** join/#harmattan MohammadAG (~MohammadA@2.55.123.224)
20:10.02*** join/#harmattan MohammadAG (~MohammadA@Maemo/community/contributor/MohammadAG)
20:10.33MohammadAGhttp://talk.maemo.org/showthread.php?p=1214023#post1214023 http://talk.maemo.org/showthread.php?p=1214014#post1214014
20:10.40MohammadAGcc Morpog ^
20:10.44MohammadAGhave fun :p
20:11.08MohammadAGtoggles should be easy, it's a normal MTF MWidget
20:11.28Morpogseen already ;) Just need to redo inception.
20:13.24thpMohammadAG: good move :)
20:13.37thpso, why does the alarms applet not appear in the stock sysuid? did they blacklist it or something?
20:13.49achilles999i'm learning QML & experimenting on N9. can anyone suggest some simple open source N9 app which is written in QML?
20:13.51achilles999I like to see how it is written & improve my understanding
20:14.27thpachilles999: you could try (shamless plug warning) gpodder - http://github.com/gpodder/gpodder (it uses python and not c++, which might be good or might be bad depending on how you see it ;)
20:15.44MohammadAGthp, they have a hardcoded regex :p
20:15.44mankeliMohammadAG: ooh, very nice. would it possible to add scrolling to the status menu while the phone is in landscape mode?
20:15.48befr0dthere is a harmattan showcase api, it may be alittle advanced example, however it includes a lot of funciontality
20:16.16befr0dhttp://harmattan-dev.nokia.com/docs/library/html/guide/html/examples/api_showcase.html
20:16.27mankelisince that menu will problably get a lot of extensions in future
20:16.28MohammadAGmankeli, it already scrolls as of the latest PR from Nokia
20:17.07MohammadAGat least on the N950
20:17.11mankeliprobably only on n950
20:17.42mankelipr1.2 here, and no scrolling. but landscape isn't normally available either
20:17.42MohammadAGno
20:17.56MohammadAGthe N9 has a newer firmware
20:18.04MohammadAGand the source clearly has a viewport
20:18.32mankelidoes it btw open full screen on n950?
20:18.39mankelior does it only cover the left side of screen
20:18.42MohammadAGsame as in portrait
20:19.44MohammadAGthp, the regex has alarms...
20:19.50MohammadAGok, I'm stumped, lemme check again
20:20.36mankelihmm. probably installing that unrestricted system-ui will fix behavior to n950-like
20:20.45MohammadAGextensionArea->setInProcessFilter(QRegExp("/statusindicatormenu-(alarms|internetconnection|presence|profile).desktop$"));
20:21.11*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-62-238.clienti.tiscali.it)
20:21.12mankeliis it possible to get old system-ui back if unrestricted package doesn't work?
20:21.20MohammadAGprobably, haven't tested
20:21.30*** join/#harmattan Mohammad- (~MohammadA@ool-45772b34.dyn.optonline.net)
20:21.37MohammadAGhmm, bouncer back
20:22.25*** join/#harmattan MohammadAG (~MohammadA@Maemo/community/contributor/MohammadAG)
20:22.31*** join/#harmattan xnt14 (~xnt14@ool-45772b34.dyn.optonline.net)
20:28.10MohammadAGthp, how do I create a new repo under harmattan?
20:29.17*** join/#harmattan arcean (~arcean@aaer152.neoplus.adsl.tpnet.pl)
20:32.36MohammadAGoh nvm, figured it out
20:32.37MohammadAGhttps://github.com/harmattan/system-ui-brightness-control
20:35.23thpMohammadAG: ;) thanks!
20:35.24ZogG_laptopMohammadAG: did i tell you — you are the man
20:36.56MohammadAGZogG_laptop, lots of credit goes to itsnotabigtruck for Inception really ;)
20:37.06MohammadAGthp, you're welcome :)
21:05.08*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-221-13-140.clienti.tiscali.it)
21:17.40*** join/#harmattan rcg1 (~rc@84.122.33.18.dyn.user.ono.com)
21:23.38*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-52.clienti.tiscali.it)
21:25.32*** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-183-200-7.red.bezeqint.net)
21:49.54*** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com)
22:02.25*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-94-89.clienti.tiscali.it)
22:10.27*** join/#harmattan Morpog (~Morpog@stgt-5f715852.pool.mediaWays.net)
22:11.02MorpogMohammadAG, whats the path for the alarns.desktop file?
22:14.34*** join/#harmattan tom_ (~tom@93.186.147.97)
22:14.37MohammadAG/usr/share/meegotouch/applicati(tab)
22:16.42*** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com)
22:20.36*** join/#harmattan faenil (~faenil@host208-20-dynamic.15-87-r.retail.telecomitalia.it)
22:29.50MorpogMohammadAG, it works, but i made a backup of it ;)
22:35.34*** join/#harmattan Morpog (~Morpog@stgt-5f715852.pool.mediaWays.net)
22:37.58ieatlintare you shitting me nokia? i can't pass a QGeoCoordinate into qml to use as a Coordinate for a Map element?
22:39.39*** join/#harmattan faenil (~faenil@host208-20-dynamic.15-87-r.retail.telecomitalia.it)
22:50.58*** join/#harmattan mzorz (~mzorz@190.51.129.42)
22:54.39mzorzhi all, quick question: ovi store has rejected our app saying ACTUAL RESULT: The error message "Installation interrupted." is shown, on a N950, but it jus installs ok on RDA and a N9 I have, any ideas?
22:56.08ieatlintthe n950 firmware is slightly different... there must be something like a library mismatch or missing happening
22:56.32ieatlintdoes your app use low level libraries?
22:56.35mzorzoh I see
22:56.48mzorzno it only uses networkservices
22:57.06ieatlintthen that is indeed weird
22:57.14ieatlinti assume you don't have an n950 to test on?
22:58.05mzorzno I don't have an N950 unfortunately
22:58.15mzorzbut I tested it on RDA and it installed
22:58.39mzorzI'll check firmware versions, but Ovi's QA report doesn't give much information
22:58.44ieatlintwell, you can try just resubmitting and see if it gets rejected again, but you risk wasting time if it will
22:59.29mzorzI see
23:00.03mzorzsorry I correct myself, we're using SwEvent NetworkServices Location ReadUserData WriteUserData
23:00.14ieatlintassuming your app isn't scary, i'm sure you can find someone in here to try installing it
23:00.20mzorzcoiuld any of these be a cause of a problem
23:00.28mzorzhehe
23:00.33ieatlintstrictly speaking those are symbian capabilities, and don't exist on harmattan
23:00.48ieatlintand if it works on the n9, then permissions shouldn't be an issue
23:01.41mzorzyou're right, it's scope is declared as in symbian:TARGET.CAPABILITY
23:02.46mzorzanyone want to try installing the .deb file? the app just browses cinemas shows for a local cinema theatre branch
23:03.00ieatlintthe only thing that should interrupt the installation on the n950 when it works on the n9 is a library issue, but then, i may just be wrong :P
23:03.15ieatlintand yeah, let me go find my n950 and i think i can do it
23:03.24mzorzgreat, thanks so much
23:05.36ieatlintok, have it here, i can do a dpkg -i on the terminal and give you the output
23:05.45mzorzgreat
23:05.58danielcbitHi everybody. Does some one know if it is possible to know the direction of the movement in a qml ListView?
23:06.25ieatlintunless you can give me a url to grab it from, email might be easiest...
23:06.26mzorzyou can download the app from here http://dnld.mobi/hoyts15.deb
23:06.30ieatlintah, good
23:08.00mzorzyou mean the direction of the movement as in up or down?
23:08.29ieatlintmzorz, looks like it installed without issue
23:08.44mzorzuhm
23:08.51mzorznow it's weird then
23:08.53ieatlinthttp://pastebin.com/TZfDhS6P
23:09.35ieatlintyeah, app icon on desktop, launches fine
23:09.43mzorzwow
23:10.13ieatlintthere is a failure message there, and i'm afraid i don't know enough about aegis to give you a good explanation, but it appears non-fatal
23:10.21mzorzdanielcbit, listview inherits from flickable, you might want to bind some properties to detect dierction of movement, check http://doc.qt.nokia.com/4.7-snapshot/qml-flickable.html
23:10.34mzorzok ieatlint, great, I'll check it out
23:10.52ieatlintah, yeah, there is an issue there... it's not being installed properly
23:11.08ieatlinti can't delete it from the desktop by holding down on the icon
23:11.20mzorzoh
23:11.23mzorzbut it did run, didn't it
23:11.37ieatlintyeah, but it needs to have normal behaviour
23:11.37danielcbitmzorz: I already known this, but I can't seem to find a way to detect the direction of the flick
23:11.53ieatlinti suspect the gui installer calls that failure fatal... will try it via the gui installer
23:13.06mzorzgreat thanks a lot ieatlint
23:13.39mzorzdanielcbit: you mean like, if it's vertical, you need to know if it's moving down or up, and if it's horizontal, you need to know whether it's moving towards right or left, is that what you're looking for?
23:14.14danielcbitmzorz: exactly
23:14.42ieatlintmrmlz_, installed without any issue via the gui... install screen all appeared normal
23:14.45ieatlinterr
23:14.48ieatlintmzorz
23:15.12mzorzyes
23:15.12ieatlintmzorz, and when i install via the gui, i can indeed delete it from the home screen by long-pressing on the icon
23:16.03mzorzuhm ok I wonder what the guys at Ovi's QA did, if only they provided more information for us to track it down
23:16.22ieatlintmzorz, i will say i see two issues here though, but they're not the listed reasons for rejection
23:16.40ieatlintthe icon label on the homescreen is listed as "hoyts", and i suspect that should be capitalized
23:16.47*** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-63-85.clienti.tiscali.it)
23:17.01mzorzpoint taken
23:17.06mzorzthanks for pointing that out
23:17.08ieatlintand if you go to the manage applications screen and select your app, it gives the description and version details, but the contact is listed as "unknown < >"
23:17.35mzorzoops I think that's a cause for rejection, i'll correct that as well, thanks!!
23:17.43ieatlintnp
23:17.51ieatlintgood luck... i had my own fun with ovi qa a few weeks ago
23:18.00ieatlinti'd fix those two things and resubmit
23:18.08ieatlintmaybe research that aegis error
23:19.26mzorzcool I'll do that for sure
23:20.32mzorzthanks again! btw would you elaborate on your experience wiht ovi qa :)
23:21.48danielcbitmzorz: any tips?
23:22.28mzorzdanielcbit: have you tried binding a function of your own to movingHorizontally and movingVertically, then checking horizontalVelocity or verticalVelocity
23:22.34ieatlinteh, my rejections were because they kept insisting my support page wasn't good enough
23:23.24mzorzdanielcbit: (under the assumption horizontalVelocity is i.e. negative for left, for instance)
23:23.34ieatlinti should just start screwing with them... put in a date check at the start of the app, show something inane for the time period qa looks at it, then something entirely different
23:23.47mzorzieatlint: ah I see
23:23.52mzorzhahaha that's probably a good one
23:24.43ieatlintcould be worse... could be apple's store
23:24.48mzorzI have to say I had crazier times with Samsung Apps QA
23:25.24mzorzsometimes they actually rejected a couple of our apps because they expected some thing to behave differently, as in.. they recommended features!
23:25.40mzorzor whcih features the app should have...
23:25.43mzorzinsane
23:26.20ieatlintyeah, and i'm also happy it only costs 1EUR to be able to submit apps
23:27.05danielcbitmzorz: I tried with horizontalVelocity but cound't get a nice resolution.
23:27.32mzorzthat's true, it's good
23:28.14mzorzdanielcbit: but you did get a value that allowed you to decide whether the direction was left or right?
23:28.49*** join/#harmattan imunsie (~imunsie@ibmaus65.lnk.telstra.net)
23:31.34danielcbitmzorz: some times I got 0 of velocity while swiping to the left
23:32.28danielcbitmzorz: sorry, it was to the right when I got 0
23:32.50*** join/#harmattan mzorz (~mzorz@190.51.129.42)
23:34.17ieatlintdanielcbit, http://doc.qt.nokia.com/4.7-snapshot/declarative-ui-components-scrollbar.html
23:34.39ieatlintthat draws a scrollbar moving left/right with a high resolution
23:35.04ieatlintshould work as an example of how to do it
23:36.07ieatlintbasically just monitor the flickable's visiableArea.xPosition
23:36.27ieatlintif it increases, you're going right, if it decreases, left ... at least, that's how i'm reading it
23:37.29ieatlint(and the "bump" at the end of the listview may cause something weird with the visible area value, so you might need to account for that)
23:38.33mzorzdon't know if danielcbit got it but I did, and will use it :) thanks too
23:40.09danielcbitmzorz, ieatlint: Testing right now. I think it will do the work.
23:40.58danielcbitmzorz, ieatlint: Any idea of what signal I can use so the change is perceived more quickly ?
23:41.39danielcbitI'm using this to set the z property of my delegate in listview
23:43.16ieatlintthe on__Changed signal isn't doing the trick?
23:49.10danielcbitieatlint: The problem is to discover what is the best signal. I'm trying with onContentXChanged
23:52.21ieatlinti'd do this: "property alias xPos: view.visableArea.xPosition" and then "onXPosChanged"
23:54.12danielcbitieatlint: Interesting, but I still would need to compare it with something to decide whether the user is swiping left or right. Isn't ?
23:54.59ieatlintyou can cache the last value if needed
23:56.43mzorzyes and you might want to reset the last value onMovementStarted
23:57.22ieatlintso do like "property int lastXpos" and then in the onChanged signal handler, compare the values then store the xPosition in lastXpos for the next time
23:59.08danielcbitieatlint: Ok. I'll try this.
23:59.27ieatlintmight set lastXpos to an initial value of 0 or something

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.