[03:31] I feel like my deploy is taking longer than ever ... [03:35] making me think something in version change is effecting my node-app revision, crossing fingers [05:50] Good Morning all :) [06:01] good morning mihir_ :) [06:01] good morning all [06:08] dpm: I had discussion with boiko yesterday regarding this MR https://code.launchpad.net/~mihirsoni-123/ubuntu-calculator-app/1210873/+merge/179684 [06:08] Do you have few mins to talk ? [06:09] mihir_, sure [06:21] dpm: it's valid bug or not first of all , and how should it behave in our case [06:22] mihir_, it's a valid bug. Just a small detail: you're referring to operands where it should be operators. I.e. in "5 + 3" the operator is "+" and the operands are 5 and 3 [06:27] mihir_, I've updated the bug description to make it clearer, but it's indeed a valid bug, well spotted! [06:27] bug 1210873 [06:27] Launchpad bug 1210873 in Ubuntu Calculator App "Need to enter an operand before using an operator" [Undecided,Confirmed] https://launchpad.net/bugs/1210873 [06:30] dpm: Got it :) [06:31] And also I have pushed the MR :) If you try to look at it :) [06:32] mihir_, the branch looks ok to me. Approved, good work! :) [06:33] dpm: Thank you :) [06:36] dpm: we won't get edge if this campigne don't get succeed :( [06:36] I mean edge in the marke [06:36] market* [06:38] mihir_, yeah, although, in a way, the campaign has already been a huge success: we've broken several crowdfunding records and the interest in Ubuntu has been huge! [06:39] mihir_, as the next bug to squash, would you be interested in working on bug 1211262 ? [06:39] Launchpad bug 1211262 in Ubuntu Calculator App "[Calculator app] Show '0' on a blank calculation" [Medium,Triaged] https://launchpad.net/bugs/1211262 [06:43] dpm: that I understood , but as far as I read that , it says if they didn't success in campigne there won't be edge in world :( [06:43] dpm: Looking into bug [06:43] dpm: I am trying for that bug only. [06:45] mihir_, yeah, that's the case unfortunately, but we're well on our way to break the next crowdfunding record. Thanks for looking at the bug! [06:45] Really nice to see we're squashing all those bugs one by one [07:09] good morning [07:26] morning dholbach [07:26] hey dpm === randomcpp is now known as randomgc === randomgc is now known as randomcpp === dholbach_ is now known as dholbach [08:50] how do I include u1db in a js source file? [08:52] oSoMoN: can you review https://code.launchpad.net/~schwann/gallery-app/gallery-cmake-cleanup/+merge/180049 [08:53] gusch: sure [08:58] Good morning all, happy Soyuz TM-25 landing day! [09:01] gusch: commented [09:02] oSoMoN: I'll check that === seb128_ is now known as seb128 [09:07] does anyone know if it's possible to use c++qt classes with js? [09:09] randomcpp: you can expose C++ classes to QML if you write a plugin [09:09] randomcpp: see http://qt-project.org/doc/qt-5.0/qtqml/qtqml-modules-cppplugins.html [09:11] oSoMoN, are u1db classes already exposed? [09:12] I mean I must put all u1db types in the qml source or I can use them from js? [09:13] zsombi, thanks a lot for triaging and assigning bug 1209403 :) [09:13] Launchpad bug 1209403 in Ubuntu UI Toolkit "Tab header collides with pagestack header while using background gradients in mainview" [High,Confirmed] https://launchpad.net/bugs/1209403 [09:13] kalikiana, here's a question for you regarding using U1DB in JS ^^ [09:13] dpm welcome :) [09:15] randomcpp: there is already a u1db QML plugin, you can use it directly from there [09:16] randomcpp: libu1db-qt5-examples [09:16] there's a number of examples in qml [09:17] kalikiana: is http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/u1db-qt5/tutorial.html up-to-date? just found it by googling for doc [09:17] in fact it's mainly optimized for qml - it's just by accident that it works in c++ :-P [09:17] kalikiana, ah ok thank you :) [09:18] oSoMoN: yes. it is just unfortunately hard to find, but I hear dpm may be improving that :-D [09:18] dpm: MR for today : https://code.launchpad.net/~mihirsoni-123/ubuntu-calculator-app/1211262/+merge/180071 [09:18] dpm: you there ? [09:18] kalikiana, you hear well, but it might take a few days :) [09:19] btw if anyone is interested, u1db remote sync API is landing as we speak [09:19] consider that a teaser [09:19] \o/ [09:19] mihir_, wow, that was quick, you rock! [09:19] * dpm looks at MR [09:20] great :) will it be available in the sdk ppa? [09:20] yep [09:23] dpm: I just tried to use existing var's instead of creating new one :) [09:24] dpm: I would suggest to rename PencilVisible to FirstCalculation or NewCalculation..what do you ? [09:25] WebbyIT: Hi, good Morning :) [09:25] mihir_, approved, nice work! I think changing it to NewCalculation makes sense, but I would double-check with WebbyIT, as IIRC, he introduced the variable [09:25] yeah WebbyIT created that var i rem his MR. [09:26] mihir_, would you fancy working on bug 1207687 or bug 1188292 next? [09:26] Launchpad bug 1207687 in Ubuntu Calculator App "First swipe up (and down) doesn't work" [High,Triaged] https://launchpad.net/bugs/1207687 [09:26] Launchpad bug 1188292 in Ubuntu Calculator App "Saved calculations are lost when the app is closed" [High,Triaged] https://launchpad.net/bugs/1188292 [09:26] You might need a device to reproduce those bugs, though [09:26] hi mihir_ , hi dpm, yes, I think that NewCalculation can be a good name, pencil is not visible if is a new calc :) [09:26] I don't have device ( [09:27] Hmm WebbyIT shall I merge with my MR...would it be okay ? [09:27] mihir_, yes, sure [09:28] WebbyIT: can i push it again ? [09:28] dpm: bug 1207687 i looked into this issue , but I felt the problem is with Listview or SDK project i debugged more than 3-4 hours [09:28] Launchpad bug 1207687 in Ubuntu Calculator App "First swipe up (and down) doesn't work" [High,Triaged] https://launchpad.net/bugs/1207687 [09:29] mihir_, mark as need fixing and push again [09:30] zsombi, kalikiana or bzoltan, do you know what the issue with bug 1207687 on the calculator app might be? A couple of folks have pointed out it might be an issue with swiping on the SDK, but I don't really have an idea what it might be? [09:30] Launchpad bug 1207687 in Ubuntu Calculator App "First swipe up (and down) doesn't work" [High,Triaged] https://launchpad.net/bugs/1207687 [09:31] dpm, on bug 1203090 I'm waiting boiko that has to speak with SDK team, and on bug 1210082 I want to wait Ferrazzo's fixing, because he has to rewrite a lot of function in formula.js [09:31] Launchpad bug 1203090 in Ubuntu Calculator App "[Calculator app] Tapping on numbers should exit label edit" [High,In progress] https://launchpad.net/bugs/1203090 [09:31] Launchpad bug 1210082 in Ubuntu Calculator App "Change of sign operation only works from the second operand onwards" [Low,In progress] https://launchpad.net/bugs/1210082 [09:32] WebbyIT, cool, thanks a lot for the update [09:33] dpm, about bug 1198842, can we hide the keyboard? [09:33] Launchpad bug 1198842 in Ubuntu Calculator App "[Calculator app] Keyboard partly overlaps keypad instead of covering it" [High,Triaged] https://launchpad.net/bugs/1198842 [09:34] WebbyIT: Your device works with Ubuntu touch ??? [09:34] mihir_, no :( [09:34] mihir_, I think for bug 1188292 you might be able to reproduce the behaviour on the desktop by issuing SIGKILL (see Nick Skagg's comment). Would you be interested on working on this one or any of the other open bugs that are not yet assigned? [09:34] Launchpad bug 1188292 in Ubuntu Calculator App "Saved calculations are lost when the app is closed" [High,Triaged] https://launchpad.net/bugs/1188292 [09:35] dpm: let me look at all open bugs :) [09:35] awesome :) [09:35] mihir_, I spent saturday night to trying to do a porting, but without success... I'll wait someone on XDA [09:35] dpm: Could you please approve my MR i renamed the variable name [09:35] WebbyIT: Okay..I want to order my Nexus [09:36] WebbyIT, I'm not sure I understand the question, what do you mean with "can we hide the keyboard"? Whether we can do it manually or whether it is hidden for us when the focus is lost? [09:36] WebbyIT, tmoenicke_ is the expert on the touch keyboard, he should be able to help with any questions [09:37] dpm, When you edit a label you don't need calcKeyboard, so we can check if there is labelFocus and then hide the calcKeyboard [09:37] dpm, ok, thanks [09:37] dpm: that MR merged without new changes..what shall I do now ? [09:38] mihir_, yeah, Jenkins was exceptionally quicker than us today and already merged it in :/ - no worries, just send a new MR with the variable name change [09:39] mihir_, change property var pencilVisible in property bool pencilVisible [09:39] mihir_, more performance :) [09:39] WebbyIT: I didi it :) [09:39] mihir_, great :D [09:39] dpm: I can't push in same branch ? [09:40] WebbyIT: also modified other places you used the same variable :) [09:40] mihir_, great work :D [09:40] mihir_, I would have thought so, but it seems LP did not update the diff: https://code.launchpad.net/~mihirsoni-123/ubuntu-calculator-app/1211262/+merge/180071 [09:40] dpm: anyways will push new MR :) [09:41] ok, cool [09:43] dpm: could you approve this MR please ? https://code.launchpad.net/~mihirsoni-123/ubuntu-calculator-app/1211262-changedVarName/+merge/180075 [09:43] * dpm looks [09:44] mihir_, could you make the description of the merge proposal a bit more detailed? E.g. explaining why the change was necessary? [09:44] dpm: Sure updating :) [09:45] dpm: done :) [09:47] mihir_, thanks. I added a comment to the MR, it's just a nitpick, but if you could fix it, that'd be great [09:47] dpm: sure I would [09:48] dpm: I am trying add comments so that ohter can understand properly. [09:48] that's great [09:49] dpm: pushed :) [09:50] mihir_, and approved, thanks! [09:51] dpm: Thank you :) [09:51] WebbyIT, mihir_, you guys are really rocking it. Not counting wishlist, fix committed and incomplete bugs, we've only got 7 bugs to go to finish the app! \o/ [09:53] dpm: Thanks a lot for your support :) [09:57] oSoMoN: I pushed an update, and jenkins should be done with it soon ... [09:57] nik90, my post still doesn't show up in the reddit feed :/ anyway, I think today or 16th august I'll write a blog post === gusch is now known as gusch|lunch [09:59] randomcpp, I assume you mean the ubuntuappshowdown reddit? Let me see if it's on the moderation queue [09:59] dpm yes! [10:00] gusch|lunch: seen that, I’m waiting for jenkins to approve [10:01] randomcpp, for some reason there were a few posts in the moderation queue, which I just approved. Could you refresh the http://www.reddit.com/r/ubuntuappshowdown/ page and check if your post is there? [10:02] oh finally :), thank you so much dpm [10:02] that's SaucyBacon my app [10:03] nice :) [10:07] is there anything like a gtkcombobox in qml? [10:07] dpm: 1188292 I am trying this but not able to reproduce :( [10:07] or anything that behaves in that way [10:07] i did run from my konsole and killed the process too [10:10] randomcpp, you might want to run the gallery app to see all the available SDK controls [10:11] mihir_, perhaps a workaround was added already and calculations are saved every time the equal is pressed? You might want to have a look at the code to see if someone already did that and the bug can be closed [10:20] dpm: I guess now it's storing on Component.onDestruction [10:20] that's Listview would you mind to test it once on your device? [10:21] mihir_, yeah, I'm finally updating my device now, but it might take a bit. I'm on a slow connection still for a few days, and I don't have much dowload bandwidth [10:22] dpm: gotcha..no issues :) [10:22] if anybody else can do a favor for us that would be greta [10:22] great* [10:28] randomcpp, i finally see your post on reddit :) congratulations~ [10:29] WebbyIT: are you done with this or working 179672 ?? [10:29] Cantide, it was in the moderation queue :) [10:29] :) [10:30] yeah, if anyone can't see their posts in reddit for some reason, please ping me or jono, as they might be stuck in the moderation queue [10:30] (for the appshowdown subreddit) [10:30] i didn't know there was such a thing :) [10:30] haha, good save :) [10:31] yeah, it's to prevent spam, but I don't know why 4 or 5 non-spam posts landed there recently [10:31] I need this -> http://design.ubuntu.com/wp-content/uploads/combo_button.png :/ [10:31] oh, that's handy, randomcpp :o [10:37] gusch|lunch: ap tests failed for your MR, but that looks unrelated to the changes, I’ll let you request a re-run [10:49] randomcpp: Can't you get a similar functionality using the ValueSelect component? [10:50] ValueSelector? [10:52] xqwzts, I don't think I can use valueselector outside a List { } [10:53] I'm using it in a Popover [10:54] I don't think popups inherit from list [10:54] so it might be doable === MacSlow is now known as MacSlow|lunch [11:09] where can I find more Flickable examples? === gusch|lunch is now known as gusch [11:20] I don't know if I've hit a bug or I'm just building things wrong, but I'm having a problem with my titles overlapping when I push a new page to a PageStack [11:20] if anyone has the time to take a look I'd appreciate the help [11:44] does anyone know how to automatically resize a Flickable item? [11:48] not sure... [11:48] but i'm using this: [11:49] Flickable { clip: true; width: parent.width; height: parent.height; contentWidth: map.width; contentHeight: map.height [11:49] where "map" is the image i'm loading [11:49] don't know if that helps at all :S [11:53] slight follow-up on above: it seems the theming is a bit broken [?] [11:58] xqwzts: are you using a background gradient when you have the overlapping titles? [11:58] timp: yes [11:59] xqwzts: ok. That's a bug I'm working on now to fix. https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1209403 [11:59] Launchpad bug 1209403 in Ubuntu UI Toolkit "Tab header collides with pagestack header while using background gradients in mainview" [High,In progress] [11:59] great! [11:59] yup that's exactly it [12:00] there's another themeing related issue btw, the auto-selected font color [12:00] with my gradient the theme decides my font should be white, which means toolbar/popover text is not visible [12:01] could you point out where the source for Theme is? [if that's the right place to look] [12:01] I could try and tinker a bit === MacSlow|lunch is now known as MacSlow [12:08] timp: I was able to provide you with sample code this time :) [12:09] * nik90 is available the entire day to help today [12:09] Hi xqwzts_ [12:09] hey nik90 :) [12:09] bobweaver: hi :) [12:09] nik90, you ever use bitrock ? [12:09] Hey nik90 === xqwzts_ is now known as xqwzts [12:09] bobweaver: no what is it? [12:10] nik90, it is a cross platform installer with a gui [12:11] it is super easy to use and makes packaging of any app for any distro and any OS easy and makes me want to eat pie (I only eat pie when happy :) ) [12:12] nik90, it is what QtCreator uses to install there stuff on endusers machine [12:12] wow that's cool [12:13] yeah it is I just got a free license from them because my stuff is lgpl and gpl and well open/free software. else it is like 1000 usd for it [12:13] but there is a eval version also [12:14] nik90, I am uploading a video of it and will pass to you when done. Hows school ? good I hope. [12:15] bobweaver: good. Busy with internship. But trying to squeeze time to help with app showdown :) [12:15] bobweaver: but today I am off. So doing some stuff before tomorrow :P [12:15] Oh yeah I forgot that that was going on. you got a app for it ? [12:16] nik90, could you interen for canonical ? [12:16] and get credits ? [12:16] bobweaver: I am one of the judges, so cannot enter the competition myself. [12:17] I know that fsf has a program like that [12:17] bobweaver: that said this is still something I do in my free time, I am happy the way it is. [12:17] fsf? [12:17] bobweaver: intern for canonical wouldnt help since my study is aerospace engineering. [12:18] bobweaver: If I was a computer science student, it would be my dream job [12:18] .... I guess not. I am glad that you are happy bob likes to see people happy [12:18] :) [12:18] nik90, know anything about replacing screens ? [12:18] like for a n4 ? [12:19] bobweaver: ooh no idea. Never had a cracked screen until now.so no experience with that [12:19] I have a extra that is just sitting around that has a cracked screen. that I would sell for like 50 usd .... but for you .... free [12:20] screens for it are like 100 usd it is crazy [12:20] ah [12:20] * bobweaver has the white one what was out for a month [12:21] sucks that I am not getting my 2 phones that I was hopping for though. oh well I will use the money in other places [12:21] edge ^^ [12:21] edge ^^ [12:21] yeah I gave the money for the 2 phones [12:22] double edge [12:22] like a razor :) [12:22] wait dang double un-Aundrea's [12:23] double entendre* [12:32] Cantide, thanks but I have inside the flickable a column that changes its height dynamically and calling flickable.contentHeight = .. causes a "binding loop" [12:33] randomcpp, make a function for it ? [12:34] if (this === whatever) return this else return foo that is what I do for images that are not loading when url is not there. in some of my apps. you know to get around the "binding loop" [12:34] I'll try again thanks [12:37] randomcpp, I would use QtQuick.Window and use the Screen.width to make my checks and resize that why with a function and call that function in contentWidth: property [12:37] randomcpp, oh :( then i don't know :( [12:39] either that or make a c++ plugin that knows the size of everything and can tell if app is for android x or whatever maybe use Qt.platform also so resizing in different formfactors is easy. could be read across dbus (or something like that):) [12:41] randomcpp, here is a video that I made about QScreen Class and using it in qml. http://www.youtube.com/watch?v=38w0XWHuFcA [12:42] thanks :) [12:45] np have a good one :) [13:07] dpm: Let me know once you are done with the testing that bug on device :) [13:08] dpm: will be back online after few hours :) [13:09] thanks mihir_! === boiko_ is now known as boiko === _salem is now known as salem_ [13:11] dpm: mihir_ hello [13:12] boiko: Hi, Good Morning :) [13:12] morning :) [13:12] boiko: How are you ? [13:13] mihir_: good, thanks, and you? [13:13] boiko: doing great :) will leave from office to home in half an hour :) [13:13] mihir_: nice! I am just starting my day here :) [13:14] boiko: good :) [13:17] mihir_: dpm: so, the fix for having a zero by default, I think we could have used that to get also a proper fix for the operation before digit bug [13:18] such that inputing "*3" would mean "0*3", this would be a more clear behavior IMO [13:19] but now we got the two separate fixes merged already [13:22] om26er: ping [13:22] gusch, pong [13:22] * om26er guesses its about the failures [13:22] om26er: yep [13:22] om26er: I have quite some trouble to detect when dialogs, popups etc are finished in showing up [13:22] gusch, I think the situation is good now [13:23] ah, different problem :) [13:23] gusch, I think we can use opacity ? [13:23] om26er: so far we tested the opacity [13:23] om26er: but it seems the implementation changed [13:24] om26er: and it's not the dialog/popup to be animated anymore, but the content/internal [13:24] om26er: and I don't know how to detect that [13:24] gusch, can't we rely on visible ? [13:24] om26er: I'm close to simply add sleeps there [13:25] gusch, I can look at that, maybe if I come from a different angle we may find a better way around this [13:25] om26er: I'd say no - as visible is set true at the beginning of the animation [13:25] om26er: https://code.launchpad.net/~schwann/gallery-app/gallery-atests-edit-popover/+merge/180063 [13:25] could you set the x value to be off screen ? [13:26] and also the opacity to be 0 [13:26] then OnLoaded change them things. So that there is no troubles with Mouse area also [13:27] boiko, makes sense. It might be worth filing a bug for it and we can perhaps take care of it in a later iteration? [13:27] gusch, I don't see anything particularly bad there? [13:27] gusch, in the first run mako had some issue, and in the second try the armhf build failed [13:28] not the armhf build rather the build that was supposed to be used by test runner [13:28] om26er: that's the branch, where I try to fix the issues [13:28] om26er: the last delete failure is here https://code.launchpad.net/~schwann/gallery-app/gallery-cmake-cleanup/+merge/180049 [13:29] i though I fixed that, hmm [13:31] om26er: I'm really annoyed by that - and as I said - willing to fix it by using sleep ... [13:31] dpm: yes, I was going to do that with mihir_ today, but now it is too late :) [13:32] its actually the fault of the environment its run in, tests should run on real machines [13:32] gusch, let me try to look before we go with sleep [13:32] om26er: that's why I pinged you - my last hope ;) [13:38] om26er: in the uitk, click object like "self.pointing_device.click_object(button)" is used - maybe we should sitch to use that more often in our tests [13:39] om26er: by the other hand - by oving the mouse, we buy some time, and that's why some tests (usually) work [13:39] gusch, yes, I see the mouse reaches that point without traveling, it just disappears and reaches the buttons [13:39] dpm: boiko you mean to say just have 0*3 would be acceptable right ? [13:40] mihir_: yep, like any regular calculator would do [13:40] om26er: more like touch, then mouse ;) [13:41] gusch, the scenarios thing that we did was specifically that it should auto detect the environment its on, so the touch emulators are probably not doing that [13:41] om26er: but in the uitk, they don't test at all, if the popover is visible or not [13:41] gusch, they don't even tests if the toolbar really revealed (from last I saw) [13:41] *test [13:42] om26er: meanwhile it does - I added that [13:42] om26er: that was needed for gallery to use the UITK emulators (for the toolbar and tabs) [13:42] right [13:47] om26er: any idea what to do? [13:48] gusch, I just looked, it seems opacity should be working, when the delete button was clicked and the dialog didn't fully appear the opacity was 0.5775 [13:48] on my desktop [13:49] om26er: but there is an opacity test, isn't it? let me check [13:50] gusch, yeah, we could assert that just after line 73 in test_photo_viewer.py [13:50] om26er: yes there is - I'm confused ... [13:52] om26er: the check is done in line 61 already [13:53] gusch, right, sorry about that. One thing that will help is we make sure the dialog disappeared fully [13:54] om26er: ah - good idea [13:54] om26er, send it off screen [13:55] om26er: but it's done alreay in line 79 [13:55] or kill the element [13:55] gusch, what about testing the opacity of the 'yes' button ? [13:55] I think that will only be 1 when the dialog is fully created [13:56] om26er: the button's opacity won't be changed - it's the whole dialogs opacity that is changed [13:56] om26er: I can add a check for the delete dialog to be gone, after clicking the "delete" button ... [13:57] gusch, yeah should help a bit [14:00] the sdk should provide a .animating property for the dialog [14:01] om26er: yep, or "opened" like the toolbar [14:02] hi guys...where are Friends APIs? [14:03] I mean the documentation of course xD [14:07] mefrio, you an run a qhp and and make a qhc file out of it for docs [14:08] if there is html that is kenvandine ^^ [14:08] bobweaver, let's hope kenvandine has something for me :D [14:08] I made a branch :) [14:09] mefrio, https://code.launchpad.net/~josephjamesmills/qml-friends/QTCreator_Doc_Support [14:09] om26er: I added some more stuff there https://code.launchpad.net/~schwann/gallery-app/gallery-atests-edit-popover/+merge/180063 [14:10] has not been updateed in a while and does not install have to do manual :( [14:10] bobweaver, thank you :) [14:10] om26er: let's see if that helps - you can review anyway ... [14:10] gusch, ack [14:12] mefrio, that makes it so the docs are in qtcreator's help section. [14:12] mefrio, http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/friends/qmlmodule-friends0-friends-0-1.html [14:13] bobweaver, i really need to review that :) [14:13] i've barely touched friends all cycle... [14:13] kenvandine, I really need to update it :P [14:14] kenvandine, I have been super happy nd busy making a sdk kit for Mythtv [14:14] and * [14:14] kenvandine, thank you :D [14:14] mefrio, np [14:14] * bobweaver thinks if he drinks enough coffee he could change the world with code :) [14:16] I tried to port Ubuntu TV to the unity 8 but it is so hard to test everytime that I restart the service for the phone it flippin restarts mine and then restarts the OG one causing it to lap over it ad if I do not use service then no wifi and what not [14:17] Using Qscreen class to look at screen size and make it change formfactors (also cables (hdmi vga ect)) [14:17] via qdus [14:17] qdbus * [14:23] creating an U1 database is a bit slow....is it a normal behavior? [14:28] boiko, do you have any ideas of what might be causing bug 1207687 ? [14:28] Launchpad bug 1207687 in Ubuntu Calculator App "First swipe up (and down) doesn't work" [High,Triaged] https://launchpad.net/bugs/1207687 [14:29] dpm: no idea, I would need to investigate it more, but I remember this swiping thing was tricky because we have a flickabe inside another one [14:29] aha [14:30] dpm: or something like that, I don't remember exactly what it is, but we have this to allow swiping up to start a new calculation and swipe down to show previous calculations [14:30] dpm: but I think we might be able to use a trick similar to the one used by the UITK header [14:31] dpm: I will try to look at that in the afternoon [14:37] is there any reason to use QtQuick.LocalStorage [like the calendar app does] over U1db? [14:38] also: is there any core app currently using U1db? [14:40] xqwzts, I have not used u1db plugin but I bet that using xhttprequest would also work fine-and-dandy for Ubuuntu 1 [14:40] xqwzts: the only reason that I can think of is that the initial designs did not include sharing settings with other devices [14:40] xqwzts: that said it shouldnt be that difficult to make the transistion [14:40] zsombi: did you ping me yesterday? [14:41] bobweaver: U1db-Qt looks like it offers a nice document model interface for both local and remote storage - prefferable to writing the requests and handling the data myself [14:42] nik90: is u1db actually used by any app atm? I'd like to look through some source [more than just the examples] to get a feel for it. [14:42] nik90: yes, I have the Alarms API MR proposal for you to check [14:42] This is what you are talking about ? https://github.com/gorthauer/ubuntu-one-qml/tree/master/client/qml/desktop Or is there a Lib somewhere ? [14:43] nik90: https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarms-api/+merge/179906 [14:43] bobweaver: http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/u1db-qt5/overview.html and https://code.launchpad.net/~uonedb-qt/u1db-qt/trunk [14:43] zsombi: I had a brief look at the examples you listed in the MR. Will have a closer look now. [14:44] xqwzts: cannot think of any of the top of my head [14:44] alrighty [14:44] thanks [14:44] zsombi: although is the platform api ready to support your MR? [14:44] nik90: thx [14:45] nik90: nope :( [14:46] zsombi: okay. We can find the person responsible once your API lands in the sdk :) [14:46] nik90: but this API will be the stable one from your side, the adaptation may change if we see its need [14:46] nik90: the platform side is done by renato, he is working on that now. when he is ready, I'll integrate his work in mine [14:47] nik90: but till then your alarm work can be unblocked by this MR [14:47] xqwzts, cool stuff I see that there is a bunch of functions like putIndex getIndex ect cool stuff [14:48] zsombi: ooh awesome. I know renato..so can check in later with him. Okay I will work towards integrating your api on my side. [14:48] xqwzts, all these plugins look cool and so do there functions that are Involked http://bazaar.launchpad.net/~uonedb-qt/u1db-qt/trunk/view/head:/modules/U1db/plugin.cpp [14:50] yup it looks interesting, haven't gone through the plugins yet [14:50] will try to use it as my app's db [14:53] xqwzts, yeah the synchronizer looks real cool === randomcpp is now known as randomcpp|afk [15:02] om26er: I pushed one more update [15:09] gusch, looks good, but would have been better if we just had something like assert_activity_spinner_not_running() [15:09] dpm, hi, just to tell you about it, i've been working these days in these 2 apps: http://youtu.be/uYjG8Iq1cD0 - http://youtu.be/65vvhFt57DU - http://youtu.be/F-_Hsl1Ts14 [15:21] om26er: agreed - I pushed another update [15:23] cool, will wait for the CI job to post results before approving [15:31] mhall119 / dpm / nik90 would it be worth pinging the developers of the apps on https://wiki.ubuntu.com/Touch/Collection and point them at the app showdown, with a view to them appearing on https://wiki.ubuntu.com/Touch/AppShowdownList ? [15:32] popey, yeah, but we should make sure they enter new apps, as the contest rules state that the app must have not started before the contest announcement (unless it's a ported app) [15:32] oh yeah [15:34] yeah otherwise it would be an unfair advantage to those who are just starting [15:34] popey: but yes we could do that. I am on it :) [15:42] can a button have an icon instead of text? [15:43] i think the core app developers' skills are much much better than mine ( considering i've only seen QML for the first time a few days ago) [15:44] Cantide: we all started just like you (only a few months back) :) [15:44] hehe [15:44] well, my app is making progress :) [15:44] after just 2 days haha [15:44] Cantide: but yes, you can have an icon only button [15:44] okay :) [15:44] thanks :) [15:44] Cantide, some of the core app developers were new to this too, and they've got incredibly far along. [15:45] oh, wow :) [15:45] i tried to edit the tabbed app template but it breaks when i try to rename the tabs and their files T-T [16:01] jvrbanac: I'm going to have to skip the API website call today, dr's appointment [16:02] mhall119, thats cool. I've been burning the candle at both ends, so I haven't been able to do much anyhow. [16:22] is anyone practical of JSON.stringify? I have a JSON like { "something": "value1", "smth2": "value2", ... } I want the output to be: "something", "smth2", .. [16:22] is it possible? [16:22] om26er: I see no reason, why the spinner tests fail for mako and maguro - do you? [16:22] randomcpp|afk: you want just the keys? === xqwzts_ is now known as xqwzts [16:23] yep xqwzts [16:23] om26er: are the tests on the devicec maybe using an older package of gallery-app? [16:25] in js I believe you can do Object.keys(yourjsonobj) [16:25] would that work here? [16:36] gusch, sorry, was away. looking [16:38] gusch, + spinner = self.app.select_single("ActivityIndicator", objectName="busySpinner") [16:39] try select_single_retry() [16:39] line 108 on the MR [16:39] om26er: it's always present [16:39] it's not loaded, and included with the MediaViewer [16:46] gusch, the test ran fine for me, the latest source package was not installed, only -autopilot due to some reason [16:47] investigating [16:47] om26er: that would explain it [16:48] has anyone successfully created a U1db database? [16:48] it took a really long time to figure out there was a missing package [16:48] and now it still complains about "unkown component" [16:48] unknown* [16:50] om26er: pushed a workaround - let's see ... [16:52] xqwzts, btw that worked thank you :) [16:54] np [16:55] xqwzts, what is the componet that it don't like ? [16:55] is it sql ? [16:55] U1db.Database or U1db.Document [16:56] basically anything in U1db [16:56] so on the import and not a element ? [16:56] right [16:56] the import itself isn't complaining, but it doesn't seem right since as soon as I try to create an object with it.... [16:56] is it there in the /usr/lib/[i386,64]/qt5/qml/ ? [16:57] or where ever your qt is installed [16:57] under the gcc or is this armel ? [16:58] or did it install it to a different place like imports dir [17:00] /usr/lib/x86_64-linux-gnu/qt5/qml/U1db$ [17:00] it's in there [17:00] libU1DBPlugin.so qmldir [17:00] the .so and qmldir are ... your to quick [17:01] where is this package and can I get for 12.04 ? [17:01] does it need anything more than the .so and qmldir? [17:01] Or do I have to compile ? [17:01] no [17:01] the so is the lib and the qmldir is metafile [17:01] you can cat qmldir [17:02] I'm not sure if its available for 12.04 im on 13.04 [17:02] apt-get install qtdeclarative5-u1db1.0 [17:03] It is installing [17:04] I _think_ that's the only required package [17:04] xequence, your code is somewhere in some branch ? [17:04] couldn't find it documented anywhere [17:04] can always apt-cache show [17:04] lets look at the source [17:05] I havent pushed yet, was going to do that once I had a functioning db [17:05] 1 sec ill pastebin [17:05] gusch, I have fixed the issue, in the job [17:05] om26er: very good [17:06] om26er: let's see for the next jenskins result [17:06] om26er: can you meanwhile do another review of this? quite some things changed [17:06] gusch, sure, I ran two jobs separately one with my change and the other without [17:06] http://pastebin.ubuntu.com/5985720/ [17:07] and one of them failed, guess which one passed ;) [17:07] gusch, sure [17:07] lines 19 - 30 are the only ones that matter [17:07] and they're copy pasted from http://bazaar.launchpad.net/~uonedb-qt/u1db-qt/trunk/view/head:/examples/u1db-qt-example-1/u1db-qt-example-1.qml [17:08] xqwzts, do you know how to use qdoc ? [17:08] no, this is the first time I touch a QT project [17:08] though if you point me in the right direction... === gusch is now known as gusch|away [17:10] cool there is alot of docs on that on qt site there wiki. but if you DL the source and look you will see there is like 5 examples [17:10] http://doc-snapshot.qt-project.org/qdoc/01-qdoc-manual.html << qdoc [17:11] alrighty I'll take a look, thanks a lot [17:11] if you apt-get source qtdeclarative5-u1db1.0 it is under the examples. there is also all the docs but they need to be generated [17:11] although I suspect those examples are the same ones that I saw on launchpad : http://bazaar.launchpad.net/~uonedb-qt/u1db-qt/trunk/files/head:/examples/ [17:11] correct [17:11] one can open CMakeList.txt in qtcreator [17:13] Looks like there should be some examples allready installed. if you go to the help menu in qtcreator and press the serarch option and enter in something like u1db-qt you should see examples if not I would file bug [17:14] not sure where the online host to this is though u1db-qt-tutorial-1.html [17:15] I suspect that would be this link: http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/u1db-qt5/tutorial.html [17:15] that should ship with source if it is not then it is getting via ascronisticly and not sure the full url a little digging will find it in the main qdocconf file [17:15] Look at that [17:15] now where cooking with gas [17:15] is there a list of GUI elements and details on each one? ( i want to make a language selector button in the toolbar ) [17:16] Cantide: Ubuntu UI Toolkit Gallery [17:16] oh, of course... i remember seeing that somewhere [17:16] just where.. [17:16] it should be installed on your system [17:17] go to dash and type 'toolkit' [17:17] i think it came with ubuntu-sdk [17:17] got it, thanks :) [17:17] np [17:17] it is in that top dir there is a qmlprogram it is called ubuntu-sdk.qmlproject [17:17] qmlproject * [17:18] sudo / find -name "ubuntu-sdk.qmlproject" [17:18] woops [17:18] sudo find / -name "ubuntu-sdk.qmlproject" [17:18] there we go [17:19] I would look in /usr/share/ubuntu-ui-toolkit ? [17:19] nope :( [17:21] /usr/lib/ubuntu-ui-toolit [17:24] hmm, it seems a listitem is not possible in a toolbar ._. [17:24] listitem - i meant valueselector [17:25] Cantide, is there rules that state one has to use toolbar ? maybe you could make one that acts like it but does what you want ? I dont know if you are doing app devel contest or anything like that so I do not know the rules [17:25] Cantide: I'm using a valueselector in a popover on my toolbar [17:26] If that's what you need, I'll be posting the code soon [17:26] xqwzts, I'd be interested to see it :) [17:26] alrighty, will drop a link here when I get the repo up [17:27] I've got this at the moment: https://dl.dropboxusercontent.com/u/36318710/Screenshot%20from%202013-08-14%2019%3A26%3A37.png [17:29] I ended up putting a ToolbarButton in the toolbar, which triggers a popover onclick, and the popover contains my ValueSelector [17:29] oh.. that seems a little convoluted >.< [17:29] i'm going to make a separate page for settings, so i might just put it in there anyway [17:35] Cantide: For a list of the API, you can click the API button in qtcreator (left pane) or launch the toolkit gallery from tools->Ubuntu Touch->Toolkit Showcase [17:37] anyone have any idea on why I would be able to get call/sms but not connect to data? [17:37] crazy actions list. I mean a TV remote does not need 200 + buttons eyyahyah http://pastebin.com/A1f3XtgC Time to break this up into files. just is not that nice because I want to get over net :( [17:56] When I try to install a click package creating using the Ubuntu SDK (QtCreator) app, I'm getting ValueError: Framework "ubuntu-sdk-13.10" not present on system [17:57] Are click packages not working yet, or am I missing a package? I'm on 13.10 === gusch|away is now known as gusch [18:17] iBelieve, thisis 13.10 touch [18:17] not Ubuntu Desktop 13.10 [18:19] beuno, but they're both Ubuntu. I know it should be possible to install click packages on the desktop. As far as I know, click packages are for touch apps, but should install on both desktop and on touch, just like regular packages of touch apps. [18:20] beuno: so the click packages generated by qtcreator, are they only for the phone or desktop as well? [18:20] nik90, they are only for touch atm, in 14.10, the destop and the touch images will converge into one [18:20] iBelieve, you need to install a few things manually if you want to run click packages in the desktop version [18:21] beuno: oh. So the apps coming out of app developer showdown (where the developer generates a click package) cannot be installed in the desktop. [18:21] beuno, I didn't know that. I thought since they're both ubuntu they'd work on the desktop as well. [18:22] * nik90 didnt know either [18:25] (sorry, on the phone) [18:26] beuno, In http://iloveubuntu.net/click-package-012-landed-ubuntu-1310s-universe-command-line-initial-functionality, it looks like one can install click packages using dpkg. Will that work on the desktop? === randomcpp|afk is now known as randomcpp [18:30] trying to use a popover and getting this -> QObject::connect: Cannot connect QQuickShaderEffectSource:: to ShapeItem_QML_51::onImagePropertiesChanged() [18:33] Cantide, SDK bug, I get it all the time. Shouldn't affect the popover, though. [18:34] yeah, it still works as intended [18:34] i like to see no bugs though!! haha [18:34] where do i put code to run in those items listed? like onClicked or whatever? [18:35] I am trying to use gio/gsettingsschema.h's function along with Qt. In my pro file I have PKGCONFIG += gio-2.0 and in my main.cpp I have included gio.h and gsettingsschema.h files. The weird thing is that the compiler recognizes functions from gio.h (like g_settings_new_full()) but not from gsettingsschema.h, while they are both under gio/ [18:36] I get undef ref for g_settings_schema_source_ref, for example. [18:42] beuno, never mind, I just tried installing my click package using dpkg and got the error Click packages may not be installed directly using dpkg. [18:43] Cantide, what do you have in the popover? Standard list items? Yes, you could put stuff in the onClicked handler [18:43] Cantide, just don't forget to close the popover using PopupUtils.close() [18:46] iBelieve, yeah, i'm slowly but surely figuring this out [18:50] eh, i have too many questions ._. [18:51] how do i change the font colour of a listitem? -_- [18:53] Cantide, you can't unless you use a very simple hack. Let me guess - you've got a popover with list items in it, and you're using the Suru theme, so you list items look bad? :) [18:53] the background is white and the font is white -.- [18:53] Cantide, yep - I've had that happen and there is a simple hack to work around it [18:53] what's the hack? [18:54] Cantide, basically, you're going to add your own label instead of the default one. Let me upload a bit of code [18:54] okay [18:55] Cantide, here you are: http://paste.ubuntu.com/5986078/ [19:00] Thanks! You are a genius :) It works well! [19:01] UF thread: http://ubuntuforums.org/showthread.php?t=2167669&p=12756791 [19:02] Cantide, I wasn't the one who figured it out. Victor Thompson showed it to me when creating the Suru theme for File Manager [19:03] Cantide, the power of Open Source :) [19:04] :) [19:04] I could keep asking questions all night :'( [19:05] autoClose doesn't seem to work ;-; [19:05] Cantide, hakermania and the power of letting the community contribute to the core apps :) That's how I've learned so much about developing for Ubunt Touch [19:06] Cantide, what doesn't work about it? It works for me. When I tap outside of the popover, it goes away. [19:08] oh, i was under the impression it would auto close once a listitem has been selected [19:09] Cantide, if you don't understand how something works, you can mouse over the type you're using (such as Popover) and Ctrl + click. That will take you to the source for the item, where you can either study how it works or read the documentation for properties and functions [19:09] Cantide, that has helped me so often :) [19:10] oh, i see :) That's going a bit in-depth >.< [19:12] Cantide, reading the documentation of a function is the first thing to do prior to using it ;) [19:13] i read it online... after running the Gallery app >_> [19:13] it's easier for me than looking at the code for it [19:13] <--- n00b [19:15] <-- supernoob [19:18] <-- wannabe not noob [19:18] :) [19:19] aren't Textfield complete right? because when you enter some text it looks you've just changed the placeholdertext, not actually wrote something important.. [19:32] Cantide, iBelieve do you know how to have anything like a filechooser? [19:32] * Cantide doesn't know [19:40] Hi guys! Is anyone from Ubuntu Toolkit team here? [19:46] can one place a text input in a popover? 'o' [19:50] any u1db for qml dev here? [19:54] Ok, there is an issue in SDK, I hope some one would read it. Page have title, which can be hidden by moving of inner flickable. But if header is hidden already, and I programmatically will call ListView's method positionViewAtBeginning(), top few items of listview will become hidden under header :(( [20:20] oh, my app is making progress :) http://www.youtube.com/watch?v=P9yKEYH6Y1U&feature=youtu.be [20:20] Cantide, Good :) Bravo for trying! [20:21] getting there.. sloooooowly :D [20:21] needs work :< [20:24] Cantide, it looks really nice :) [20:24] hmm... thanks >.< I'm not quite satisfied with it :< [20:25] Cantide, being perfectionist is good :) [20:25] but I don't think I'll use it when it will be ready, my city has only one line of subway :p [20:25] i will keep at it :) [20:25] haha [20:25] my city has none xD [20:25] nice :) [20:26] I'll target major cities - London, Seoul, Tokyo, New York - because then it will be useful to more people [20:26] but those maps are a nightmare to create / work with, so for now I'm just using Busan as test data [20:26] do you have to create each map manually? [20:27] hmm [20:28] this map i did using Inkscape [20:28] There are a lot of nice maps already in SVG format online, but I can't find any that are perfect for my app [20:28] so i'll likely have to edit them until they are suitable [20:29] for example, I have a map of New York, but it's 2.9 MB [20:29] also, the way i handle language switching requires me to separate the text into different svg files.. [20:29] :/ [20:29] tedious work [20:30] yup - fixing up the map and doing the translation took about 10 hours, and this is just a small map to test with [20:30] coding the app took about 2 hours :D [20:30] (still a lot more code to do though) [20:30] Cantide, I've missed what your app does. Care to explain? [20:31] so for now.. i'll focus on polishing the app and just have limited test data - once it's complete then i'll spend my remaining time on adding as many maps as i can [20:31] hakermania, see the youtube link up there ^ it's a subway map viewer [20:31] i can't test zooming on my PC though ㅠㅠ so i have no idea how that works [20:31] oh, I saw the link but still didn't get it. Thanks for the explanation [20:32] when there are more maps it will make more sense >.< [20:32] doesn't really do much except display them and offer language translations (>.<)v [20:40] Cantide, I'm italian, I can traslate italian maps if you need help :3 [20:41] '-';; [20:41] When i get to that point, sure :) (be warned, it takes a lot of time) [20:41] can't you export string to gettext? [20:41] I'm travelling to Korea soon, hence my ease of inputting Korean characters [20:42] hmm? [20:42] SVG files are basically XML, so the way i've stored it, i could parse the file and read the text from there, but i found an easier way [20:42] http://www.gnu.org/software/gettext/manual/gettext.html#Introduction [20:44] oh, interesting [20:44] i haven't done things in a conventional way, i'm afraid [20:44] because SVG made it simple to do it the way I've done it [20:45] ok [20:45] i've got it in a bit of a mess :) [20:49] has anyone found a nice way to use tags with U1db? [21:01] Cantide, http://i.imgur.com/N0sT7cV.png [21:01] wow~~ [21:01] nice UI [21:01] better than mine xD [21:02] is the text box for the description of how to make the recipe? [21:02] oh, or is it just an ingredient that has not yet been filled out? [21:02] that's not a complete recipe [21:03] :p [21:03] oh, of course - i see the directions section below now [21:03] got it [21:03] what are the 25 and 20 for? [21:03] the first is the preparing time [21:03] the second the cook time [21:04] ah [21:04] in this screenshot aren't so obvious I know [21:04] i think it needs that written there [21:04] true, maybe if i used the app i'd understand it immediately [21:04] when you open the page you have a placeholder text [21:04] that tells you what you need to insert [21:05] i assumed as much >.< [21:06] cool '-';; [21:06] i look forward to using it :) [21:06] oh, will it be able to export the recipes? [21:06] the code is hosted @ https://github.com/random-cpp/saucybacon [21:06] ideally i'd like them in a PDF, but if it exported to say... sql, i wouldn't mind either [21:06] i see :) [21:07] you're a genius! [21:07] You gave me a great idea :D [21:07] :) [21:08] perhaps a format such as sql that you can easily import again [21:08] that way you can back up your recipes [21:08] or send them easily to a friend [21:08] for sharing i'll use libfriends [21:08] for storing the recipes offline/online u1db [21:08] oh, i read that in your description on reddit [21:09] but i don't know what it is :) [21:09] does that then require the user to have an U1 account? [21:09] we still don't know how it will work [21:09] xD [21:09] they are still developing that part [21:09] 'ㅁ' [21:09] good luck! [21:09] https://launchpad.net/libfriends [21:10] * Cantide clicks [21:10] it doesn't tell much :/ [21:10] http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/friends/qmlmodule-friends0-friends-0-1.html [21:12] yeah :< [21:12] * Cantide clicks again [21:13] it still doesn't quite explain it :D [21:14] yeah I know [21:15] Cantide, http://i.imgur.com/J0sSLdg.png here's how it looks "clean" (I forgot to delete Lasagne, sorry for that) [21:15] oh~~ nice! [21:15] maybe write "quantity" there, too [21:15] is the icon at the bottom for uploading a picture? [21:16] yeah [21:16] it is [21:16] it should let you took photo directly [21:16] =) [21:16] and that, yeah [21:16] I need an abbr. for quantity [21:16] and maybe search online based on your recipe title [21:17] yeah too [21:17] qty. <- this is the abbreviation [21:17] thanks :) [21:17] you're welcome :) [21:17] English is my first language '-';;; [21:18] where are you from? [21:18] South Africa [21:18] wow :) [21:18] >.< [21:19] I'm from Italy if you didn't guessed :p [21:20] Cantide, I'm italian, I can traslate italian maps if you need help :3 [21:20] I knew it already =) [21:21] yeah but who told you I'm from Italy too? [21:21] :p [21:21] I can be Italian, but living on Mars right now :p [21:22] fair enough :) [21:22] soon i should be in another country myself [21:23] for work? [21:23] yeah [21:24] Africa is not ideal for me [21:33] nice meeting you here; i'm off to bed now - good night! [21:35] randomcpp: what is your name? I am editing the wiki page with your app details [21:35] Giulio Collura [21:35] om26er: I have just made a release of phone-app fixing the compose message [21:35] thanks btw nik90 :D [21:35] randomcpp: np. Just doing my job [21:35] boiko, cool, thanks for the fix. [21:36] nik90, some pics if you're interested http://imgur.com/a/0DheR [21:37] om26er: np [21:37] randomcpp: I just ran your code :) [21:37] I still need to find a nice gradient though [21:37] randomcpp: btw do you have a blog or shall I link your reddit post? [21:38] I've put up a tumblr blog today, but I don't have any posts yet [21:39] on friday I'll write one for sure [21:39] randomcpp: If you plan on posting there in the future, shall I add that link then? [21:39] yeah ok http://randomcpp.tumblr.com/ :) [21:40] randomcpp: done [21:41] thanks again! [21:44] nik90, I'm a native english speaker, if you see some grammar mistakes could you please inform me if you can? :) be a grammar nazi with me :) [21:45] randomcpp: did you mean you are not a native speaker? [21:45] i'm Italian [21:46] randomcpp: but yes in case I notice something I will do so. Now that the code is in github, I will try it out. Get ready for an inflow of bug reports and suggestions :D [21:47] already reported 5-6 bugs against Ubuntu Tasks (another app being developed for the contest) [21:47] this sounds awesome :) [21:56] If I've got a DPKG that requires certain Python modules, how can I list these python modules as dependencies? Or check for them during installation, and cancel if they aren't there? [22:37] kalikiana, do you develop u1db api for qml? === salem_ is now known as _salem [23:31] nik90, ping