00:04.07 | ZogG_laptop | lol |
00:04.13 | ZogG_laptop | bot's are talking |
00:04.21 | ZogG_laptop | ~talk to _MeeGoBot_ |
00:04.21 | infobot | ACTION chatters endlessly to to _MeeGoBot_ |
00:04.39 | ZogG_laptop | =( |
00:08.23 | *** join/#harmattan faenil (~faenil@dynamic-adsl-78-13-108-62.clienti.tiscali.it) |
00:32.19 | *** join/#harmattan _MeeGoBot_ (root@hal9000.afthd.hg.tu-darmstadt.de) |
00:32.20 | *** mode/#harmattan [+v _MeeGoBot_] by ChanServ |
00:43.55 | *** join/#harmattan mpr (mp@aggr.com) |
01:20.46 | *** join/#harmattan buser (~test@c-98c1e455.017-474-6c6b701.cust.bredbandsbolaget.se) |
01:43.13 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
02:01.41 | *** join/#harmattan Arkenoi_ (~ark@178.177.14.18) |
02:34.51 | merlin1991 | wonders wich awesome bot routines got triggered :D |
02:51.34 | *** join/#harmattan trx (~ns-team@93.87.57.177) |
03:07.29 | *** join/#harmattan JackaLX (~steve@sxemacs/project-lead/JackaLX) |
03:55.50 | *** join/#harmattan Natunen (nalle@213-186-240-19.bb.dnainternet.fi) |
05:28.40 | *** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg) |
05:30.59 | iekku | morning |
05:40.00 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
05:42.44 | DocScrutinizer | morning |
05:47.05 | *** join/#harmattan TSCHAKeee (~TSCHAKeee@173.9.2.181-New-England.hfc.comcastbusiness.net) |
05:55.23 | *** join/#harmattan Sazpaimon_ (~wat@c-68-32-58-174.hsd1.nj.comcast.net) |
06:04.12 | *** join/#harmattan Sazpaimon (~wat@c-68-32-58-174.hsd1.nj.comcast.net) |
06:05.46 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
06:12.46 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
06:33.14 | decibyte | i've installed sshfs from <https://build.pub.meego.com/package/repositories?package=sshfs-fuse&project=home%3Arzr%3Aharmattan> (and fuse-utils from <http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/f/fuse/>). now, when i try to mount something i get: "fusermount: mount failed: Operation not permitted". even as root. i read something about user should be in the group called "fuse". this didn' exist, i created it added both user an |
06:46.56 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
06:51.44 | decibyte | i _do_ get to authenticate at the remove machine. seems like it partially works. |
07:09.28 | *** join/#harmattan b3ll (~textual@d24-150-65-128.home.cgocable.net) |
07:17.15 | decibyte | could it somehow be related to the famous aegis? |
07:17.22 | ZogG_laptop | morning |
07:28.56 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
07:38.17 | hiemanshu | decibyte: Operation not permitted is most likely aegis |
07:42.07 | decibyte | hiemanshu: okay. thanks. any idea what i should do to make it work? |
07:43.38 | decibyte | (yes, i am a pretty noobish when it comes to this) |
07:49.07 | *** join/#harmattan rcg (~rc@g230053022.adsl.alicedsl.de) |
07:53.50 | ZogG_laptop | luke-jr: ping |
07:54.09 | luke-jr | ? |
07:54.40 | ZogG_laptop | luke-jr: where does ebuild installs qt-creator? |
07:54.46 | luke-jr | … |
07:55.05 | ZogG_laptop | oh, found it =) |
07:55.22 | ZogG_laptop | i just trying to use awesome wm |
07:56.02 | ZogG_laptop | and thought it would be Qt-creator or qt-creator, but it's qtcreator =) |
07:56.18 | luke-jr | awesome wm doesn't sound so awesome |
07:56.31 | ZogG_laptop | luke-jr: matter of time |
07:56.37 | ZogG_laptop | i actually starting to like it |
07:57.10 | ZogG_laptop | luke-jr: hate KDE as well as gnome, like xfce4 but want something lighter |
07:57.25 | hiemanshu | XMonad is pretty nice too |
07:57.54 | luke-jr | I don't especially like where KDE is going, but until someone comes up with a viable alternative… |
07:59.17 | *** join/#harmattan Sazpaimon (~wat@c-68-32-58-174.hsd1.nj.comcast.net) |
08:03.50 | djszapi | ZogG_laptop: you cannot hate KDE :P |
08:03.58 | ZogG_laptop | luke-jr: there are few qt wms des, not much but still |
08:04.09 | *** join/#harmattan psycho_oreos (~no@115.131.6.55) |
08:04.11 | ZogG_laptop | djszapi: why wouldn't i hate it |
08:04.13 | ZogG_laptop | ? |
08:04.19 | luke-jr | [ 52%] Building CXX object kio/CMakeFiles/kio.dir/kio/kdynamicjobtracker.o |
08:04.21 | djszapi | because it is cool :P :P |
08:04.26 | luke-jr | looks like kdelibs will take 2 days to build on N900 |
08:04.35 | ZogG_laptop | djszapi: not really |
08:04.49 | djszapi | luke-jr: it takes me 4-6 hours in scratchbox/c-obs to build kdelibs |
08:05.08 | luke-jr | djszapi: k, but that's not on the N900 |
08:05.32 | djszapi | luke-jr: I was just referring to that, kdelibs is a very big project |
08:05.34 | ZogG_laptop | haha slonopotamus has gentoo on n900 or was it n810 =) |
08:05.47 | luke-jr | ZogG_laptop: slono is just N800 |
08:05.56 | luke-jr | I'm the only Gentoo/N900 dev atm |
08:06.15 | hiemanshu | why would anyone want Gentoo on N900? |
08:06.17 | luke-jr | (also Gentoo/N810) |
08:06.24 | ZogG_laptop | djszapi: it's too biig and not modular, that's why i hate gnome as well. i hate both |
08:06.29 | luke-jr | hiemanshu: because it's the most viable OS choice at this point |
08:06.36 | djszapi | ZogG_laptop: you will love KDE Frameworks then |
08:06.42 | hiemanshu | luke-jr: whats wrong with Maemo + CSSU? |
08:06.48 | luke-jr | hiemanshu: it has no potential. |
08:06.50 | djszapi | because we decided this summer in Switzerland with many folks to split up kdelibs into many smaller modules. |
08:06.55 | luke-jr | hiemanshu: Maemo is too closed. |
08:07.00 | hiemanshu | luke-jr: Nemo? |
08:07.03 | luke-jr | djszapi: nice |
08:07.20 | djszapi | see the "frameworks" branch in kdelibs |
08:07.32 | luke-jr | djszapi: can Akonadi die too? please? |
08:07.49 | djszapi | akonadi is a core part of kde pim |
08:07.55 | *** join/#harmattan tbf (~mathias@p57BD7252.dip.t-dialin.net) |
08:07.58 | djszapi | so the answer is a definite no for now. |
08:07.58 | luke-jr | Akonadi is the worst idea anyone ever had |
08:08.03 | ZogG_laptop | djszapi: i want small kde console kde app, it would pull whole kdelibs and other stuff with it |
08:08.15 | luke-jr | ZogG_laptop: he says not in the future :P |
08:08.16 | *** join/#harmattan xarcass (~igorsazon@94.79.28.10) |
08:08.24 | djszapi | ZogG_laptop: you will love the kde frameworks, there is no KDE5 |
08:08.31 | djszapi | it is a complete restructure |
08:08.48 | ZogG_laptop | djszapi: so it would thousand ppackages now depending on eachother =0 |
08:08.48 | luke-jr | djszapi: or at least, maybe rework Akonadi in a sane manner? :P |
08:09.03 | djszapi | ZogG_laptop: of course no. |
08:09.03 | luke-jr | ie, I don't want a freaking MySQL server on my N900 just for my address book |
08:09.09 | hiemanshu | djszapi: will KDE now come with aegis as a part of the libs? |
08:09.10 | ZogG_laptop | and you would play with all flags and conflicts when you don't use kde |
08:09.10 | hiemanshu | runs |
08:09.20 | djszapi | luke-jr: you can use sqlite imho, that is what the pim guys do in kontact iirc |
08:09.36 | luke-jr | djszapi: last I checked, sqlite was experimental, unsupported, and broken |
08:09.48 | ZogG_laptop | luke-jr: that's why there are sqllite |
08:09.57 | luke-jr | djszapi: and most annoying of all, KAddressBook does not work *at all* since it got switched to Akonadi |
08:10.12 | luke-jr | sqlite support in akonadi* |
08:10.43 | djszapi | well, many people do not like akonadi, many people do not like plasma. Many do. |
08:10.47 | djszapi | it is all about taste :) |
08:10.58 | djszapi | you cannot eliminate it because of your taste if many others would like to have it. |
08:11.03 | luke-jr | if Akonadi worked and didn't require MySQL, maybe it wouldn't be so hated |
08:11.28 | djszapi | it is not any hated, it is just like as usual about softwares, taste and so forth |
08:11.29 | ZogG_laptop | it's all about people that don't care about their computer |
08:11.36 | luke-jr | I fear KDE 4.7 because I cannot afford to lose KMail like I lost KAddressBook |
08:11.41 | ZogG_laptop | they install kde as kde and not different packages |
08:11.59 | luke-jr | djszapi: "doesn't work" is not taste. |
08:12.06 | djszapi | ZogG_laptop: incorrect, I have 20-30 kde libs packages for Harmattan |
08:12.11 | ZogG_laptop | as gentoo user i even watch compile output time to time |
08:12.12 | djszapi | (or maybe more?) |
08:12.24 | ZogG_laptop | though they turned it off by default =) |
08:12.49 | ZogG_laptop | djszapi: it's only phone, and on computer it would be 200-300? |
08:13.02 | djszapi | ZogG_laptop: no, it is almost the same on debian |
08:13.06 | djszapi | +2 packges maybe |
08:13.16 | djszapi | same on ubuntu, kubuntu etc |
08:13.26 | ZogG_laptop | djszapi: lies =) |
08:13.34 | luke-jr | opens KAddressBook: yep, still none of my contacts |
08:13.51 | djszapi | ZogG_laptop: no, it is not lies, we designed it together with kde debian developers. |
08:14.11 | djszapi | when I started to do it for harmattan, but anyway, you can check out yourself... |
08:14.44 | luke-jr | did Debian de-modularize KDE? :o |
08:15.07 | djszapi | of course not. |
08:15.58 | ZogG_laptop | djszapi: qt is nice, but not kde |
08:15.58 | djszapi | moreover, they added some kde packaging tools and dynamic library checking packages for convenience. <3 those. |
08:16.21 | *** join/#harmattan leinir (~leinir@cpc3-hink4-2-0-cust715.8-2.cable.virginmedia.com) |
08:16.21 | *** join/#harmattan leinir (~leinir@amarok/usability/leinir) |
08:17.43 | ZogG_laptop | and i think kde should be on desktop who likes it |
08:17.56 | ZogG_laptop | but somethings can't be ported to phone |
08:18.02 | ZogG_laptop | but need to be rewritten |
08:18.24 | luke-jr | I think kdelibs shouldn't take 2 days to compile on N900. XD |
08:18.37 | luke-jr | (and that's *with* distcc) |
08:19.20 | djszapi | ZogG_laptop: kde is already ported to various phones... |
08:19.44 | djszapi | kde was available on phones way long ago meego has ever existed. |
08:19.56 | luke-jr | djszapi: not usable, though |
08:20.15 | luke-jr | I could barely get KDE to load in the N810's 128 MB RAM |
08:20.16 | djszapi | luke-jr: at least the feedback shows differently, and comment on the relevant posts. |
08:20.21 | djszapi | and I am happy about that :) |
08:20.48 | luke-jr | let alone run any apps on top of that |
08:21.38 | djszapi | luke-jr: I fail to see why. |
08:21.41 | luke-jr | hopefully it's better now, with N900 having 256 MB RAM, and knotify not eating a ton of memory |
08:21.58 | djszapi | core kdelibs is way much smaller than Qt gui stuff. |
08:22.05 | djszapi | the shared library, that is |
08:22.13 | luke-jr | djszapi: hard to measure by library |
08:22.21 | djszapi | the shared library is 2.7 MB |
08:22.26 | djszapi | what is hard to load in that ? |
08:22.33 | luke-jr | I just know "startkde" used up all 128 MB |
08:22.34 | djszapi | Qt gui shared library is about 11-14 MB |
08:23.02 | djszapi | luke-jr: I think what you refuse is that, kde is not just a desktop |
08:23.43 | luke-jr | .. |
08:23.55 | luke-jr | I refuse to play name games. |
08:24.13 | djszapi | in principle, plasma is one kde project of the many. |
08:24.32 | djszapi | we do not need to run plasma to have KDE apps on Harmattan, Android, ratposion or wherever. |
08:25.41 | luke-jr | I said KDE, not KDE apps. |
08:26.58 | djszapi | you could check out some mission statement on youtube, where people, like Aaron Seigo, are describing what KDE is nowadays. |
08:28.23 | djszapi | I agree about that plasma is incapable on various platforms in comparison what it could be. |
08:28.43 | *** join/#harmattan gabriel9 (~quassel@92.241.143.37) |
08:28.48 | djszapi | but plasma is not the only KDE project, you can choose what you like. |
08:34.06 | djszapi | luke-jr: so is it easy to port gentoo to phones ? I had been using it for many years previously. |
08:35.20 | ZogG_laptop | djszapi: there was one guy who ported to old win mobile palm gentoo =) |
08:40.40 | ZogG_laptop | gnome-base/gnome-menus-3.2.0.1[python], required by gnome-base/gnome-control-center-3.2.2, required by net-wireless/gnome-bluetooth-3.2.1, required by gnome-extra/nm-applet-0.9.2.0[bluetooth] |
08:40.48 | ZogG_laptop | djszapi: ^ that's why i don't like them |
08:41.26 | unreal- | mmmm, i've got an interesting bug: my n9 doesn't want to display new emails on the notification screen or display the "@" on the lock screen... anyone have (fixed?) that bug? |
08:41.51 | djszapi | ZogG_laptop: what would you do with such a big projects ? |
08:42.46 | djszapi | in any case, I am trying to make the plasmaless kde mobile way to have some manpower here too. If you are interested in such things, here is my blog: http://lpapp.blogspot.com/ |
08:48.20 | cos^ | is there a way to get rid of facebook events in the feed page? |
08:48.44 | cos^ | i'd like to have the account enabled, but don't want 200 useless fb events in the feed |
08:50.13 | *** join/#harmattan frinring (~kossebau@85.183.48.167) |
08:51.08 | ZogG_laptop | djszapi: i dunno, xfce4 is pretty good and has less problem with everything depending on everything |
08:51.24 | ZogG_laptop | djszapi: you should try one of those on gentoo to understand |
08:52.34 | ZogG_laptop | #required by x11-libs/gtk+-2.24.8-r1, required by net-dialup/ppp-2.4.5-r2[gtk], required by net-misc/networkmanager-0.9.2.0[ppp], required by net-libs/libsocialweb-0.25.20[networkmanager], required by gnome-base/gnome-control-center-3.2.2[socialweb], required by net-wireless/gnome-bluetooth-3.2.1, required by gnome-extra/nm-applet-0.9.2.0[bluetooth], required by @selected, required by @world (argument) |
08:53.05 | ZogG_laptop | djszapi: ^ why would i need social things and gnome-control center for that? |
08:53.41 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
08:56.06 | *** join/#harmattan Venemo_N950 (~venemo@fedora/Venemo) |
08:56.30 | Venemo_N950 | hey guys :) |
08:56.47 | Venemo_N950 | djszapi, happy birthday! :) |
08:58.48 | djszapi | Venemo_N950: thanks :) |
08:58.52 | djszapi | party tonight :P |
09:00.40 | Venemo_N950 | djszapi, I thought so :P |
09:01.17 | djszapi | ZogG: social things and gnome-control center for what ? |
09:01.48 | djszapi | I do not actually know other way around. That is pretty much how qt is organized as well. You need qtcore for many things. |
09:10.50 | *** join/#harmattan achipa (~attila@a91-155-190-80.elisa-laajakaista.fi) |
09:15.16 | *** join/#harmattan vladest (~Vlad@195.238.92.177) |
09:15.33 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-176-69-14.red.bezeqint.net) |
09:15.51 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-fdawhyfppobpwbhv) |
09:17.09 | qronic | Kaadlajk, hi, haven't you got any response about sp-oops-extract availablity? |
09:18.10 | *** join/#harmattan lardman_ (~simon@host-78-146-249-39.as13285.net) |
09:20.56 | ZogG | djszapi i just want nm-applet |
09:21.02 | ZogG | and this what it pulls |
09:21.45 | ZogG | djszapi qt-core is ok, but kdelibs and kde apps just for some qt app that i want to use not as kde part is sick |
09:21.54 | ZogG | Venemo_N950, hey dude |
09:22.07 | ZogG | djszapi happy bday man =) |
09:24.01 | djszapi | ZogG_laptop: why not ? Solid is Qt only, and after kde frameworks, you can use it as if it was the part of the qt-project, a library for installation. That is the idea behind the KDE Frameworks. How would you do it better ? Thanks for the wish :) |
09:24.42 | djszapi | so the problem is that: you need X, but you do not wanna install more. That will be solved by KDE Frameworks. What is missing ? |
09:34.51 | *** join/#harmattan khertan (~khertan@AAmiens-652-1-135-105.w90-7.abo.wanadoo.fr) |
09:35.36 | *** join/#harmattan khertan (~khertan@AAmiens-652-1-135-105.w90-7.abo.wanadoo.fr) |
09:36.06 | khertan | Morning |
09:36.32 | khertan | maybe someone could say me if there is differences in qml in n9 and n950 ? |
09:36.44 | khertan | while KhtEditor is running on n950 |
09:36.57 | khertan | it doesn't on n9 |
09:37.35 | ZogG_laptop | khertan: hey buddy |
09:37.44 | ZogG_laptop | khertan: give me url to check it |
09:38.03 | ZogG_laptop | i mean to install and to try to run to see output if you want |
09:38.30 | djszapi | khertan: same firmware, what does not run precisely ? |
09:58.33 | Piru_ | completely off topic: telnet miku.acm.uiuc.edu |
09:59.28 | khertan | ZogG_laptop, http://gitorious.org/khteditor branch qml |
09:59.42 | khertan | ZogG_laptop, i already got output |
09:59.45 | khertan | from some n9 user |
09:59.50 | khertan | but nothing interesting |
10:00.12 | khertan | djszapi, this is the problem ... it s difficult to know what didn't run with qml |
10:00.48 | djszapi | khertan: do you use 1.0 or 1.1 include ? |
10:01.55 | khertan | 1.1 |
10:02.19 | djszapi | khertan: 1.1 not available in public... |
10:02.25 | djszapi | hence, I had to use 1.0 as well |
10:02.32 | khertan | ? |
10:02.45 | djszapi | khertan: I did not ask for QtQuick version |
10:02.50 | khertan | We are talking of QtQuick 1.1 ? |
10:02.50 | phunguy | anyone have any idea why the meego components aren't showing up in qt creator? I'm trying to develop the UI for a new program but no buttons, etc are listed in the library |
10:03.01 | khertan | you mean nokia component 1.0 |
10:03.03 | phunguy | (qt quick app) |
10:03.05 | djszapi | indeed |
10:03.12 | khertan | yep i use 1.0 |
10:03.51 | *** join/#harmattan rcg (~rc@fb2-pub-1.dv-nr.fh-frankfurt.de) |
10:04.01 | djszapi | khertan: well, hard to say without the console output :P |
10:04.06 | khertan | djszapi, the problem seems related to including the QTextEdit in the QGraphicProxyWidget |
10:04.08 | djszapi | white screen, or something else ? |
10:04.19 | khertan | djszapi, nothing interesting in console |
10:04.23 | khertan | just app close |
10:04.28 | khertan | not even a segfault |
10:04.46 | djszapi | no qml error ? |
10:04.48 | khertan | nope |
10:04.50 | khertan | nothing |
10:04.51 | khertan | nada |
10:04.51 | djszapi | close before showing up the ui ? |
10:05.02 | khertan | nope just on some feature |
10:05.21 | khertan | display Rectangle and Image works :) |
10:05.35 | djszapi | sounds like you might wanna debug it |
10:05.46 | djszapi | put as many console logging into qml as possible. |
10:05.47 | khertan | anyway ... i ll probably let this qml version of KhtEditor die |
10:05.49 | djszapi | same with the cpp |
10:06.08 | khertan | and will rewrite it with an other frameworks |
10:06.24 | khertan | there is also many glitches with the vkb that i can't resolve |
10:08.23 | khertan | djszapi, or maybe did you see a better solution to do text syntax highlighting in qml without including a QPlainTextEdit in a QGraphicProxyWidget ? |
10:09.27 | hiemanshu | nokia developer website has fail captcha, I just spent 5 mins getting a readable image :/ |
10:14.25 | matrixx | hiemanshu: I had the same problem |
10:14.42 | matrixx | every time some thingie was covering one of the symbols |
10:14.56 | phunguy | http://static.inky.ws/image/945/image.jpg > see, no Components in the library area. I can't add anything to the UI :( |
10:14.59 | hiemanshu | matrixx: yeah, they sent me an email asking me to reset my password for security reasons |
10:15.15 | matrixx | hiemanshu: me too, I wonder if there's been a new attack |
10:16.05 | hiemanshu | yeah, I hope not |
10:16.40 | matrixx | or maybe the last breach appeared to be broader than expected |
10:23.14 | phunguy | http://lists.qt-project.org/pipermail/qt-creator/2011-November/000041.html > there's my answer |
10:23.57 | ZogG_laptop | khertan: is there package or source only? |
10:24.17 | khertan | ZogG_laptop, there is a package in obs |
10:24.23 | khertan | version 3.0.2 |
10:24.32 | khertan | and i ven't release yet 3.0.3 |
10:25.01 | ZogG_laptop | khertan: i can check only pkg as i don't have tools to compile myself |
10:25.18 | khertan | (it s python + qml ... no need to compile :) |
10:25.27 | ZogG_laptop | khertan: if it's on OBS try to push it to apps.formeego.com |
10:25.39 | ZogG_laptop | oh than wait |
10:25.46 | khertan | i'll push it if it s works |
10:26.32 | *** join/#harmattan lizardo (~lizardo@189.2.128.130) |
10:26.57 | khertan | apps.formeego.com < lol 3 apps for n9 |
10:26.58 | khertan | hihi |
10:27.14 | *** join/#harmattan lardman_ (~simon@host-78-146-249-39.as13285.net) |
10:27.24 | X-Fade | khertan: hey, we're just testing ;) |
10:27.25 | phunguy | so if qt components aren't integrated into the designer, is there any other way to visually design the UI, or it has to all be done from code? |
10:27.42 | X-Fade | khertan: 15 more in the queue atm. |
10:28.14 | phunguy | so if qt components aren't integrated into the designer, is there any other way to visually design the UI, or it has to all be done from code? |
10:28.16 | khertan | X-Fade, yep and it s a good things this finnally come |
10:28.48 | khertan | i didn't think people was still working on it |
10:28.49 | X-Fade | We need a few more people to help test and do community QA on the apps in testing btw. |
10:29.22 | djszapi | we should probably put many packages from c-obs to testing in there. |
10:29.46 | khertan | X-Fade, only real app are accepted ? i mean which have an ui ? like on maemo ? |
10:29.53 | X-Fade | djszapi: Yes. |
10:30.01 | khertan | or does command line apps are also welcome |
10:30.44 | X-Fade | khertan: We don't block those at least ;) |
10:31.48 | djszapi | and establishing the proper QA policy is more needed imho than putting packages in there. |
10:32.48 | djszapi | that is a lot of work though. IIRC Ovi is developed by many people. |
10:33.10 | phunguy | crap its 5:30am |
10:33.21 | X-Fade | djszapi: Sure, but you can start off simple. |
10:34.17 | djszapi | X-Fade: no allocated time sorry :) |
10:34.46 | phunguy | djszapi> friend, pal, :) any tips on qt quick UI development? |
10:34.58 | djszapi | yes, never ever use qtcreator |
10:35.02 | X-Fade | djszapi: Atm we have simple things like, does it run, does it use a lot of power, does it uninstall. |
10:35.11 | phunguy | great tip. what should I start with then? |
10:35.16 | djszapi | X-Fade ouch, so no security checks... |
10:35.41 | X-Fade | djszapi: How would you do that :) |
10:35.54 | djszapi | X-Fade: I know many holes in Harmattan, I would start checking all of them |
10:36.05 | djszapi | just like OVI started doing btw. |
10:36.34 | X-Fade | djszapi: But that is not public info. |
10:36.37 | ZogG_laptop | khertan: no git there and downloading file by file from phone with wget doesn't work very well |
10:36.52 | djszapi | X-Fade: not public what ? It is just about hacking really :) |
10:37.05 | djszapi | you find a security hole, the qa process should defense against that. There are many like that. |
10:37.11 | djszapi | defend* |
10:37.14 | X-Fade | djszapi: I mean that there are no tools publicly available to do the checks. |
10:37.23 | djszapi | you need to write that for sure. |
10:37.46 | X-Fade | djszapi: But that is hard to do when you don't know about what to check for ;) |
10:38.05 | djszapi | X-Fade: you need to think of the possible holes for sure |
10:38.26 | djszapi | I think that is one of the most important part of the QA process. |
10:38.34 | X-Fade | appoints djszapi as the community security team lead |
10:38.59 | ZogG_laptop | cd /tmp |
10:40.05 | *** join/#harmattan etrunko (~etrunko@201.53.207.120) |
10:42.11 | phunguy | What should one start out with for coding in QT other than Creator? |
10:44.09 | radiofree | phunguy: vi? |
10:45.14 | phunguy | not sure how I could visually create the UI I want with vi. I could code it fine, I'm looking for a decent way to create the UI |
10:45.15 | lizardo | X-Fade: regarding package licenses, is there any restriction/recommendations on this regard? |
10:45.36 | radiofree | there's qt designer i think, but not sure how old that is |
10:45.41 | lizardo | X-Fade: (on apps.formeego.com QA subject) |
10:45.46 | radiofree | for QML stuff you mean? |
10:45.57 | X-Fade | lizardo: Only OSS. |
10:46.11 | phunguy | radiofree > that doesn't support harmattan qt-components though |
10:46.34 | lizardo | X-Fade: good, easier to QA for security things (if one is interested on deep analysis) then :) |
10:46.47 | radiofree | I suppose the only qml designer is in qt creator then |
10:47.13 | X-Fade | lizardo: At least we have the source code then yes. |
10:47.24 | djszapi | X-Fade: too much responsibility to take care of security also in leisure time :P It is one of the most responsible areas :P I am already trying to get into the Qt security issue circles..:) |
10:48.03 | X-Fade | djszapi: Anyway, any help on tools would be good. Even if it is just contacts etc. |
10:48.34 | ZogG_laptop | X-Fade: i made some adv for apps.formeego.org on russian meego society |
10:49.21 | X-Fade | ZogG_laptop: ah, cool :) |
10:50.33 | djszapi | ZogG_laptop: from Russia, do you come to Saint Petersburg for the FRUCT11 conference with us ? |
10:50.44 | *** join/#harmattan JackaLX (~steve@sxemacs/project-lead/JackaLX) |
10:51.11 | *** join/#harmattan fuz_ (nobody@vau75-10-88-164-23-88.fbx.proxad.net) |
10:54.09 | lizardo | X-Fade: my suggestion for one check is to do a basic review on the package maintainer scripts (postinst/preinst/postrm/etc.) and look for "suspicious" operations (which I'm still collecting myself). E.g. packages touching /etc/udev/* or modifying /dev/* files. There are a couple of holes there |
10:54.59 | hiemanshu | Saint Petersburg reminds me of Hitman 2 :D |
10:55.40 | X-Fade | lizardo: We'd need some self contained tool for that. Which basically takes the source and runs some tests against it. |
10:56.42 | lizardo | X-Fade: agree. I would contribute to that once there is some requirements in place :) |
10:57.48 | X-Fade | The BOSS automation we have for the process is such that we can plug in scripts to do certain tasks easily. |
10:59.42 | djszapi | and the tool should not be written in C++ imho since the tool mistake probabilities should be solely avoided. |
11:00.42 | X-Fade | Boss participants are done in python mostly. |
11:00.59 | djszapi | yes, something very simple. It is the same case as unit tests |
11:14.23 | *** join/#harmattan _nicolai_ (~nicolai@rzpc118.informatik.uni-hamburg.de) |
11:18.44 | *** join/#harmattan arcean (~Arcean@aadb49.neoplus.adsl.tpnet.pl) |
11:22.30 | Jare_ | is there a list of available dbus commands somewhere? |
11:25.37 | *** join/#harmattan sledges (510263ab@gateway/web/freenode/ip.81.2.99.171) |
11:25.41 | djszapi | do you mean available interfaces or what ? |
11:25.58 | sledges | hello, got my N9!!! |
11:29.08 | Jare_ | djszapi: something like this http://wiki.maemo.org/Phone_control |
11:29.51 | RST38h | yawns |
11:30.00 | RST38h | So, how are things? Are we dead yet? =) |
11:30.38 | *** join/#harmattan xarcass (~igorsazon@94.79.28.10) |
11:31.31 | djszapi | there are different pages, but no colelcted one imho |
11:31.37 | djszapi | collected* |
11:32.23 | sledges | is this a good place to ask about N9 WiFi PR1.1 not seeing my AP? |
11:32.45 | sledges | (I reckon Harmattan embraces the kernel, too) |
11:33.08 | sledges | ((double sorry for asking to ask :))) |
11:45.36 | *** join/#harmattan zk8 (~tester@p54B913C1.dip0.t-ipconnect.de) |
11:45.50 | djszapi | zz_gri: do you make special validation in yoru account plugin ? |
11:47.14 | corecode | hi |
11:47.21 | corecode | yipdw: you there? |
11:53.04 | *** join/#harmattan adlan (~adlan@110.159.229.237) |
12:02.11 | *** join/#harmattan TSCHAKeee (~TSCHAKeee@173.9.2.181-New-England.hfc.comcastbusiness.net) |
12:18.10 | djszapi | mm, actually there are more ways of installing a package as non-root.. |
12:40.39 | *** join/#harmattan achipa (~attila@a91-155-190-80.elisa-laajakaista.fi) |
13:05.26 | Corsac | hmhm, I missed the scary mail about password reset on developer.nokia.com |
13:11.12 | djszapi | interesting 1-2 aegis bug reports of the many on the public bug tracker. |
13:13.51 | Corsac | I should report one about giving a warning when the device reboots because of an aegis violation |
13:14.30 | djszapi | huh ? |
13:25.23 | gri | djszapi: nope, I don't check the data while entering (most of my apps' plugins dont support that so I left it out) |
13:25.42 | gri | djszapi: I only ensure all fields are filled |
13:27.33 | gri | Corsac: they still don't comment on why the password had to be reset and why project.developer.nokia.com is down for 3 days now :) |
13:27.46 | Corsac | gri: well, that looks obvious |
13:28.04 | djszapi | gri: without that, the plugin must be simple. I believe that is the most hefty part of the plugins, like skype. |
13:28.04 | gri | Corsac: Nooo, never :P |
13:28.08 | djszapi | skype even does a special check. |
13:28.22 | Corsac | djszapi: I experience from time to time (mostly when fresh booted) reboots when opening the phone app. One of that time I had a tail -f running on the logs, I noticed aegis was reporting an failed integrity check on some .db |
13:28.54 | Corsac | djszapi: so it could warn on screen about that instead of triggering an immediate reboot |
13:29.02 | gri | djszapi: Well, for oauth2 and such, there should be required nothing to validate |
13:29.23 | gri | djszapi: if you have your own mechanism, you can implement a signon plugin which validates the data :) |
13:32.08 | *** join/#harmattan Sazpaimon (~wat@c-68-32-58-174.hsd1.nj.comcast.net) |
13:35.50 | djszapi | Corsac: steps to repro ? |
13:36.08 | djszapi | gri: not quite |
13:36.21 | djszapi | gri: most of the builtin plugins do have validation actually. |
13:36.34 | Corsac | not really reproducible, as I said, it happens “sometimes” when I boot, pressing the phone app makes the device reboot |
13:36.59 | Corsac | djszapi: and usually it happens if I press the phone app quickly after the app screen appeared, and not if I wait a bit |
13:37.08 | Corsac | so it might be a race condition of some sort |
13:37.16 | gri | djszapi: I did not say they don't use validation. I said for oauth2 etc., the validation should work out of the box |
13:37.30 | djszapi | Corsac: try to find reproducing steps. Also the precise db file would help a lot. |
13:38.06 | djszapi | gri: so the answer is that for the original question, yes you do have validator functionality. |
13:38.17 | Corsac | let me check the logs |
13:38.22 | gri | I don't but mostly all other plugins have |
13:38.41 | djszapi | so not oauth2, not even validation ? :) |
13:38.47 | djszapi | you sure ovi store accepts it ? :P |
13:38.57 | gri | nope, I store passwords not oauth tokens |
13:39.14 | gri | since my server should not save these passwords |
13:39.40 | gri | it only takes them from the phone when sending a message and does not store it at all |
13:40.13 | djszapi | is that good ? |
13:40.22 | gri | well, both choices suck |
13:40.50 | gri | the only "safe" method would be: let the phone do the website scraping instead of the server |
13:41.02 | gri | but then it takes longer or may not work using gprs |
13:41.14 | djszapi | well, that is one of the purpose of account plugins, to do this |
13:41.36 | gri | the websites I scrape don't have an api |
13:41.46 | Corsac | djszapi: http://paste.debian.net/147811/ (not really precise but the number by itself is a bit concerning) |
13:41.50 | gri | they don't like to be scraped :) |
13:41.51 | djszapi | gri: sounds scarry :))) |
13:41.57 | Corsac | (note that I don't think each and everyone of them leaded to a reboot) |
13:42.38 | djszapi | Corsac: well, you have a corrupted data |
13:42.47 | djszapi | actually not one, but more |
13:43.02 | gri | djszapi: It's like writing an amazon client without getting api access: you can only "play browser" |
13:43.20 | Corsac | I assume the signon.db is the one leading to the need to enter passwords at every boot? |
13:43.36 | djszapi | gri: I think you slightly misunderstood me because what I am basically saying, the storage is one of the main purposes in case account plugins. |
13:44.14 | djszapi | Corsac: you mean the corrupted signon.db ? |
13:44.22 | gri | djszapi: Yes but simply account plugins should only need a few lines of code if you use a predefined authentication method |
13:44.29 | gri | simple* |
13:44.34 | Corsac | djszapi: yes |
13:45.43 | djszapi | gri: that is why I said: without that, the plugin must be simple. I believe that is the most hefty part of the plugins, like skype. |
13:45.52 | gri | djszapi: In short I meant: either write a very short accounts plugin and add your preferred authentication method to signon OR do everything in the accounts plugin |
13:46.09 | gri | it's just not defined who should do the verification |
13:46.29 | djszapi | gri: the "default" is not acceptable for most of the plugins including mine. |
13:48.12 | djszapi | setupcontext + validation = 95% of the plugin. |
13:48.42 | gri | please check the facebook plugin |
13:48.51 | gri | it should be less code |
13:49.03 | gri | since they could use oauth2, don't know if they do |
13:54.22 | djszapi | facebook does use oauth |
13:54.55 | gri | so I would suspect the code in the accountsplugin shorter, like just setting the app secret and such things |
13:55.04 | gri | and validation by signond |
13:55.22 | djszapi | well, I am not allowed to speak about the internal implementation details ;) |
13:56.04 | gri | I'm also not really interested in that :P |
13:56.17 | djszapi | also you can check anytime the dependencies... |
13:57.11 | djszapi | it does even use signon plugin |
13:57.27 | djszapi | so it is not just by signon usage directly. |
13:57.54 | gri | yeah, there is some header I think |
13:59.09 | gri | hmm not exported, so no linker needed ok :) |
13:59.21 | gri | thought it was because of this one: https://gitorious.org/accounts-sso/signon-oauth2/blobs/master/src/oauth2data.h#line34 |
14:01.19 | djszapi | as far as I can tell, they do not use oauth |
14:01.44 | gri | hmm ok |
14:01.48 | djszapi | at least I do not see it in the dependencies |
14:02.07 | gri | well if oauth is used, it's used by signond |
14:02.16 | gri | so the accountsplugin should not need to link it |
14:03.49 | gri | anyway, I'm going to try this on the weekend since I hate that those dropbox clients don't use the accounts ui |
14:04.05 | djszapi | they do use |
14:04.14 | djszapi | well, I do not find oauth in the code either |
14:04.35 | gri | DropN9 does not use accounts-ui, it does not even use signon |
14:04.54 | djszapi | huh ? |
14:05.00 | djszapi | what is DropN9 ? |
14:05.09 | gri | some dropbox client |
14:05.16 | gri | like Dropian (also not using accounts-ui) |
14:05.19 | djszapi | that is the only thing I found on the facebook site: https://graph.facebook.com/oauth/exchange_sessions |
14:05.38 | gri | I know there is a dropbox icon by nokia in the theme but there's no nokia dropbox client :( |
14:05.46 | qronic | so with all that acrrier IQ buzz on te net, it's not on N9 right? |
14:05.53 | djszapi | https://graph.facebook.com/oauth -> this one, more precisely. |
14:05.55 | qronic | s/acrrier/carrier |
14:06.10 | djszapi | I have never seen the dropbox client myself. |
14:06.50 | gri | djszapi: http://developers.facebook.com/docs/authentication/ |
14:07.15 | djszapi | gri: that is not what in the code :P |
14:07.51 | djszapi | anyway, it is not that simple to write a plugin, if it is not minimal. |
14:08.51 | leinir | qronic: i'd be very surprised it it were - it seems to be a carrier thing rather than a manufacturer thing (except in the case of apple, of course, but they like to think of themselves as carrier of the bright light anyway ;) ) |
14:09.11 | qronic | :) |
14:09.54 | dm8tbr | we don't need carier-iq, we have aegis *snerk* *cough* ;) |
14:11.25 | djszapi | gri: have you experimented with the providers xml tags ? Seems a bit undocumented :P |
14:11.43 | djszapi | for the time being, I have just picked up simple username/password login entries. |
14:12.15 | gri | djszapi: I just checked the account-setup tag, this is parsed in the libaccounts-ui at some place |
14:12.30 | gri | so I just checked that code to know how the xml might look like |
14:14.00 | djszapi | I know how the xml looks like since they are available in the data folder. I was just wondering whether you know the meanings. |
14:14.17 | djszapi | yes, parser code check is a way, but the idea is to avoid that :P |
14:14.20 | gri | I did not use it that excessive |
14:14.43 | gri | only provide description, icon and name - other things are done by my qml code |
14:16.37 | djszapi | gri: I think something like this is a fairly trivial one, and I do not dare to use more to not break it :P http://paste.kde.org/153920/ |
14:17.18 | djszapi | though, I have no clue about the meaning of "<register type="formular"/>" for instance. The community could probably document those on a weikipage... |
14:17.38 | gri | if you remove install-existing and children but add <plugin>, that's what I use :) |
14:18.20 | gri | no idea what this is for ... you can somehow build the ui via xml and extend the elements if you like ... |
14:18.36 | gri | but there's no real documentation how that should be done |
14:19.19 | djszapi | well, that is what some plugin does, for instance picasa iirc |
14:19.28 | gri | <name> etc. are translation ids but I think you know that :) |
14:20.25 | djszapi | yes, I realized. Well, the thing is that I am far away from testing :P I try to understand the concepts and alternatives thoroughly, at least as much as possible. |
14:21.45 | djszapi | I /think/: the best option is that you use existing authentication plugin, second it to write your own plugin. Third is to use password plugin and do authnetication using stored passwords |
14:24.22 | gri | aggree with that |
14:25.03 | gri | with one g less :) |
14:28.12 | *** join/#harmattan crevetor (~antoine@bureau.ubity.com) |
14:41.50 | djszapi | Corsac: have you flashed EMMC as well, and you did backup restore ? |
14:42.13 | Corsac | djszapi: recently? no |
14:42.48 | djszapi | when the corruption happened. |
14:42.58 | djszapi | right before that. |
14:43.28 | Corsac | I don't think so, afair it was just after pr1.1 OTA upgrade |
14:43.52 | Corsac | but note that the upgrade wasn't complete the first time (kernel wasn't upgraded) so I had to force it (reboot -u etc.) |
14:43.52 | djszapi | O_o I wanted to suggest to remove the network connection |
14:44.08 | djszapi | it might be that, the network stuff is running with some operation while the backup is happening... |
14:44.27 | djszapi | Another option is upstart is somehow running this signond before the aegisfs things. |
14:44.40 | djszapi | On the other hand, it is better to re-type the password than leaking it out :) |
14:44.54 | Corsac | there's a backup at every boot? |
14:45.28 | djszapi | nah.. |
14:48.22 | Corsac | anyway, it seems the solution is coming with pr1.2 |
14:48.37 | Corsac | (according to https://harmattan-bugs.nokia.com/show_bug.cgi?id=123 at least) |
14:48.58 | djszapi | right, my last idea was the battery |
14:49.08 | djszapi | if you run out of the battery, of course the db is corrupted |
14:49.13 | djszapi | but I thought you did not run out ? |
14:50.09 | X-Fade | Even then it is strange that a 99.99% read db corrupts. |
14:50.44 | X-Fade | I mean, it only stores a few usernames and password. That doesn't have heavy churn. |
14:51.09 | djszapi | it is not 99.99% as said above |
14:51.11 | djszapi | it is "random". |
14:51.43 | X-Fade | djszapi: I mean the accounts db. That itself is mostly read. |
14:52.01 | X-Fade | So the only time it can corrupt is when things actually write to it. |
14:52.03 | djszapi | we did not discuss accounts db, just signon, if that is what you mean |
14:52.39 | X-Fade | Fine signon then :) |
14:53.02 | djszapi | my gut feeling is actually that, the signon daemon is doing something wrong |
14:53.13 | X-Fade | I experienced the corruption too. |
14:55.27 | ZogG_laptop | damn |
14:56.14 | Corsac | note that, afair, it started when I deleted accounts and recreated them, after pr1.1 upgrade |
14:56.32 | Corsac | so maybe the hash was readonly or something after that upgrade |
14:56.45 | ZogG_laptop | after one after reboot all accounnt password are diappeared and twitter doesn't connect anymore |
14:56.56 | Corsac | (and it may very well be that I did that during the window where I had upgraded to 1.1 but not yet the kernel) |
14:57.13 | Corsac | (and I did remove those accounts in order to investigate #63 :) |
14:57.26 | djszapi | X-Fade not the username and password are damaged |
14:57.38 | djszapi | X-Fade: the hash stored inside the protected storage index. |
14:57.56 | X-Fade | djszapi: Ah. |
14:58.02 | Corsac | anyway, since reflashing + restore isn't supposed to work since it'll restore the bad signon.db too, I'm just waiting for pr1.2 |
14:58.07 | djszapi | X-Fade: and the signon daemon keeps the file opened /all/ the time time, it does not close it on its own. It opens up in write mode. |
14:58.23 | djszapi | X-Fade: so if there is no sync up, the hash can run out of the fashion very simply. |
14:58.35 | X-Fade | I got it fixed though, don't remember how I did it. |
14:59.09 | X-Fade | Some backup/restore iteration, I guess. |
14:59.27 | djszapi | anyway, I am off to the company christmas party :P Good luck with this :) |
15:02.19 | *** join/#harmattan xmlich02 (~imlich@2001:67c:1220:80c:21c:c0ff:fe18:9398) |
15:11.23 | gri | it's 22 days left for christmas .. |
15:16.29 | gri | Wow, that new ubuntu control panel looks like apple ... |
15:17.16 | neal | How do I figure out if the user is idle/active? On Maemo 5, I could use mce provided the system_inactivity_ind, but Harmattan does not seem to provide that. |
15:17.28 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
15:19.25 | *** join/#harmattan achipa (~attila@a91-155-190-80.elisa-laajakaista.fi) |
15:22.09 | radiofree | neal: there's the Session.State content property |
15:22.29 | radiofree | when Session.State == blanked is probably what you're after? |
15:23.26 | radiofree | http://harmattan-dev.nokia.com/docs/platform-api-reference/showdoc.php?pkn=libcontextsubscriber&wb=daily-docs&url=Li94bWwvZGFpbHktZG9jcy9saWJjb250ZXh0c3Vic2NyaWJlcg%3D%3D |
15:23.45 | neal | radiofree: Thanks! |
15:25.01 | radiofree | the documentation isn't great, if you need any help just ping me |
15:25.07 | radiofree | there's a bit more info about it http://maemo.gitorious.org/maemo-af/contextkit/blobs/master/spec/core.context#line509 |
15:26.39 | neal | radiofree: I'm looking for dbus apis (I'm not using qt). Do you know off-hand where to find those? |
15:26.52 | neal | radiofree: Or, C APIs. |
15:27.01 | radiofree | contextkit has a c api |
15:27.58 | *** join/#harmattan M4rtinK (~M4rtinK@mail.melf.eu) |
15:28.22 | Piru | mm base64 encoded url |
15:29.49 | Piru | ah frame. lets try something |
15:35.47 | *** join/#harmattan trx (~ns-team@93.87.57.177) |
15:36.34 | Piru | yeah. http://harmattan-dev.nokia.com/docs/platform-api-reference/showdoc.php?pkn=libcontextsubscriber&wb=daily-docs&url=aHR0cDovL3d3dy5hcHBsZS5jb20v |
15:36.38 | Piru | hides ;) |
15:36.55 | radiofree | Piru ;) |
15:37.18 | radiofree | neal: sorry, the c api is only for contextprovide, which is not what you want |
15:38.17 | Corsac | lors que bon |
15:38.18 | Corsac | <PROTECTED> |
15:38.19 | Corsac | <PROTECTED> |
15:41.35 | Corsac | (sorry -ECHAN) |
16:47.42 | luke-jr | djszapi: dunno, I don't care about phones |
16:52.18 | luke-jr | djszapi: I don't think that "people, like Aaron Seigo" should decide how I use KDE. |
17:05.18 | *** join/#harmattan IcanCU (u3094@gateway/web/irccloud.com/x-gkmxvwebzvzsghnh) |
17:07.04 | lizardo | where is the code for http://apps.formeego.org/n9client ? |
17:31.51 | yipdw | corecode: here now; what's up? |
17:35.05 | *** join/#harmattan _MeeGoBot_ (root@hal9000.afthd.hg.tu-darmstadt.de) |
17:35.05 | *** mode/#harmattan [+v _MeeGoBot_] by ChanServ |
17:41.39 | *** join/#harmattan b3ll (~textual@75.98.19.133) |
17:43.39 | *** join/#harmattan zk8 (~tester@p54B913C1.dip0.t-ipconnect.de) |
17:44.33 | *** join/#harmattan tbf (~mathias@p57BD7252.dip.t-dialin.net) |
17:44.59 | *** join/#harmattan delphi (~ns-team@93.87.57.82) |
17:46.20 | *** join/#harmattan etrunko (~etrunko@201.53.207.120) |
18:00.31 | corecode | yipdw: hi |
18:00.38 | corecode | yipdw: i saw your jabber commit |
18:00.49 | corecode | yipdw: do you have a plan what needs to be implemented? |
18:05.02 | *** join/#harmattan b3ll (~textual@74.198.87.42) |
18:05.27 | *** join/#harmattan vladest (~Vlad@207-161-133-95.pool.ukrtel.net) |
18:06.53 | *** join/#harmattan ajalkane (~ajalkane@a88-115-212-112.elisa-laajakaista.fi) |
18:14.07 | *** join/#harmattan b3ll (~textual@74.198.87.32) |
18:24.33 | *** join/#harmattan daniel_o (~daniel_o@pvc.pro.net) |
18:25.45 | *** join/#harmattan piggz (~piggz@host-78-145-126-109.as13285.net) |
18:28.15 | *** join/#harmattan decibyte (~mmm@port278.ds1-vbr.adsl.cybercity.dk) |
18:28.51 | *** join/#harmattan fuz_ (nobody@vau75-10-88-164-23-88.fbx.proxad.net) |
18:29.26 | *** join/#harmattan lardman_ (~simon@host-78-146-249-39.as13285.net) |
18:33.16 | *** join/#harmattan b3ll (~textual@75.98.19.133) |
18:34.16 | *** join/#harmattan tarantism (~admin@cpc1-cmbg4-0-0-cust285.5-4.cable.virginmedia.com) |
18:56.20 | M4rtinK | I have just checked all bugs on the Harmattan bugzilla to check if the "apps are rotating to portrait orientation when in landscape multitasking view" was filled yet |
18:56.50 | M4rtinK | and it looks like it was not filled yet |
18:57.26 | yipdw | corecode: I'm still teaching myself the accounts framework, so no plan yet |
18:57.53 | yipdw | corecode: any documentation towards that would be useful; all I've got right now is the accounts-qt source and some other documentation from Nokia |
18:58.00 | M4rtinK | I know that the landscape multitasking view is unofficial but I still find this behaviour super annoying :) |
18:58.13 | yipdw | corecode: frankly this would be a lot easier if Nokia just opened up the Google Talk plugin :P |
19:00.42 | corecode | yea |
19:00.57 | corecode | yipdw: but everything works even without gui |
19:01.02 | yipdw | sort of |
19:01.08 | corecode | yipdw: seems it is just a matter of adding the gui |
19:01.12 | corecode | what's missing? |
19:01.35 | yipdw | corecode: here's a few things I've noticed: |
19:02.01 | yipdw | 1) contact integration -- if you look at a contact's card you can't see their presence for an arbitrary XMPP account |
19:02.17 | *** join/#harmattan b3ll (~textual@74.198.87.95) |
19:02.22 | corecode | right |
19:02.29 | yipdw | 2) when you try to contact someone via XMPP, it just shows up as a blank service, though the name you supply is present |
19:02.38 | yipdw | 3) the full array of statuses isn't present |
19:02.45 | yipdw | (all you get is "Online" and "Offline") |
19:03.03 | corecode | right |
19:03.08 | corecode | is there more? |
19:03.11 | corecode | for xmpp? |
19:03.15 | yipdw | I haven't found anything yet |
19:03.19 | corecode | ah, some sort of away |
19:03.21 | yipdw | those all are GUI things, yes |
19:03.23 | corecode | or dnd |
19:03.24 | corecode | yes |
19:03.35 | yipdw | but I don't yet know how much is needed to make them work |
19:03.45 | corecode | so what do your files address? |
19:03.56 | yipdw | they create a Jabber entry in the "new account" menu |
19:04.01 | yipdw | oh, yes, there is more |
19:04.10 | yipdw | 4) no way to configure client priority |
19:04.41 | corecode | yea |
19:04.41 | yipdw | 5) no avatar support (I think; this one's hard to quickly verify -- I need to set up a more controlled XMPP test environment) |
19:04.55 | yipdw | but yeah, that's all they do |
19:04.57 | corecode | it shows my avatar |
19:05.11 | yipdw | they don't include any support for account storage or whatnot |
19:05.21 | *** join/#harmattan NIN101 (~NIN101@2001:530::216:3cff:fe71:5e1e) |
19:05.43 | yipdw | if you try to create an account using the screens that come up as a result of dumping those XML files in /usr/share/accounts/{providers,services}, you'll get a qtn_storage_undefined (or something) error |
19:05.50 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-176-69-14.red.bezeqint.net) |
19:05.58 | corecode | ok |
19:06.00 | yipdw | I haven't figured out what the error means; been trying to find documentation |
19:06.13 | corecode | with an existing account, what will change? |
19:06.24 | yipdw | oh, I'm using an existing XMPP accunt |
19:06.26 | yipdw | account |
19:06.27 | *** join/#harmattan Sazpaimon_ (~wat@c-68-32-58-174.hsd1.nj.comcast.net) |
19:06.35 | yipdw | I'm just trying to add it to the accounts list |
19:06.44 | corecode | right |
19:06.45 | yipdw | there's no account registration implemented yet |
19:06.51 | corecode | i understand |
19:07.03 | yipdw | <PROTECTED> |
19:07.09 | corecode | yes |
19:07.12 | yipdw | oh |
19:07.15 | yipdw | this doesn't address that |
19:07.21 | yipdw | (yet) |
19:07.33 | corecode | ah, you're doing the "add xmpp account to n9" |
19:07.36 | yipdw | right |
19:07.45 | corecode | not "show xmpp contacts" |
19:07.54 | yipdw | I would like to get there too |
19:07.59 | yipdw | but they seem like aspects of the same problem |
19:08.03 | yipdw | (so far) |
19:08.12 | yipdw | again, I'm not sure -- I just want to get this working :P |
19:08.13 | corecode | could you maybe add whatever url you find to your README? |
19:08.18 | yipdw | sure thing |
19:08.21 | corecode | thanks |
19:08.30 | yipdw | I have seen other examples of account plugins, e.g. the one used for tmo |
19:08.50 | corecode | ah there are sources? |
19:08.54 | corecode | that's good |
19:08.56 | yipdw | I keep trying to find a more in-depth description of Harmattan's account system on the interwebs, though |
19:09.00 | yipdw | and I'm not finding out |
19:09.02 | corecode | yea |
19:09.02 | yipdw | er, finding it |
19:09.28 | yipdw | oh wait |
19:09.29 | yipdw | http://talk.maemo.org/showthread.php?t=80501 |
19:10.27 | yipdw | eh, never mind; that's roughly where I'm stuck at right now |
19:11.19 | yipdw | I'll send a source code request to Nokia for the gtalk plugin |
19:11.30 | yipdw | I really can't imagine that their hands would be tied due to third-party obligations on that |
19:11.33 | yipdw | (but who knows) |
19:12.03 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-176-69-14.red.bezeqint.net) |
19:12.22 | yipdw | that seems like the most productive thing I could do at this point |
19:19.32 | *** join/#harmattan stroughtonsmith (~steven@86-43-210-35-dynamic.b-ras2.bbh.dublin.eircom.net) |
19:21.21 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-176-69-14.red.bezeqint.net) |
19:27.30 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-176-69-14.red.bezeqint.net) |
19:38.10 | *** join/#harmattan vladest (~Vlad@207-161-133-95.pool.ukrtel.net) |
19:39.51 | ZogG_laptop | luke-jr: re |
19:41.25 | ZogG_laptop | ~ping |
19:41.25 | infobot | ~pong |
19:50.57 | *** join/#harmattan Arkenoi (~ark@178.177.14.18) |
19:56.08 | ZogG_laptop | hmm why would i get timeout on connection in qt-creator while deploying keys to n9 ? |
20:09.52 | *** part/#harmattan zk8 (~tester@p54B913C1.dip0.t-ipconnect.de) |
20:17.31 | ZogG_laptop | hmmmm, over wlan it does work =) |
20:36.12 | *** join/#harmattan vladest (~Vlad@207-161-133-95.pool.ukrtel.net) |
21:01.17 | *** join/#harmattan javispedro (~javier@Maemo/community/contributor/javispedro) |
21:01.23 | *** join/#harmattan briglia (~briglia@189.2.128.130) |
21:07.53 | *** join/#harmattan jpwhiting (jwhiting@kde/developer/whiting) |
21:09.30 | dm8tbr | javispedro: I've zeroed in on one or two minimum features and have the protocol bits for that. |
21:09.42 | javispedro | aha |
21:09.51 | dm8tbr | javispedro: now the challenge will be to make sowatch build and then start adding things there |
21:10.41 | dm8tbr | I've both installed SB and qt-sdk, which one do you use? |
21:10.41 | javispedro | dm8tbr: if you remove qmafwwatchlet from sowatch.pro it should build on qt creator |
21:11.03 | javispedro | I am using qt-sdk but with a custom rootstrap |
21:11.19 | dm8tbr | actually I manged to install the qmaf deb files, but it still couldn't find one file |
21:11.37 | javispedro | which is? |
21:11.47 | dm8tbr | let me check |
21:11.50 | javispedro | oh |
21:12.02 | javispedro | I kinda remember a chicken/egg problem |
21:12.33 | javispedro | I think you will also need to install a previous version' into madde |
21:12.34 | dm8tbr | mafwshared.h |
21:12.39 | javispedro | ah |
21:12.55 | javispedro | that should come with one of the qmafw-dev packages |
21:13.15 | javispedro | either way I'd forget about it for now and remove qmafwwatchlet |
21:13.17 | dm8tbr | which I thought I had installed |
21:13.21 | dm8tbr | *nod* |
21:13.40 | dm8tbr | just comment it out in the main pro file I guess? |
21:13.44 | javispedro | yep |
21:14.04 | javispedro | to save on build time better remove most of them =) |
21:14.20 | javispedro | basically all of the ones inside the MEEGO_VERSION_MAJOR conditional |
21:14.51 | javispedro | (my plan was obviously to have all of this in separate projects, but well, convenience won...) |
21:15.21 | dm8tbr | right, those can be added once I've figured out a concept for a fake framebuffer |
21:15.49 | dm8tbr | I can put the device in a mode where I just send 128x128 bitmaps |
21:15.58 | javispedro | very nice |
21:16.07 | javispedro | have you estimated how much it takes to send one of those? |
21:16.13 | javispedro | and whether you can make partial updates? |
21:16.19 | dm8tbr | no, didn't look at that |
21:16.31 | dm8tbr | yes, partial should be possible in theory |
21:16.47 | dm8tbr | at least there is also a function to send a smaller bitmap to a certain coordinate |
21:17.00 | javispedro | very, verry nice. |
21:17.28 | javispedro | (due to latency if there's no partial updates/damages it would probably be unusably slow) |
21:19.06 | *** join/#harmattan FLaT^ (flat@kuumankosteat.harrasteradiot.fi) |
21:20.22 | *** join/#harmattan zk8 (~tester@p54B913C1.dip0.t-ipconnect.de) |
21:20.37 | dm8tbr | yes that's what I'd also expect |
21:21.06 | dm8tbr | actually I should check the original SDK documentation for hints about their high-level functionality |
21:21.26 | dm8tbr | as that will likely map to those things |
21:23.23 | dm8tbr | dpkg-shlibdeps: failure: couldn't find library libsowatch.so.1 needed by debian/sowatch/opt/sowatch/lib/drivers/libmetawatchdriver.so.1.0.0 (its RPATH is '/opt/sowatch/lib:/usr/lib'). |
21:23.27 | dm8tbr | whu? |
21:23.34 | dm8tbr | seems I did something stupid |
21:23.48 | javispedro | I think this is the chicken and egg problem |
21:23.54 | javispedro | are you on windows? |
21:25.18 | javispedro | dm8tbr: install this to madde -- http://depot.javispedro.com/metawatch/sowatch/sowatch_0.2.1_armel.deb |
21:25.50 | dm8tbr | ah, it needs itself installed to be bootstrapped :D |
21:26.19 | javispedro | It did not happen to me :S, and doesn't seem to happen in sbox |
21:29.29 | GeneralAntilles | Damn Winters. |
21:30.19 | javispedro | I love Winters |
21:30.56 | javispedro | the fact that here even in January you can pretty much stay outside with just a shirt probably helps |
21:33.42 | *** join/#harmattan svuorela (~svuorela@ssh.killmulehill.net) |
21:35.35 | dm8tbr | javispedro: yay, now it looks much better |
21:35.53 | dm8tbr | looks like I'll be spending my weekend prototyping this |
21:36.09 | javispedro | heh |
21:36.32 | javispedro | I'm making some QML list control that can be both scrolled and navigated with two keys |
21:36.54 | dm8tbr | the liveview has a nice notification view |
21:37.02 | ZogG_laptop | eve |
21:37.20 | dm8tbr | where you can just feed plain text plus a small logo bitmap to it |
21:37.30 | javispedro | aha |
21:37.31 | dm8tbr | the plaintext can actually be pretty long |
21:38.02 | dm8tbr | did I show you the video of the python sample code running on n950? |
21:38.04 | javispedro | you can get the list of pending/live notifications from the watchserver instance |
21:38.08 | javispedro | I think so |
21:38.23 | dm8tbr | that sounds very good |
21:39.09 | javispedro | btw on PR1.1 N950 it seems that there are charset issues with notifications |
21:39.16 | javispedro | even in the lock screen |
21:39.55 | javispedro | all non-ascii chars in my mails' subjects display as mojibake on the lockscreen |
21:40.21 | javispedro | and sometimes you can see "2 new mails<MOJIBAKE>2 mails" instead of the subject |
21:40.34 | javispedro | [sic, without line feeds] |
21:40.55 | GeneralAntilles | javispedro, the short days mess me up. |
21:41.03 | GeneralAntilles | I like having daylight in the evening. |
21:41.18 | javispedro | GeneralAntilles: oh, good point |
21:41.46 | javispedro | however, I hate heat more :) |
21:42.08 | GeneralAntilles | javispedro, I want to make a tides, sunrise/set, forecast watchlet. |
21:42.13 | GeneralAntilles | Heat doesn't bother me. |
21:42.15 | GeneralAntilles | Nor hummidity |
21:42.19 | GeneralAntilles | but that's Florida living. ;) |
21:46.09 | javispedro | fails to get Qt Creator to understand QML_IMPORT_DIR |
21:46.20 | javispedro | *_PATH |
22:04.01 | *** join/#harmattan niqt (~quassel@host97-191-dynamic.7-87-r.retail.telecomitalia.it) |
22:41.02 | ajalkane | Anyone know if I have to specify some Aegis magic to change Flight mode on N9 from application? Seems not to work at the moment even as the function returns success... |
22:51.01 | javispedro | what's the problem? |
22:51.21 | javispedro | either way, you can trigger a "Do you want to get out of Flight mode" dialog by trying to make a connection using the qt bearer/mobility api |
22:51.29 | javispedro | but that's about it |
22:52.19 | ajalkane | javispedro: basically the problem is that even as I call MeeGo::QmDeviceMode.setMode(MeeGo::QmDeviceMode::Flight), the device doesn't go to flight mode |
22:53.10 | ajalkane | Oh, qtMobility API has flight mode setting too... I have missed that. |
22:53.12 | javispedro | according to my sources (aka intuition) that requires mce::DeviceModeControl |
22:55.03 | ajalkane | javispedro: okay thanks! I'm really virgin on everything according aegis. I'll look into how I can use that. |
22:55.05 | *** join/#harmattan lardman_ (~simon@host-78-146-249-39.as13285.net) |
22:55.13 | javispedro | ajalkane: the problem is, you can't |
22:55.28 | javispedro | ajalkane: it's on the list http://wiki.meego.com/User:Javispedro/Activities_blocked_by_the_N9_and_N950_security_policy |
22:55.32 | ajalkane | Aww... shite. This is one of those forbidden things? |
22:56.16 | javispedro | yep |
22:57.20 | javispedro | also, my guess was correct: http://harmattan-dev.nokia.com/docs/library/html/qmsystem2/classMeeGo_1_1QmDeviceMode.html (setMode requires mce::DeviceModeControl) |
22:57.36 | ajalkane | fuckity-doo. |
22:57.44 | javispedro | yeah :( |
22:58.42 | ajalkane | I guess I'll dispatch tomorrow a message to Nokia's developer forum about Flight mode. Hopefully there's some Nokia engineers that could give some light to that... |
22:58.56 | *** join/#harmattan lardman (~simon@Maemo/community/contributor/lardman) |
22:58.56 | javispedro | good luck... |
22:59.17 | ajalkane | Kinda annoying to spend the evening coding flight mode stuff to be stabbed in the back by policy framework |
22:59.22 | lardman | ~lart qml |
22:59.22 | infobot | nukes qml with a single large nuke |
23:03.57 | lardman | argh, bloody delegates, I'm at my wit's end |
23:04.00 | ajalkane | Seems like there's already been some discussion on this http://www.developer.nokia.com/Community/Discussion/showthread.php?229903-Package-x-denied-mce-DeviceModeControl-origin-does-not-allow-it |
23:05.26 | ajalkane | I better go sleeping. It's the best time for it. Being bloody and beaten. Crying in my own vomit and tears. |
23:06.07 | javispedro | lardman: pfft, I'm trying to make a ListView where the items have varying heights |
23:06.24 | javispedro | lardman: and among other things ListView.contentHeight property is going crazy, its value changing depending on the selected item (!!!) |
23:06.41 | lardman | javispedro: I was trying for fixed height, but fixed to height of largest content |
23:06.56 | javispedro | (docs say it should be the sum of all the items' heights) |
23:07.06 | lardman | my opinion, is that it's not really very logical |
23:07.09 | javispedro | woah, that sounds even harder |
23:07.53 | lardman | e.g. Text items should scale to their container afaiu, but that doesn't seem to work, but then I can't actually obtain the pixel size of the contents |
23:08.15 | lardman | s/scale/wrap if wrap mode is set |
23:08.31 | javispedro | I found after some trial&error than you can do height: childrenRect.height |
23:08.47 | javispedro | so that the container of the Text element grows in height to contain all the height |
23:08.56 | javispedro | *all the Text element |
23:09.12 | lardman | yeah that doesn't work for me strangely, in portrait I see all of my listview items, but in portrait I see them all overlaid |
23:09.16 | javispedro | otherwise, it won't. It'll look like it works but in truth it's only working because for some reason QML doesn't default to clipping |
23:09.50 | lardman | ah apparently there's a clip property, according to some docs, but doesn't seem to work for me |
23:10.13 | lardman | might be clipping, /me would have to check again |
23:10.19 | lardman | either way, didn't work |
23:10.25 | javispedro | it just clips painting, does nothing regarding positioning |
23:11.18 | javispedro | I suggest you start with the delegate being directly a Text element, see if it works and move from there |
23:11.25 | lardman | tbh it's a pita, I'd prefer a graphical editor and to drag and drop the items as it's not logically consistent, or at least we don't know the rules and their precendence |
23:12.16 | lardman | my delegate is an image with a column of 3 text elements that move either below or to the side depending on the screen orientation |
23:12.24 | lardman | s/with/plus |
23:12.45 | *** join/#harmattan Sazpaimon__ (~wat@c-68-32-58-174.hsd1.nj.comcast.net) |
23:13.06 | javispedro | both ListViews and Models are a pita |
23:13.28 | javispedro | positioning has always been IMHO Qt's achillees heel |
23:14.21 | javispedro | and models are just a pain to write. Can't even believe I had to write a function that converts a QList<Something*> to a QList<QObject*> |
23:14.45 | javispedro | (by casting each element) |
23:18.37 | w00t | assuming you're talking about exposing C++ objects to QML, you wouldn't, if you'd used qmlRegisterUncreatableType |
23:18.44 | lardman | javispedro: quite |
23:19.11 | lardman | I've wasted so many hours arsing about with models and bloody qml (especially delegates) |
23:19.38 | javispedro | w00t: for a model, you can't, only recognized type is QList<QObject*>, period. |
23:19.54 | lardman | w00t: never even heard of that |
23:19.55 | javispedro | well, and QAbstractItemModel, but that'd probably be even more code |
23:20.16 | lardman | has QAbstractItemModel |
23:20.44 | lardman | not much code, works out of the box pretty much, quite good, though the docs are very sparse |
23:20.46 | w00t | I'm pretty sure that there's a better way, but I don't use QList models, so I'm not certain |
23:20.53 | w00t | take a look at http://qt.gitorious.org/qt-labs/qml-object-model/blobs/master/qobjectlistmodel.h anyway |
23:21.02 | w00t | it's easy to use, and for most cases will probably make your life pretty easy |
23:21.11 | lardman | 's problem is QML delegates |
23:21.16 | w00t | lardman: what about them? |
23:21.46 | lardman | I can't get them to work |
23:22.06 | w00t | that's.. not really the most helpful problem description ;) |
23:22.51 | lardman | http://pastebin.com/Pwr2HMSv |
23:23.08 | lardman | one gets that way after messing about with them for weeks on end after work ;) |
23:23.58 | w00t | ok, what am I looking at? |
23:24.24 | lardman | a ListView delegate |
23:25.05 | lardman | but yeah, I understand that it;s not that easy to understand a piece of code on its won |
23:25.07 | lardman | own |
23:25.15 | w00t | well, what about it, for instance |
23:28.44 | lardman | perhaps /me should accept that implementing UIs isn't his thing, and that he should just hard code the sizes and crack on with the interesting stuff (i.e. the functionality).... |
23:29.12 | w00t | I can't really just conjure a solution out of thin air from "it doesn't work" (with no symptoms or explanation as to what doesn't work) and a 153 line pastebin |
23:29.37 | lardman | of course not, I wasn't actually asking you too, just letting off steam |
23:30.14 | w00t | point being, describe the problem |
23:30.17 | lardman | there are too many deps to sort out to put up a repo quickly |
23:30.18 | w00t | I might be able to help |
23:30.51 | w00t | when I have a problem like that, I usually start cutting things down until I find something that does work |
23:31.09 | lardman | yeah I know, but I need the functionality |
23:31.13 | w00t | that either makes me find what the problem was, or gets me to a small example that demonstrates something being broken |
23:31.15 | javispedro | lardman: I built a separate project with a handwritten ListModel to test this stuff |
23:31.20 | lardman | but, yes I should cut it down to nothing, etc. |
23:31.27 | javispedro | lardman: so that it could be run from qmlviewer |
23:32.04 | lardman | that sounds like lots of extra effort and let's be realistic this is scraping the barrel as it is |
23:32.14 | lardman | babies and all |
23:32.32 | javispedro | hey, I've been with this since early past month =) |
23:32.46 | lardman | w00t: the problem, in a nut shell is this: in landscape I only see one item, in portrait I see all of them |
23:33.16 | lardman | aside from that my mouse click area thingie doens't work, but I;ve not looked into that yet |
23:33.41 | lardman | javispedro: I've been doing pretty similar stuff since Sept, the main code was almost finalised then ;) |
23:33.43 | w00t | lardman: you set no height/width on the root Item which probably won't help that |
23:33.52 | w00t | (why have you wrapped it in a Component, by the way?) |
23:34.04 | lardman | following the examples... |
23:34.16 | w00t | which? |
23:34.31 | w00t | it is necessary in some situations, but not when you're already putting it into a seperate file (and thus, component) |
23:34.35 | lardman | I'd have to search, first started this code back in Sept |
23:34.46 | lardman | ok fine, noted |
23:35.01 | javispedro | all of the examples define the delegate in a component |
23:35.12 | lardman | even if I don;t set the height/width of the root item, why does it work in one orientation and not the other |
23:35.32 | lardman | and in fact it doesn't overwrite itself, it only shows one item, I've no idea why that would happen |
23:35.48 | javispedro | it's not easy to follow that the Component { } is not necessary when it's the only element in a file or it's defined inline as delegate: property value |
23:35.56 | w00t | magical wizards? who knows |
23:36.06 | w00t | anyway, first thing I'd try would be to set a height/width |
23:36.27 | lardman | would be nice for the qml runtime to be able to print out its tree of size relations as it calculates them so I can work out what's messing things up |
23:37.12 | lardman | perhaps, but it doesn't have, afaict, a logical reason |
23:37.39 | lardman | I do actually set the height/width in the states at the bottom btw |
23:38.57 | lardman | or do you mean of the Component? |
23:39.28 | lardman | has no clue which "items" default to 0 height/width and which change to fit their content |
23:39.42 | w00t | none change to fit their content |
23:40.03 | javispedro | except Column/Row ;) |
23:40.03 | w00t | unless you explicitly set height: childrenRect.height; width: childrenRect.width |
23:40.05 | lardman | Text {} ? |
23:40.21 | w00t | Text has no content, it does have paintedHeight and paintedWIdth |
23:40.28 | lardman | ? |
23:40.28 | w00t | unless you put something in it |
23:40.44 | lardman | well exactly, but if I put sometihng in a Rectangle does that change size? |
23:40.49 | w00t | no |
23:40.57 | lardman | but Text does....? |
23:41.00 | w00t | nope |
23:41.24 | javispedro | dies |
23:41.38 | lardman | but all qml items can render beyond their width/height I've noticed? |
23:41.45 | w00t | yes |
23:41.51 | lardman | very odd |
23:41.54 | lardman | and confusing |
23:42.03 | w00t | set clip: true if you don't want it to happen |
23:42.13 | javispedro | w00t: do you mean Text does not change its height even if you set text to something? or that it does not change its height if you add other children to it? |
23:42.15 | w00t | it's off by default for performance reasons |
23:42.24 | lardman | sure, I read about that yesterday, but that's pretty late in the day |
23:42.48 | lardman | +1 to javispedro's question |
23:42.50 | w00t | javispedro: Text will have an implicitHeight/mplicitWidth, but unless you *set* a height/width, it won't have one of its own |
23:42.53 | lardman | what does Text actually do then? |
23:43.05 | lardman | oh dear |
23:43.18 | lardman | so how can one obtain the height/width that will contain some text? |
23:43.25 | w00t | paintedWidth/paintedHeight |
23:43.37 | w00t | (will be the exact area it needs) |
23:43.47 | w00t | implicitHeight/Width are probably also useful |
23:43.57 | w00t | this, btw, is actually how clipping works |
23:44.18 | w00t | sorry |
23:44.20 | w00t | eliding, not clipping |
23:44.26 | w00t | you set the size smaller than the size it requires |
23:45.16 | lardman | so how come I can attach e.g. 3 Text items top to bottom and they don't overwrite one another? I've not set heights, so presumably that should be the outcome...? |
23:45.54 | w00t | implicitHeight |
23:46.04 | lardman | but that makes no sense |
23:46.08 | w00t | http://doc.qt.nokia.com/4.7-snapshot/qml-item.html#implicitWidth-prop |
23:46.11 | w00t | it does |
23:46.19 | w00t | implicitHeight/Width is the size that text *needs* to take |
23:46.22 | lardman | I understand that it works |
23:46.24 | w00t | size is the size you *set* it to take |
23:46.32 | w00t | a Rectangle does not *need* to take any room |
23:46.39 | lardman | just that if you don;t alter the height/width of the item, what use are they? |
23:46.51 | w00t | if it has an implicitHeight/Width, it'll use those (as it says) |
23:47.08 | lardman | so why does Rectangle not support that functionality> |
23:47.09 | lardman | ? |
23:47.19 | w00t | because a rectangle, as I just explained, doesn't need to take any room |
23:47.35 | lardman | we're talking about content though aren't we? |
23:47.45 | w00t | not necessarily |
23:47.57 | w00t | rectangles don't need to have contents |
23:48.07 | lardman | surely a rectangle containing a Text should have an implicit* set to contain whatever the Text needs |
23:48.08 | w00t | and also, calculating the size of the contents of something is not exactly straightforward |
23:48.10 | lardman | by rights.... |
23:48.40 | lardman | I understand it's not straight forward, but nor are the docs regarding these things imo |
23:48.52 | javispedro | also thinks it is counterintuitive |
23:49.00 | javispedro | but hey, I already found that happens to Rectangle a few days ago.. |
23:49.07 | javispedro | (thus width: childrenRect.width) |
23:49.15 | w00t | javispedro: yeah, I mentioned that a (lot) earlier |
23:49.51 | lardman | yeah I knew it happened to a Rectangle but jnust assumed that Text was different and set its height/width, but I was wrong about the property names |
23:50.09 | w00t | lardman: it makes sense when you stop thinking of QML as being a system for layouts, because that's not what it does |
23:50.11 | lardman | that isn't afair explained anywhere in the docs |
23:50.28 | lardman | w00t: what does it do then? |
23:50.37 | javispedro | render particles! |
23:50.48 | w00t | it gives you a scene, and lets you position and anchor stuff wherever you want |
23:50.54 | lardman | my particles are Text shaped! |
23:50.58 | w00t | this is both a strength and a weakness |
23:51.13 | lardman | sees scene and it washes over him |
23:51.34 | w00t | a strength, because it's a lot faster, proper layouts are hard (and slow), and a weakness because it means a bit more thinking about how to do things |
23:51.51 | w00t | anyway, a good rule of thumb is that you should probably always set anchors/sizes unless you're very sure you don't need them |
23:51.58 | w00t | anchors.fill: parent is your friend for simple cases |
23:52.22 | lardman | hopes that thjs stuff will be added to the intro |
23:52.37 | lardman | w00t: that breaks delegates though I think |
23:52.49 | lardman | and setting fixed height/width is nasty |
23:52.54 | w00t | btw, a useful debugging trick related to size problems: Item { id: iWantToFindTheSizeOfThis; Rectangle { color: "red"; anchors.fill: parent; } } |
23:52.57 | w00t | it doesn't |
23:53.06 | w00t | and note that I said anchors/sizes, implying, one or the other |
23:53.11 | lardman | sure |
23:53.16 | w00t | (or both, if you need them) |
23:53.28 | lardman | I did try to use anchors only, but no no avail |
23:53.46 | lardman | coloured squares work to an extent, but when they are simply not shown it's hard to know why |
23:53.56 | lardman | again some output from the qml runtime would be a Godsend |
23:54.24 | w00t | if it's not shown, either something is obscuring it, you forgot a height/width, your positioning of that item is wrong, or you set it invisible somewhere |
23:54.25 | javispedro | I had a button that when pressed would output x,y,w,h |
23:54.30 | javispedro | via console.log |
23:54.35 | w00t | (opacity: 0, visible: false, one or the other or both) |
23:54.38 | javispedro | pain to write too, but helped. |
23:54.42 | lardman | w00t: indeed, but it would be nice to know which in particular |
23:55.11 | lardman | if qml simply output a list of objects and their x,y,width,height that would help |
23:55.13 | lardman | plus anchors |
23:55.24 | w00t | javispedro: Rectangle { MouseArea { anchors.fill: parent; onClicked: console.log("x y w h" parent.x ...); } } was hard? |
23:56.13 | w00t | (substitute parent with any id, if you want to get information about something else for a more general button) |
23:56.35 | w00t | one thing I do wish that was easily possible is getting an item by id, though that's tricky due to multiple instantiations of the same component |
23:56.48 | w00t | (though I suppose getting a list of those would be ok) |
23:57.03 | lardman | w00t: can be done from C++ afaiu |
23:57.15 | w00t | it sort of can, using objectName |
23:57.32 | w00t | unless there's a trick I don't know about |
23:57.45 | lardman | throws away his delegate and goes back to a single coloured square, great.... |
23:58.00 | lardman | on second thoughts, enough for the week |
23:58.08 | w00t | lardman: I honestly don't mind if you pester me with questions, btw |
23:58.13 | javispedro | w00t: for a few objects |
23:58.23 | *** join/#harmattan vladest (~Vlad@207-161-133-95.pool.ukrtel.net) |
23:58.36 | lardman | thanks w00t, not you, just taking so long to debug this qml is rather disheartening |
23:58.42 | w00t | I'm not always around, but usually am, european day/nighttimes, so if you need to bounce an idea off someone, just ask |
23:58.49 | javispedro | including some that were spawned by the listview element |
23:58.49 | lardman | cheers |
23:58.54 | w00t | javispedro: yes |
23:59.11 | lardman | anyway really must his the sack, night w00t javispedro |
23:59.17 | lardman | s/his/hit |
23:59.18 | javispedro | cya lardman |
23:59.20 | lardman | see what i mean |
23:59.22 | lardman | ;) |
23:59.25 | w00t | that's why I mentioned the getElementById thing - it would be handy for those sort of cases |
23:59.39 | javispedro | ah, indeed. |
23:59.42 | w00t | TextArea { ... }, enter text, press button, get info |