[05:47] * snwh is away: Away [05:52] * snwh is back (gone 00:04:41) [06:35] good morning all [06:42] hi all good morning :) [08:20] I need a help to use Behavior. I have a listView and I want to change the positionView, so I have this one: http://paste.ubuntu.com/6035800/ and for behavior I have http://paste.ubuntu.com/6035801/ [08:20] But It doesn't work, what's wrong? [08:25] hi WebbyIT, good morning, I've had a chat with mihir this morning, and as you're already working on some bugs and he's got none assigned at the moment, it might be good to pass some of your bugs to him. Would you be ok for you to pass the assignment of bug 1210082 to mihir for him to work on it? [08:25] Launchpad bug 1210082 in Ubuntu Calculator App "[Calculator app] Change of sign operation only works from the second operand onwards" [Low,In progress] https://launchpad.net/bugs/1210082 [08:26] dpm, yes, no problem :) [08:26] dpm, I think he is working on it, because he asked me about it one hour ago [08:27] WebbyIT, thanks. Yeah, we talked about coordinating with you before starting working on it [08:27] bzoltan, who's the expert on listview/positionview on your team? Could someone give WebbyIT a hand with his question and the code he pasted? ^^ [08:27] dpm thanks :) [08:39] is there a way or a method to know if the app is running on the desktop or on a phone/tablet? [08:51] Behavior on listView | http://askubuntu.com/q/338276 [08:52] dpm, I'm not sure how to fix bug 1198842 [08:52] Launchpad bug 1198842 in Ubuntu Calculator App "[Calculator app] Keyboard partly overlaps keypad instead of covering it" [High,Triaged] https://launchpad.net/bugs/1198842 [08:52] Well, I don't understand what is the expected behavior [08:56] WebbyIT, the expected behaviour is that whenever the keyboard appears, the numeric keypad is hidden [08:57] dpm, ok, thanks :) [08:58] WebbyIT, right now it is not hidden, so when the keyboard shows up, it overlaps it, and as the keyboard's height is lower than the height from the keypad, you can see the keypad from behind [08:58] Does that make it clearer? [08:58] dpm, yes, now it's clear, thanks :) [08:59] perfect :) [09:11] dpm: thank you...I'll look it into it I have already spent some of time but still will look and will revert back [09:12] thanks mihir [09:15] WebbyIT: Thank you :) [09:22] Good morning peeps :) [09:23] I need to be able to call system commands from within a QML app. Looking at http://askubuntu.com/questions/288494/run-system-commands-from-qml-app it's something that was being considered back in April. Is this going to be available, or do I need to learn C++? [09:34] dpm: I've been told that you might know something about the above? :) [09:35] hi bigcalm, let me have a look... [09:35] Thanks :) [09:37] bigcalm, afaik, we don't have anything like that on the SDK right now, so you'll probably have to write a C++ plugin to do the command call and then talk to your QML frontend. What kind of command are you trying to run? [09:41] dpm: it'll be for a binary in this particular project. But I'm looking at using gphoto2 for another project. Python has hooks but I don't think QML does [09:43] dpm: thanks for letting me know what's happening with the SDK. I'll see what I can work out :) [09:43] bigcalm, in this case it'd make more sense to write the binary as a C++ extension that your QML frontend calls. As per gphoto2, I'd suggest looking for an alternative with Qt bindings, researching if someone has written bindings for it, or write the bindings yourself [09:43] no worries :) [10:08] dpm: for listview/positionview issues ping timp [10:12] WebbyIT, ^ [10:12] thanks bzoltan [10:13] thanks bzoltan [10:21] gusch: is the share menu missing from gallery-app? and the "add photo to album" popover acts weird [10:22] or maybe today's image is completely a mess... [10:22] timp, please, can you help me with a ListView? [10:22] I need a help to use Behavior. I have a listView and I want to change the positionView, so I have this one: http://paste.ubuntu.com/6035800/ and for behavior I have http://paste.ubuntu.com/6035801/ [10:23] timp: the share changed to the new component, was worked nice 2 days ago [10:24] timp: I didn't use/touch that popover since ages [10:28] WebbyIT: I don't see anything obviously wrong with that, but perhaps the listview overrides behaviors on contentY. [10:28] WebbyIT: maybe its not possible for listviews [10:29] WebbyIT: fyi, for ValueSelector I used a transition, not behavior [10:29] timp, ok thanks [10:29] WebbyIT: fyi2, we have UbuntuNumberAnimation that you can use instead of NumberAnimation. It has some pre-defined durations/speeds of animations (but it won't solve your problem) [10:30] timp, it's not a real problem, because it's work with another trick, but boiko asked me if was possible to use Behavior [10:30] timp, so, if is not possible, no problem :) [10:32] gusch: ok, thanks. I see there were some small changes in UITK popover, but not very recently [10:33] gusch: and some other things don't work for me also on the tablet. perhaps I should test on phone instead [10:33] (the other things are not gallery-app related) [10:34] timp: oh - I should work on the gallery again ;) [10:34] gusch: did someone take over gallery from you? or is nobody working on it now? [11:13] can anyone help me with ConditionalLayouts? [11:16] randomcpp, what you need? [11:16] clepto1995, I have two conditionals [11:16] the first show only one widget [11:17] the second shows a rectangle (sidebar) and the previous widget [11:19] when I start the app with the second conditionallayout (when: width > fixedvalue) and I switch between the two layouts by changing the app width everything works as expected [11:19] but if I start the app with the first layout and then switch to the second by increasing the app width, the rectangle (sidebar) doesn't show up [11:20] but the other widget changes its position and size as expected [11:20] neither does in my app [11:20] Q/ [11:20] :/ can't really help i guess [11:21] actually I does work in my app [11:21] sorry :P [11:21] are all widgets visible? [11:21] I didn't changed the visibilty at all [11:22] I shouldn't accordingly to documentation [11:22] can you paste the conditional layouts? [11:22] http://pastebin.ubuntu.com/6036265/ [11:23] I'm trying to implement this http://askubuntu.com/questions/308968/how-can-i-run-a-command-from-a-qml-script but I'm not seeing the option to create a project of the type "Ubuntu Touch/Simple UI with C++ Backend". I really know diddly sqat c++, so not sure where to go from here. Any pointers? [11:24] bigcalm, if you want you can take my cmakelists from https://github.com/random-cpp/saucybacon [11:24] (I prefer cmake rather than qmake) [11:25] * bigcalm has a gander [11:25] randomcpp: thanks [11:25] np [11:27] randomcpp, thats weird... we have look-alike codes and it works on me... I don't know [11:28] randomcpp, If I were you I'd play a little with the width and anchors [11:28] and see if it appears === gusch is now known as gusch|lunch [11:47] clepto1995, I really don't get it [11:48] clepto1995, have you updated recently? I updated yesterday evening, maybe they've introduced some bugs [11:55] randomcpp, no I haven't [11:56] clepto1995, if I push my code, would you please a look at it? :) [11:58] randomcpp, ok [11:59] randomcpp, I currently having an odd problem myself with a listview, maybe you can help me later :P [12:00] ofc :) [12:01] clepto1995, ok I've pushed the code [12:02] instructions are available in the README for the c++ plugin [12:05] randomcpp, http://pastebin.ubuntu.com/6036377/ [12:09] clepto1995, remove those lines === gusch|lunch is now known as gusch [12:10] * hakermania is now known as hakermania [12:10] clepto1995, you should install those libraries, they are available in the sdk ppa [12:11] randomcpp, you should add them to the README [12:14] randomcpp, tell me what to do after i run the app [12:15] go to search page [12:15] swipe the toolbar and click search [12:16] you should see a textfield and a button [12:16] if the app width is > 80 gu you should see a sidebar on the left [12:27] randomcpp, ok, give me a sex [12:27] sec* [12:27] :P [12:28] clepto1995, take you time i'll be afk for lunch (~30 mins) === randomcpp is now known as randomcpp|lunch === _salem is now known as salem_ [12:47] randomcpp|lunch, no idea man... I suspect it has to do with width etc but I can't get it to show === clepto1995 is now known as clepto1995|away [12:53] randomcpp|lunch, add Component.onCompleted: print(parent.width) on line 71 i.e , open search page, resize and you get a negative width (?) [12:55] clepto1995|away, nice === randomcpp|lunch is now known as randomcpp [12:57] clepto1995|away, yeah but .onDestruction the widths are correct [12:58] clepto1995|away, and on the sidebar the width is fixed to units.gu(35) [13:11] clepto1995|away, If I add the sidebar in the first conditional then it shows up [13:12] randomcpp, are you working on conditional layout with a sidebar? [13:13] mefrio, yeah but not the iBelieve's sidebar [13:13] randomcpp, ok [13:13] mefrio, I'm having problems with conditional in general [13:13] randomcpp, what do you need to do? [13:13] randomcpp, I tested latest commit and the UI is a bit messed [13:14] mefrio, don't look at the editpage [13:31] Ubuntu SDK on Ubuntu 13.04 | http://askubuntu.com/q/338387 [13:58] dpm, there is a tag for bugs related only to device? [13:59] dpm, bugs that don't affects computer, I mean [14:11] can't I define a ItemLayout without a height and width? and leave these property to the item itself? [14:12] ok solved [14:13] I need to specify the ItemLayout height [14:13] but I can use buttonId.height without ending in a loop [15:00] how do i set up a armhf environment on my x86 system to build some arm debs ? [15:03] om26er: sbuild can do that; mk-sbuild --arch armhf saucy [15:03] Laney, cool, trying that [15:03] qemu isn't perfect, mind [15:19] Laney, it says: W: Retrying failed download of http://ports.ubuntu.com/ubuntu-ports/dists/saucy/main/binary-armhf/Packages.bz2 [15:20] but I can download that thing separately fine [15:20] what could be wrong [15:20] don't know [15:20] that message comes from debootstrap === clepto1995|away is now known as clepto1995 [15:34] iBelieve, hi! [15:34] clepto1995, hi [15:34] do you have a minute to help me with something? [15:35] clepto1995, sure [15:35] iBelieve, ping [15:36] randomcpp, pong [15:36] clepto1995, what do you want help with? [15:36] I'm trying to use your sidebar [15:36] but when I try to put a ListView inside I only see the first item [15:36] iBelieve, wait, i'll explain [15:38] iBelieve, pull the latest commit and run the app [15:38] randomcpp, can you open up the Sidebar.qml file and see if there is a Flickable in it? I don't know what version you're using. I made some changes recently to it. [15:38] clepto1995, okay [15:38] iBelieve, I've pulled the repo this morning [15:38] randomcpp, was it working before? [15:39] that's the first time I'm using that actually [15:39] iBelieve, then create a note with just title and body, swipe it so it moves to the archive and on the toolbar click archive [15:40] clepto1995, one sec, it's cloning right now [15:40] let me know when you are ready [15:40] iBelieve, btw there's a flickable in Sidebar.qml [15:41] randomcpp, I'm thinking it's because of the Flickable. I'll try something in a second or two [15:41] clepto1995, when I run it, I get module "DirParser" is not installed [15:42] iBelieve, you have 64bit? [15:42] clepto1995, yes [15:43] iBelieve, give me a couple of minutes to solve some stuff [15:43] sorty [15:43] sorry* [15:44] clepto1995, okay, no problem [15:44] randomcpp, I [15:44] randomcpp, I [15:44] iBelieve, yes [15:44] randomcpp, I'm going to try changing some code to work if it has a flickable child (listview) [15:44] randomcpp, (sorry, I kept hitting enter by mistake) [15:49] iBelieve, I've just introduced the extraWideAspect xD [15:49] iBelieve, pull this https://github.com/Clepto/dirParserPlugin and compile [15:50] randomcpp, what's that? [15:50] clepto1995, okay [15:50] something like desktop mode, with a 3 column layout [15:50] for width > 130 gu [15:51] then move the *.so in DirParser to the same folder on CNotes folder [15:51] randomcpp, ah, cool [15:52] randomcpp, I fixed the Sidebar, I'll push in just a second and explain how to do what you're trying to do [15:52] ok thanks [15:55] clepto1995, I'm compiling it right now [15:56] randomcpp, okay, just pushed. With the updated version, just set autoFlick to false to disable the built-in flickable and allow anchors.fill to work [15:58] ok now it works thank you [15:59] randomcpp, good! [16:00] clepto1995, I copied *.so to the root cnotes-ubuntu-touch folder and also the DirFolder directory inside that, and I still got the error [16:01] clepto1995, I figured it out. [16:01] iBelieve, ok [16:01] run, create note, swipe it [16:01] clepto1995, the run target in the Makefile doesn't include the local directory when running qmlscene [16:02] iBelieve, i don't know what that means, its hakermania's plugin [16:02] clepto1995, can't save a new note. I get this error: file:///data/mspencer/Programs/showdown/cnotes-ubuntu-touch/pages/CreateNotePage.qml:39: TypeError: Cannot read property '0' of undefined [16:03] ok that weird [16:04] i don't get that [16:04] what did you added? [16:04] in the note i mean [16:07] ballons, are you available for an autopilot doubt? [16:08] clepto1995, all I did was start the app, create a new note, and add a title. [16:08] clepto1995, I also got this error: file:///data/mspencer/Programs/showdown/cnotes-ubuntu-touch/Storage.js:229: Error: no such table: categories Unable to execute statement [16:09] iBelieve, that the problem, line 162 CNotes.qml commented it [16:09] sorry I mean balloons (missed the second o) [16:09] iBelieve, clepto1995 , I don't know QML, but I do know the basic libs of Qt pretty well. The plugin is mine. Did I do something wrong? [16:09] iBelieve, run, close, uncomment and re-run [16:10] clepto1995, now it works! [16:10] does anyone know how to set an animation when the layout changes? (I'm using ConditionalLayouts) [16:11] hakermania, no, the problem was I wasn't including your plugin in the QML include path [16:11] iBelieve, good. [16:11] randomcpp, I don't use ConditionalLayouts. I just use negative/zero margins and a Behavior to make things slide on and off the screen [16:12] iBelieve, yeah that's what I using before too [16:12] ConditionalLayouts seems to be recommended [16:12] but they work awfully [16:13] neokore, what's up? :-0 [16:13] * balloons waves at iBelieve [16:13] I think I'll switch back to Grids and margins [16:14] randomcpp, I think ConditionalLayouts is more for when other types of layouts won't work, like when you want to switch from Row/Column view to flow mode [16:14] clepto1995, so I archived the note and then went to Archived notes. What next? [16:15] in the toolbar click notes, its empty right? [16:15] iBelieve, the worst part is that you need to specify a height and a width [16:15] each time [16:16] for each item [16:16] dpm: are session still airing ? [16:17] clepto1995, no, I each time I go to notes, there is a note there, and then I archive it and go to Archived Notes, and there is another one there. They just keep growing === dholbach_ is now known as dholbach [16:19] iBelieve, bugs keeps appearing :@ [16:19] As it turns out, GradientStop.color is a non-notifyable property. There must be another way to resolve Bug #1217578 [16:19] Launchpad bug 1217578 in Ubuntu UI Toolkit "Button does not reflect changes to GradientStop.color" [Undecided,New] https://launchpad.net/bugs/1217578 [16:19] iBelieve, wait to rethink my logic [16:26] quick question, when an item is swiped from a listview its removed from the model too? [16:26] clepto1995, no. you have to do it yourself. [16:27] clepto1995, because the list item has no concept of how your model works === dholbach_ is now known as dholbach [16:27] i get a weird error when trying to remove it [16:27] iBelieve, QQmlVMEMetaObject: Internal error - attempted to evaluate a function in an invalid context [16:27] clepto1995, but I think there is a much better and simpler way to handle archived tasks then by using two separate models [16:28] iBelieve, thats what i do [16:28] clepto1995, I would suggest using just one model, and then in your views, use visible to control whether your task is shown or not [16:33] iBelieve, thats not a bad idea [16:33] i have to refactor a lot of code :/ [16:36] boiko tmoenicke I'd need someone to review https://code.launchpad.net/~schwann/gallery-app/gallery-content-hub/+merge/180378 [16:38] clepto1995, also, another thing. Why don't you try using a yellow/tan Suru theme like the built-in Notes app? It would probably portray your app's intent better and would help it to stand our from other apps that use the same purple-pink Suru theme [16:45] iBelieve, so you don't use Ubuntu.Layouts at all? === alex_abreu is now known as alex-abreu [16:47] randomcpp, no. For convergent layouts I do two things: use my Sidebar widget, which works by changing leftMargin from 0 to -width with a Behavior, and some nasty hacks to the page stack to insert or remove an in-between page when switching layouts [16:47] thanks for the explanation :) [16:48] I find Layouts a bit useless too for what I need to do [16:49] What I really want is a page stack that lefts me have invisible pages on the stack so they only show in small mode, since the info is provided elsewhere in wide mode. [16:49] ** lets [17:00] randomcpp, iBelieve: hi :) [17:00] been terribly busy past few days. [17:00] so havent tried you guys latest build [17:00] nik90_, hi :) [17:01] iBelieve: I am trying to authenticate into trello [17:01] nik90_, \o/ [17:01] iBelieve: what do I type in the authenticate box? [17:01] randomcpp: saw your blog post. Nice work! [17:01] thanks :) [17:01] randomcpp: I am yet to try to myself. But will do so today [17:02] randomcpp: have you figured how to package the c++ code in the click package? [17:02] nik90_, I'm hoping to replace that with OAuth, so it isn't very good. Click the authenticate button, it will open up a web page to authenticate, when done, copy the link to the box [17:02] nik90_, then the Authenticate button will turn into an Ok button. Click that [17:03] iBelieve: got it working :) [17:03] nik90_, tomorrow or this weekend I'll talk with a click dev or expert :) [17:03] iBelieve: so it is only read only at the moment? [17:03] randomcpp: perfect! May I ask a favour then? Can you blog about it if you figure it out. Will really help everyone out. [17:04] nik90_, today I've lost a lot of time with the ConditionalLayouts just to remove all of them in the evening :) [17:04] nik90_, sure I will! [17:04] randomcpp: how come? [17:04] nik90_, yes, I haven't figured out how to do HTTP PUT for saving stuff. I was able to create a new project using POST, I haven't figured out how to show the project while it is being created [17:04] nik90_, I'll continue to use the old method, with the Grids [17:04] I don't need special layouts [17:05] randomcpp: ah okay. but wasnt the landscape interface different from the portrait layout? [17:05] no not really [17:05] iBelieve: okay. Will you use OAuth to connect it to Ubuntu Online Accounts? I saw that answer in your askubuntu question [17:06] randomcpp: okay. go ahead with whatever best suits your purpose [17:06] nik90_, I get an error from Trello saying the browser isn't supported. Plus I'm not sure how the Online Accounts plugin would work with the competition and click packages and stuff [17:06] nik90_, but it looks like it would be really nice and easy to use. I definitely want to use that if I can [17:07] nik90_, with my solution I can easily add animations too [17:07] iBelieve: I would guess the first step is to coordinate with kenvandine to get trello support merged into onlinen accounts first [17:07] iBelieve: this way you can then just leverage it [17:08] nik90_, Where should I contact him? By pinging him here? [17:08] iBelieve: here or in g+ [17:08] randomcpp: true [17:08] randomcpp: although with conditional layouts the animations should work as well since it is effectively changing x and y [17:08] nik90_, I'm not that familiar with Google+, so I guess I'll just try here [17:09] iBelieve: fair enough. btw the date widget is not appearing for me [17:09] PopupUtils.open(): Failed to create the popup object. [17:09] QQmlComponent: Component is not ready [17:09] that's the error I get [17:09] nik90_, try to update the ubuntu-ui-extras [17:09] i did [17:10] will make a clean start and try again [17:10] nik90_, yeah but that was a bit awkward [17:11] nik90_, iBelieve http://i.imgur.com/zEt5CGl.png [17:12] randomcpp, wow, nice job! [17:12] randomcpp: nice utilization of the width! [17:12] iBelieve, that's the extraWideAspect xD [17:12] randomcpp: you could use a similar layout while searching as well [17:12] randomcpp, ah, cool [17:13] randomcpp: what you do you mean? this is the tablet width? [17:13] then my screen isn't large enough to test a superWideAspect [17:13] nik90_, what's the table width? [17:13] I mean how much gus [17:13] randomcpp: no idea. [17:13] nik90_, I got the same error too :( [17:14] nik90_, extraWide triggers at 130 gu [17:14] iBelieve: ah! [17:15] randomcpp: I will try to find this from mhall119 and others. It would be useful for other app developers to know how much width a tablet, phone and a desktop can be [17:15] great :D [17:15] http://imgur.com/a/uRX5z <-- search [17:15] nik90_, Grrr... I forgot to push the commits I made. I'm on my 13.04 system instead of 13.10, so I don't have the latest either :( [17:16] nik90_, unfortunately I can't implement local search at the moment [17:17] nik90_, now it works! I just pushed the commits [17:18] randomcpp, iBelieve, clepto1995: You guys like the new icons that lucas made? [17:18] iBelieve: lol [17:18] where where where? :) [17:19] randomcpp, https://wiki.ubuntu.com/Touch/AppShowdownList [17:19] randomcpp: https://wiki.ubuntu.com/Touch/AppShowdownList [17:19] nik90_, looks awesome! I need to pull them from the list and add them to my project [17:19] nik90_, yeah! [17:19] seriously conditional layouts are a mess [17:19] randomcpp: lucas and snwh are awesome guys building out icons for you guys! [17:20] say thanks if you see them on google+ or irc [17:20] snwh, thanks man! [17:20] that table is becoming bigger :P [17:21] nik90_, snwh is also helping me with a UI design for Trello lists since my UI doesn't include a place from them [17:21] btw iBelieve, randomcpp, clepto1995: I got a nexus 4. So expect some mobile videos of your app (hopefully this weekend) [17:21] iBelieve: yes I read it somewhere (in g+ I think) [17:21] nik90_, great :) [17:22] nik90_, I hope I get one too, soon ;) [17:22] clepto1995: google made them more cheaper today [17:22] nik90_, awesome! I've been wanting to see how it works with the keyboard in different places [17:22] nik90_, yeah I read about it... I need a new phone but I waiting for the contest to end... [17:23] clepto1995: hehe [17:23] clepto1995, me too :p [17:23] iBelieve: I will keep that in mind [17:23] nik90_, new version is coming soon with convergence... I hope this weekend will be released [17:24] clepto1995: wonderful! looking forward to try it [17:24] nik90_, after that, u1db remains from the list of major features [17:24] nik90_, I have also images and links now ;) [17:24] clepto1995: okay [17:25] * nik90_ is going to quickly grab something to eat (5 mins max) [17:26] nik90_, have you tried the new date picker? When I try it, the date is all messed up, but I think that might be because my clock is messed up due to dual-booting Win8.1 [17:29] iBelieve: i see the correct date (today's date) [17:29] nik90_, oh, good :) [17:29] it looks nice [17:32] kalikiana, ping [17:32] kalikiana will hate me by the end of the contest :p [17:33] lol === bfiller is now known as bfiller_ === bfiller_ is now known as bfiller [17:36] clepto1995: what does your dirparser do? [17:37] iBelieve, if I put a Column with a repeater in the sidebar, should it automatically flick right? [17:37] randomcpp, yep [17:37] GuidoPallemans, creates/deletes dirs, deletes file and check if a folder exists [17:38] ah ok [17:38] and returns an array for the contents of a folder [17:38] uhu [17:39] don't think I need it, but thanks :D [17:39] wait, can it also download files? [17:40] no [17:40] oh [17:40] nik90_: randomcpp: there isn't any defined widths for form factors, and really there shouldn't be as we have tablets and phones that are practically the same now [17:40] clepto1995: you might want to ensure that your apps has those priveledges to delete files/dirs later [17:41] mhall119: How should a developer add conditions to switch from one layout to another? [17:41] choose based on width, or any other relevant criteria [17:42] if you have the same screen space available, it shouldn't matter to your layout if it's technically on a phone, tablet or desktop window [17:43] ah that's true [17:44] randomcpp: so base your interface on the width. It shouldnt matter whether it is a phone, tablet or desktop. Ofcourse you need to come up with sensible widths [17:44] but I think that is more of experimenting [17:45] mhall119, is there a way to know if my app is running on a phone/tablet or on a desktop? [17:46] mhall119, because on the desktop I'd like to restore the window as it was the last time it was opened [17:47] randomcpp: you can try and do that every time, it just won't have any affect on phone and tablet [17:47] mhall119, ok thanks [17:47] np [17:51] randomcpp: hey dude, what's up [17:51] kalikiana, I saw your last bugfix, now does the entry deletion work? [17:53] randomcpp: if you have the latest update, yes. [17:53] yes I do, how should I delete an entry? [17:54] database.putDoc('', 'some-id') [17:55] ok thank you :) [18:01] boiko bfiller I'd really like to get that landed https://code.launchpad.net/~schwann/gallery-app/gallery-content-hub/+merge/180378 [18:02] if a call update() on a listview element does its contents update? [18:04] clepto1995: it depends on the listview element. What is it? [18:04] clepto1995: a listview will automatically update if its *elements* change. [18:04] So it depends on what type of *element* you are using [18:04] gusch: I can review it, sorry, I had to run some errands [18:05] boiko: thx [18:06] nik90_, I need to show specific items from a listmodel according to a condition [18:06] i.e if condition is true show #1, #2 #3 [18:06] and if later I change the condition I want to show items #4 #5 #6 [18:06] clepto1995: okay. Then why not just use the "visible" property to do that? [18:07] visible: condition [18:07] nik90_, and will they update automatically? [18:07] clepto1995: yeah [18:08] nik90_, i'll give a try later [18:08] basically you are connecting visible to that condition. So if condition changes, then visible should work [18:08] okay [18:08] let me know if it works [18:08] ok [18:26] nik90_, I've pushed the latest modifications on the layouts, the first page has a sidebar that doesn't work at the moment, don't mind that :) [18:26] I only promise that will [18:27] this evening I'll implement the social sharing stuff [18:27] ooh cool [18:27] will try it now [18:29] nik90_, if you use the online search (I suggest you to try that, it's pretty cool) tell me if you find a website not supported [18:30] (probably more than one) and please open an issue [18:30] so I can keep track on what's missing :) [18:30] of* [18:32] randomcpp: what do you mean by finding a website not supported? I only search for recipes. How would I identify the websites? [18:32] randomcpp: Also isn't it possible to save a recipe I found online? [18:33] nik90_, you mean by copy/pasting the link in the app? [18:34] randomcpp: no when I click on a online recipe, it shows it. Can I swipe up the toolbar and save it from there? [18:34] you have to swipe the toolbar > edit > save [18:34] at the moment [18:35] there will be a save button from there [18:35] randomcpp: i did that :P But it should just be toolbar > save [18:36] nik90_, I'm going to implement that now :p [18:36] :) [18:37] randomcpp: also pls try to get the sidebar fixed by this weekend. I want everything to work during my video review :P [18:38] randomcpp: 1 last thing. The search option should be shown in a tab as well. [18:38] nik90_, not possible, because that sidebar needs u1db index and query to work [18:38] randomcpp: ah, then no worries [18:38] and those are bugged at the moment [18:38] https://bugs.launchpad.net/u1db-qt/+bug/1214538 [18:38] Launchpad bug 1214538 in U1DB Qt/ QML "Not indexing documents unless all fields are in the index expression clause" [Critical,Confirmed] [18:39] nik90_, do you mean search page should be in a tab? [18:40] randomcpp: what is it now actually? [18:40] a pagestack? [18:40] yep [18:41] randomcpp: I was just thinking that search is an important feature of your app and shouldnt be hidden in a toolbar. So I was thinking of adding it as a tab [18:41] randomcpp: the current search button in the toolbar should be for local recipe search while the search tab is for both (preferably) [18:42] or atleast online [18:42] yeah but I won't be able from the recipe page view to go back to search page [18:42] my reasoning for that is a toolbar presents options for that page. So in the homepage (which shows local recipes), a search toolbar button should search them. [18:43] randomcpp: you can [18:43] when you press back in a page, it returns you to the tab you started in [18:43] randomcpp: so in this case, it will return you to the search tab [18:43] can I put Tabs { } inside a Page { } ? [18:44] randomcpp: no [18:44] randomcpp: your structure should be pagestack -> tabs [18:44] and the recipe view should be a page that you push into the pagestack when necessary [18:44] so when you press back, it returns to the tab [18:44] so pagestack -> tabs, page (same level) [18:45] nik90_, ok now I get it [18:45] I thought it wasn't possible to mix tabs and page in a pagestack [18:45] randomcpp: it is allowed officially. Currently done by clock, rss reader [18:46] randomcpp: I think they meant that you cant have tabs inside a page [18:46] gusch: how do I test the MR? [18:47] boiko: you have some time left - like a few hours? ;) [18:47] gusch: lol [18:48] gusch: well, actually I do have a few working hours still, but I do not want to spend all of that testing your MR :) [18:48] boiko: one needs to get a branch for the content-hub [18:49] boiko: and then set some env variables [18:49] boiko: get another branch of the content hub [18:49] boiko: the start all the involved apps in the right order [18:49] boiko: and then discover that there is a mismatch in the content-hub libraries atm [18:50] gusch: uhm, ok, maybe I will just trust you that it works and do just a code review [18:50] boiko: to see it in action https://plus.google.com/115879243203166014582/posts/6YtqRNaU9zF [18:51] nik90_, ok direct saving works [18:51] boiko: I guess I will have to fix the one or the other issue, but this MR will help to bootstrap the content hub [18:51] gusch: ok, makes sense [18:51] I've added an action to open the recipe in the browser [18:52] it just misses and icon and the implementation [18:52] but a line of c++ code should do all the work [19:10] nik90_, I moved those pages as you requested, take a look if it's ok now if you want [19:54] I am not a GTK guy - at all. How will i go in adding separators into my application indicator? i am able to add normal actions etc but I cannot find adding separators between actions to the documentation [19:55] (I am not building the menu through a char *), but manually. [20:05] hakermania: you may want to ask in ubuntu-devel, this is more for youch apps [20:05] touch* [20:05] GuidoPallemans, thanks. [20:33] Why does Qt Creator say no active project | http://askubuntu.com/q/338580 [21:16] randomcpp: you there? [21:16] nik90_, yup [21:17] nik90_, I'm writing an email to f2f.com [21:17] randomcpp: in the search results, I do not think it is necessary to show the website. Or is this just for debuggin purpose? [21:17] to ask if they can give me more api calls per day for free [21:17] randomcpp: the user does not care where it comes from as long as the rating is good, looks tasty :) [21:18] randomcpp: but nice work integrating many online sources. The search results are good [21:18] nik90_, there aren't many [21:18] unfortunately [21:19] and f2f.com is one of the best [21:19] bigoven.com didn't reply me yet [21:19] kitchenmonki has the api broken [21:19] randomcpp: try emailing bigoven.com again. [21:19] nik90_, I did two days ago [21:19] no response [21:20] oh ok [21:21] on the search results: I actually like the recipe url in the subtext, because maybe I saw a nice recipe on a website [21:21] and I try to search it in my app [21:21] nik90_, the worst problem is the localization [21:22] randomcpp: true [21:22] search query/results are only available in english [21:26] nik90_, how do you find the performance of my app? is it fast enough? [21:26] randomcpp: yeah, I still need to use it on the phone to check it [21:27] on a nexus 4 shouldn't be much slow [21:30] nik90_, is there any widget to show in-app notification like android ones? (the small black rectangle in the bottom of the screen) [21:33] randomcpp: not that I can think of. There is no design yet on how to show notifications [21:33] :/ [21:34] considering sdk hit beta only in july end, it is okay [21:35] nik90_, okay :) [21:51] nik90_, I don't know how to write email in english correctly (I didn't have a real teacher in high school) do you think this is enough correct http://paste.ubuntu.com/6038166/ ? [21:51] nik90_, sorry if I make you lose time :( [21:52] randomcpp: no worries... taking a look now [21:52] thanks a lot :) [21:53] Access microphone/record sound from QML? | http://askubuntu.com/q/338610 === salem_ is now known as _salem [22:14] nik90, remember the talk we had before about listview? [22:17] clepto1995: I need 5 mins [22:17] nik90_, ok [22:20] hello [22:24] clepto1995, I solved the previous problem. [22:24] by not using ConditionalLayouts at all [22:24] >.> [22:25] randomcpp, as far as I can tell Conditional layouts should not be recommended [22:25] its awful [22:25] truly... [22:26] I thought I was the only one having problems :) [22:27] randomcpp, you kidding? I spent 3-4 days trying to make the UI as I wanted [22:27] lol [22:28] randomcpp: http://paste.ubuntu.com/6038265/ [22:29] nik90_, you're awesome :) [22:29] randomcpp: made some minor adjustments and some restructuring [22:29] clepto1995: alrite go :) [22:30] nik90_, listview's elements are updating, regarding visible property, but the don't show in the view [22:30] nik90_, when I change the condition... [22:31] clepto1995: okay, lets see if this can be done using another method. [22:31] clepto1995: are there many list items that need hiding? [22:31] I am assuming you are using a delegate of some sort? [22:32] nik90_, maybe, if the users create many notes [22:32] nik90_, yes, a delegate... [22:32] nik90_, do you want to try the app? maybe you'll find the problem [22:32] clepto1995: what was the condition? [22:33] clepto1995: sure [22:33] nik90_, the condition is where the archive should be shown or not [22:34] archive category? [22:34] nik90_, you will also need to compile this https://github.com/Clepto/dirParserPlugin [22:34] nik90_, its a property, not category [22:35] I pushed [22:36] clepto1995: if it is not just qml, please consider having a README.md file explaining how to build your application [22:36] makes life much easier [22:37] I am in the root directory now, where should I build this? [22:37] nik90_, i'll add the readme tomorrow [22:38] alrite, just give me brief instruction on how to try it then [22:38] nik90_, build the plugin and move the *.so file from DirParser to the CNotes/DirParser folder [22:38] clepto1995:but the plugin is already built by you [22:38] I only see the .so file [22:39] if you use 64bit its going to give you an error [22:39] I have 64 bit [22:39] so where are the .cpp files to build? [22:39] run ls and paste [22:39] which folder? [22:40] in which folder are you in? [22:40] I went into the DirParser folder, and there I have libdirparserplugin.so qmldir [22:40] For me to build the plugin, I need to have .cpp, .h source files, but I see none [22:41] the DirParser is inside CNotes or dirParserPlugin? [22:41] https://github.com/Clepto/dirParserPlugin [22:41] it is inside CNotes [22:41] cd into dirParserPlugin [22:41] clone the above and go to that folder [22:42] why do you have 2 separate git projects? [22:42] distribute as one and ask the user to compile himself [22:42] i'll merge them tomorrow [22:43] okay so I have dirParserPlugin [22:43] I qmake and make [22:43] what do I copy over now [22:44] copy the .so from DirParser [22:44] and paste it into CNotes/DirParser [22:45] then I get module "DirParser" is not installed [22:45] when I run it [22:46] paste ls CNotes/DirParser [22:46] libdirparserplugin.so qmldir [22:47] no idea... wtf... [22:48] clepto1995: do you mind first consolidating everything into one package with a README.md file. I will try again tomorrow [22:48] clepto1995: my best guess is that the qmldir file needs modification [22:48] clepto1995: try it yourself in a new folder, so you can know about these messages as well [22:49] nik90_, I'll try tomorrow... need some rest [22:49] okay [22:50] nik90_, any other idea what to do with the listview? [22:50] I need to have a look at the code myself to figure it out [22:51] clepto1995: too difficult to imagine the problem otherwise [22:51] clepto1995: fix the build issues, and then I can see what the issue is and how it can be fixed [22:51] nik90_, i'll ping you when i fixed them tomorrow then [22:51] goodnight! [22:51] clepto1995: I will be free in the evening [22:51] clepto1995: gud nite [22:54] may i suggest a less bright gradient on the weather app [22:55] i think my corneas just lost a layer when I opened it just now :P [22:56] * randomcpp opens weather app. My eyes >.< [23:01] nik90_, I'm changing all the path (both settings and db, don't worry if you lose all your precious recipes :) ) [23:21] mhall119, hey do you know why we have empty icons for sudoku and Stock ticker in the dash ? [23:21] is there a way to remove them? not helping for my OCD [23:24] om26er, sudoku is not empty on my device [23:25] snwh, but stock ticker is ? [23:25] yea [23:25] haha [23:25] you can apt-get remove both :) [23:25] I think they are click packages or something [23:25] trying apt-get to see [23:26] yeah they are installed in /opt/click.ubuntu.com [23:26] but I am not sure removing those files will actually remove the icons from the dash [23:30] I cannot say with certainty either way