/srv/irclogs.ubuntu.com/2013/08/28/#ubuntu-app-devel.txt

* snwh is away: Away05:47
* snwh is back (gone 00:04:41)05:52
dpmgood morning all06:35
mihir_hi all good morning :)06:42
WebbyITI 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
WebbyITBut It doesn't work, what's wrong?08:20
dpmhi 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
ubot2`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/121008208:25
WebbyITdpm, yes, no problem :)08:26
WebbyITdpm, I think he is working on it, because he asked me about it one hour ago08:26
dpmWebbyIT, thanks. Yeah, we talked about coordinating with you before starting working on it08:27
dpmbzoltan, 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
WebbyITdpm thanks :)08:27
randomcppis there a way or a method to know if the app is running on the desktop or on a phone/tablet?08:39
AskUbuntuBehavior on listView | http://askubuntu.com/q/33827608:51
WebbyITdpm, I'm not sure how to fix bug 119884208:52
ubot2`Launchpad bug 1198842 in Ubuntu Calculator App "[Calculator app] Keyboard partly overlaps keypad instead of covering it" [High,Triaged] https://launchpad.net/bugs/119884208:52
WebbyITWell, I don't understand what is the expected behavior08:52
dpmWebbyIT, the expected behaviour is that whenever the keyboard appears, the numeric keypad is hidden08:56
WebbyITdpm, ok, thanks :)08:57
dpmWebbyIT, 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 behind08:58
dpmDoes that make it clearer?08:58
WebbyITdpm, yes, now it's clear, thanks :)08:58
dpmperfect :)08:59
mihirdpm: thank you...I'll look it into it I have already spent some of time but still will look and will revert back09:11
dpmthanks mihir09:12
mihirWebbyIT: Thank you :)09:15
bigcalmGood morning peeps :)09:22
bigcalmI 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:23
bigcalmdpm: I've been told that you might know something about the above? :)09:34
dpmhi bigcalm, let me have a look...09:35
bigcalmThanks :)09:35
dpmbigcalm, 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:37
bigcalmdpm: 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 does09:41
bigcalmdpm: thanks for letting me know what's happening with the SDK. I'll see what I can work out :)09:43
dpmbigcalm, 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 yourself09:43
dpmno worries :)09:43
bzoltandpm: for listview/positionview  issues ping timp10:08
dpmWebbyIT, ^10:12
dpmthanks bzoltan10:12
WebbyITthanks bzoltan10:13
timpgusch: is the share menu missing from gallery-app? and the "add photo to album" popover acts weird10:21
timpor maybe today's image is completely a mess...10:22
WebbyITtimp, please, can you help me with a ListView?10:22
WebbyITI 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:22
guschtimp: the share changed to the new component, was worked nice 2 days ago10:23
guschtimp: I didn't use/touch that popover since ages10:24
timpWebbyIT: I don't see anything obviously wrong with that, but perhaps the listview overrides behaviors on contentY.10:28
timpWebbyIT: maybe its not possible for listviews10:28
timpWebbyIT: fyi, for ValueSelector I used a transition, not behavior10:29
WebbyITtimp, ok thanks10:29
timpWebbyIT: 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:29
WebbyITtimp, it's not a real problem, because it's work with another trick, but boiko asked me if was possible to use Behavior10:30
WebbyITtimp, so, if is not possible, no problem :)10:30
timpgusch: ok, thanks. I see there were some small changes in UITK popover, but not very recently10:32
timpgusch: and some other things don't work for me also on the tablet. perhaps I should test on phone instead10:33
timp(the other things are not gallery-app related)10:33
guschtimp: oh - I should work on the gallery again ;)10:34
timpgusch: did someone take over gallery from you? or is nobody working on it now?10:34
randomcppcan anyone help me with ConditionalLayouts?11:13
clepto1995randomcpp, what you need?11:16
randomcppclepto1995, I have two conditionals11:16
randomcppthe first show only one widget11:16
randomcppthe second shows a rectangle (sidebar) and the previous widget11:17
randomcppwhen 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 expected11:19
randomcppbut 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 up11:19
randomcppbut the other widget changes its position and size as expected11:20
clepto1995neither does in my app11:20
clepto1995Q/11:20
clepto1995:/ can't really help i guess11:20
clepto1995actually I does work in my app11:21
clepto1995sorry :P11:21
clepto1995are all widgets visible?11:21
randomcppI didn't changed the visibilty at all11:21
randomcppI shouldn't accordingly to documentation11:22
clepto1995can you paste the conditional layouts?11:22
randomcpphttp://pastebin.ubuntu.com/6036265/11:22
bigcalmI'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:23
randomcppbigcalm, if you want you can take my cmakelists from https://github.com/random-cpp/saucybacon11:24
randomcpp(I prefer cmake rather than qmake)11:24
* bigcalm has a gander11:25
bigcalmrandomcpp: thanks11:25
randomcppnp11:25
clepto1995randomcpp, thats weird... we have look-alike codes and it works on me... I don't know11:27
clepto1995randomcpp, If I were you I'd play a little with the width and anchors11:28
clepto1995and see if it appears11:28
=== gusch is now known as gusch|lunch
randomcppclepto1995, I really don't get it11:47
randomcppclepto1995, have you updated recently? I updated yesterday evening, maybe they've introduced some bugs11:48
clepto1995randomcpp, no I haven't11:55
randomcppclepto1995, if I push my code, would you please a look at it? :)11:56
clepto1995randomcpp, ok11:58
clepto1995randomcpp, I currently having an odd problem myself with a listview, maybe you can help me later :P11:59
randomcppofc :)12:00
randomcppclepto1995, ok I've pushed the code12:01
randomcppinstructions are available in the README for the c++ plugin12:02
clepto1995randomcpp, http://pastebin.ubuntu.com/6036377/12:05
randomcppclepto1995, remove those lines12:09
=== gusch|lunch is now known as gusch
* hakermania is now known as hakermania12:10
randomcppclepto1995, you should install those libraries, they are available in the sdk ppa12:10
clepto1995randomcpp, you should add them to the README12:11
clepto1995randomcpp, tell me what to do after i run the app12:14
randomcppgo to search page12:15
randomcppswipe the toolbar and click search12:15
randomcppyou should see a textfield and a button12:16
randomcppif the app width is > 80 gu you should see a sidebar on the left12:16
clepto1995randomcpp, ok, give me a sex12:27
clepto1995sec*12:27
clepto1995:P12:27
randomcppclepto1995, take you time i'll be afk for lunch (~30 mins)12:28
=== randomcpp is now known as randomcpp|lunch
=== _salem is now known as salem_
clepto1995randomcpp|lunch, no idea man... I suspect it has to do with width etc but I can't get it to show12:47
=== clepto1995 is now known as clepto1995|away
clepto1995|awayrandomcpp|lunch, add Component.onCompleted: print(parent.width) on line 71 i.e , open search page, resize and you get a negative width (?)12:53
randomcpp|lunchclepto1995|away, nice12:55
=== randomcpp|lunch is now known as randomcpp
randomcppclepto1995|away, yeah but .onDestruction the widths are correct12:57
randomcppclepto1995|away, and on the sidebar the width is fixed to units.gu(35)12:58
randomcppclepto1995|away, If I add the sidebar in the first conditional then it shows up13:11
mefriorandomcpp, are you working on conditional layout with a sidebar?13:12
randomcppmefrio, yeah but not the iBelieve's sidebar13:13
mefriorandomcpp, ok13:13
randomcppmefrio, I'm having problems with conditional in general13:13
mefriorandomcpp, what do you need to do?13:13
mefriorandomcpp, I tested latest commit and the UI is a bit messed13:13
randomcppmefrio, don't look at the editpage13:14
AskUbuntuUbuntu SDK on Ubuntu 13.04 | http://askubuntu.com/q/33838713:31
WebbyITdpm, there is a tag for bugs related only to device?13:58
WebbyITdpm, bugs that don't affects computer, I mean13:59
randomcppcan't I define a ItemLayout without a height and width? and leave these property to the item itself?14:11
randomcppok solved14:12
randomcppI need to specify the ItemLayout height14:13
randomcppbut I can use buttonId.height without ending in a loop14:13
om26erhow do i set up a armhf environment on my x86 system to build some arm debs ?15:00
Laneyom26er: sbuild can do that; mk-sbuild --arch armhf saucy15:03
om26erLaney, cool, trying that15:03
Laneyqemu isn't perfect, mind15:03
om26erLaney, it says: W: Retrying failed download of http://ports.ubuntu.com/ubuntu-ports/dists/saucy/main/binary-armhf/Packages.bz215:19
om26erbut I can download that thing separately fine15:20
om26erwhat could be wrong15:20
Laneydon't know15:20
Laneythat message comes from debootstrap15:20
=== clepto1995|away is now known as clepto1995
clepto1995iBelieve, hi!15:34
iBelieveclepto1995, hi15:34
clepto1995do you have a minute to help me with something?15:34
iBelieveclepto1995, sure15:35
randomcppiBelieve, ping15:35
iBelieverandomcpp, pong15:36
iBelieveclepto1995, what do you want help with?15:36
randomcppI'm trying to use your sidebar15:36
randomcppbut when I try to put a ListView inside I only see the first item15:36
clepto1995iBelieve, wait, i'll explain15:36
clepto1995iBelieve, pull the latest commit and run the app15:38
iBelieverandomcpp, 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
iBelieveclepto1995, okay15:38
randomcppiBelieve, I've pulled the repo this morning15:38
iBelieverandomcpp, was it working before?15:38
randomcppthat's the first time I'm using that actually15:39
clepto1995iBelieve, then create a note with just title and body, swipe it so it moves to the archive and on the toolbar click archive15:39
iBelieveclepto1995, one sec, it's cloning right now15:40
clepto1995let me know when you are ready15:40
randomcppiBelieve, btw there's a flickable in Sidebar.qml15:40
iBelieverandomcpp, I'm thinking it's because of the Flickable. I'll try something in a second or two15:41
iBelieveclepto1995, when I run it, I get module "DirParser" is not installed15:41
clepto1995iBelieve, you have 64bit?15:42
iBelieveclepto1995, yes15:42
clepto1995iBelieve, give me a couple of minutes to solve some stuff15:43
clepto1995sorty15:43
clepto1995sorry*15:43
iBelieveclepto1995, okay, no problem15:44
iBelieverandomcpp, I15:44
iBelieverandomcpp, I15:44
randomcppiBelieve, yes15:44
iBelieverandomcpp, I'm going to try changing some code to work if it has a flickable child (listview)15:44
iBelieverandomcpp, (sorry, I kept hitting enter by mistake)15:44
randomcppiBelieve, I've just introduced the extraWideAspect xD15:49
clepto1995iBelieve, pull this https://github.com/Clepto/dirParserPlugin and compile15:49
iBelieverandomcpp, what's that?15:50
iBelieveclepto1995, okay15:50
randomcppsomething like desktop mode, with a 3 column layout15:50
randomcppfor width > 130 gu15:50
clepto1995then move the *.so in DirParser to the same folder on CNotes folder15:51
iBelieverandomcpp, ah, cool15:51
iBelieverandomcpp, I fixed the Sidebar, I'll push in just a second and explain how to do what you're trying to do15:52
randomcppok thanks15:52
iBelieveclepto1995, I'm compiling it right now15:55
iBelieverandomcpp, okay, just pushed. With the updated version, just set autoFlick to false to disable the built-in flickable and allow anchors.fill to work15:56
randomcppok now it works thank you15:58
iBelieverandomcpp, good!15:59
iBelieveclepto1995, I copied *.so to the root cnotes-ubuntu-touch folder and also the DirFolder directory inside that, and I still got the error16:00
iBelieveclepto1995, I figured it out.16:01
clepto1995iBelieve, ok16:01
clepto1995run, create note, swipe it16:01
iBelieveclepto1995, the run target in the Makefile doesn't include the local directory when running qmlscene16:01
clepto1995iBelieve, i don't know what that means, its hakermania's plugin16:02
iBelieveclepto1995, 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 undefined16:02
clepto1995ok that weird16:03
clepto1995i don't get that16:04
clepto1995what did you added?16:04
clepto1995in the note i mean16:04
neokoreballons, are you available for an autopilot doubt?16:07
iBelieveclepto1995, all I did was start the app, create a new note, and add a title.16:08
iBelieveclepto1995, I also got this error: file:///data/mspencer/Programs/showdown/cnotes-ubuntu-touch/Storage.js:229: Error: no such table: categories Unable to execute statement16:08
clepto1995iBelieve, that the problem, line 162 CNotes.qml commented it16:09
neokoresorry I mean balloons (missed the second o)16:09
hakermaniaiBelieve, 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
clepto1995iBelieve, run, close, uncomment and re-run16:09
iBelieveclepto1995, now it works!16:10
randomcppdoes anyone know how to set an animation when the layout changes? (I'm using ConditionalLayouts)16:10
iBelievehakermania, no, the problem was I wasn't including your plugin in the QML include path16:11
hakermaniaiBelieve, good.16:11
iBelieverandomcpp, I don't use ConditionalLayouts. I just use negative/zero margins and a Behavior to make things slide on and off the screen16:11
randomcppiBelieve, yeah that's what I using before too16:12
randomcppConditionalLayouts seems to be recommended16:12
randomcppbut they work awfully16:12
balloonsneokore, what's up? :-016:13
* balloons waves at iBelieve 16:13
randomcppI think I'll switch back to Grids and margins16:13
iBelieverandomcpp, 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 mode16:14
iBelieveclepto1995, so I archived the note and then went to Archived notes. What next?16:14
clepto1995in the toolbar click notes, its empty right?16:15
randomcppiBelieve, the worst part is that you need to specify a height and a width16:15
randomcppeach time16:15
randomcppfor each item16:16
Mihirdpm:  are session still airing ?16:16
iBelieveclepto1995, 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 growing16:17
=== dholbach_ is now known as dholbach
clepto1995iBelieve, bugs keeps appearing :@16:19
wellsbAs it turns out, GradientStop.color is a non-notifyable property.  There must be another way to resolve Bug #121757816:19
ubot2`Launchpad bug 1217578 in Ubuntu UI Toolkit "Button does not reflect changes to GradientStop.color" [Undecided,New] https://launchpad.net/bugs/121757816:19
clepto1995iBelieve, wait to rethink my logic16:19
clepto1995quick question, when an item is swiped from a listview its removed from the model too?16:26
iBelieveclepto1995, no. you have to do it yourself.16:26
iBelieveclepto1995, because the list item has no concept of how your model works16:27
=== dholbach_ is now known as dholbach
clepto1995i get a weird error when trying to remove it16:27
clepto1995iBelieve, QQmlVMEMetaObject: Internal error - attempted to evaluate a function in an invalid context16:27
iBelieveclepto1995, but I think there is a much better and simpler way to handle archived tasks then by using two separate models16:27
clepto1995iBelieve, thats what i do16:28
iBelieveclepto1995, I would suggest using just one model, and then in your views, use visible to control whether your task is shown or not16:28
clepto1995iBelieve, thats not a bad idea16:33
clepto1995i have to refactor a lot of code :/16:33
guschboiko tmoenicke I'd need someone to review https://code.launchpad.net/~schwann/gallery-app/gallery-content-hub/+merge/18037816:36
iBelieveclepto1995, 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 theme16:38
randomcppiBelieve, so you don't use Ubuntu.Layouts at all?16:45
=== alex_abreu is now known as alex-abreu
iBelieverandomcpp, 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 layouts16:47
randomcppthanks for the explanation :)16:47
randomcppI find Layouts a bit useless too for what I need to do16:48
iBelieveWhat 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
iBelieve** lets16:49
nik90_randomcpp, iBelieve: hi :)17:00
nik90_been terribly busy past few days.17:00
nik90_so havent tried you guys latest build17:00
iBelievenik90_, hi :)17:00
nik90_iBelieve: I am trying to authenticate into trello17:01
randomcppnik90_, \o/17:01
nik90_iBelieve: what do I type in the authenticate box?17:01
nik90_randomcpp: saw your blog post. Nice work!17:01
randomcppthanks :)17:01
nik90_randomcpp: I am yet to try to myself. But will do so today17:01
nik90_randomcpp: have you figured how to package the c++ code in the click package?17:02
iBelievenik90_, 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 box17:02
iBelievenik90_, then the Authenticate button will turn into an Ok button. Click that17:02
nik90_iBelieve: got it working :)17:03
randomcppnik90_, tomorrow or this weekend I'll talk with a click dev or expert :)17:03
nik90_iBelieve: so it is only read only at the moment?17:03
nik90_randomcpp: perfect! May I ask a favour then? Can you blog about it if you figure it out. Will really help everyone out.17:03
randomcppnik90_, today I've lost a lot of time with the ConditionalLayouts just to remove all of them in the evening :)17:04
randomcppnik90_, sure I will!17:04
nik90_randomcpp: how come?17:04
iBelievenik90_, 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 created17:04
randomcppnik90_, I'll continue to use the old method, with the Grids17:04
randomcppI don't need special layouts17:04
nik90_randomcpp: ah okay. but wasnt the landscape interface different from the portrait layout?17:05
randomcppno not really17:05
nik90_iBelieve: okay. Will you use OAuth to connect it to Ubuntu Online Accounts? I saw that answer in your askubuntu question17:05
nik90_randomcpp: okay. go ahead with whatever best suits your purpose17:06
iBelievenik90_, 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 stuff17:06
iBelievenik90_, but it looks like it would be really nice and easy to use. I definitely want to use that if I can17:06
randomcppnik90_, with my solution I can easily add animations too17:07
nik90_iBelieve: I would guess the first step is to coordinate with kenvandine to get trello support merged into onlinen accounts first17:07
nik90_iBelieve: this way you can then just leverage it17:07
iBelievenik90_, Where should I contact him? By pinging him here?17:08
nik90_iBelieve: here or in g+17:08
nik90_randomcpp: true17:08
nik90_randomcpp: although with conditional layouts the animations should work as well since it is effectively changing x and y17:08
iBelievenik90_, I'm not that familiar with Google+, so I guess I'll just try here17:08
nik90_iBelieve: fair enough. btw the date widget is not appearing for me17:09
nik90_PopupUtils.open(): Failed to create the popup object.17:09
nik90_QQmlComponent: Component is not ready17:09
nik90_that's the error I get17:09
iBelievenik90_, try to update the ubuntu-ui-extras17:09
nik90_i did17:09
nik90_will make a clean start and try again17:10
randomcppnik90_, yeah but that was a bit awkward17:10
randomcppnik90_, iBelieve http://i.imgur.com/zEt5CGl.png17:11
iBelieverandomcpp, wow, nice job!17:12
nik90_randomcpp: nice utilization of the width!17:12
randomcppiBelieve, that's the extraWideAspect xD17:12
nik90_randomcpp: you could use a similar layout while searching as well17:12
iBelieverandomcpp, ah, cool17:12
nik90_randomcpp: what you do you mean? this is the tablet width?17:13
randomcppthen my screen isn't large enough to test a superWideAspect17:13
randomcppnik90_, what's the table width?17:13
randomcppI mean how much gus17:13
nik90_randomcpp: no idea.17:13
iBelievenik90_, I got the same error too :(17:13
randomcppnik90_, extraWide triggers at 130 gu17:14
nik90_iBelieve: ah!17:14
nik90_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 be17:15
randomcppgreat :D17:15
randomcpphttp://imgur.com/a/uRX5z <-- search17:15
iBelievenik90_, 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:15
randomcppnik90_, unfortunately I can't implement local search at the moment17:16
iBelievenik90_, now it works! I just pushed the commits17:17
nik90_randomcpp, iBelieve, clepto1995: You guys like the new icons that lucas made?17:18
nik90_iBelieve: lol17:18
randomcppwhere where where? :)17:18
clepto1995randomcpp, https://wiki.ubuntu.com/Touch/AppShowdownList17:19
nik90_randomcpp: https://wiki.ubuntu.com/Touch/AppShowdownList17:19
iBelievenik90_, looks awesome! I need to pull them from the list and add them to my project17:19
clepto1995nik90_, yeah!17:19
clepto1995seriously conditional layouts are a mess17:19
nik90_randomcpp: lucas and snwh are awesome guys building out icons for you guys!17:19
nik90_say thanks if you see them on google+ or irc17:20
clepto1995snwh, thanks man!17:20
nik90_that table is becoming bigger :P17:20
iBelievenik90_, snwh is also helping me with a UI design for Trello lists since my UI doesn't include a place from them17:21
nik90_btw iBelieve, randomcpp, clepto1995: I got a nexus 4. So expect some mobile videos of your app (hopefully this weekend)17:21
nik90_iBelieve: yes I read it somewhere (in g+ I think)17:21
randomcppnik90_, great :)17:21
clepto1995nik90_, I hope I get one too, soon ;)17:22
nik90_clepto1995: google made them more cheaper today17:22
iBelievenik90_, awesome! I've been wanting to see how it works with the keyboard in different places17:22
clepto1995nik90_, yeah I read about it... I need a new phone but I waiting for the contest to end...17:22
nik90_clepto1995: hehe17:23
randomcppclepto1995, me too :p17:23
nik90_iBelieve: I will keep that in mind17:23
clepto1995nik90_, new version is coming soon with convergence... I hope this weekend will be released17:23
nik90_clepto1995: wonderful! looking forward to try it17:24
clepto1995nik90_, after that, u1db remains from the list of major features17:24
clepto1995nik90_, I have also images and links now ;)17:24
nik90_clepto1995: okay17:24
* nik90_ is going to quickly grab something to eat (5 mins max)17:25
iBelievenik90_, 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.117:26
nik90_iBelieve: i see the correct date (today's date)17:29
iBelievenik90_, oh, good :)17:29
nik90_it looks nice17:29
randomcppkalikiana, ping17:32
randomcppkalikiana will hate me by the end of the contest :p17:32
nik90_lol17:33
=== bfiller is now known as bfiller_
=== bfiller_ is now known as bfiller
GuidoPallemansclepto1995: what does your dirparser do?17:36
randomcppiBelieve, if I put a Column with a repeater in the sidebar, should it automatically flick right?17:37
iBelieverandomcpp, yep17:37
clepto1995GuidoPallemans, creates/deletes dirs, deletes file and check if a folder exists17:37
GuidoPallemansah ok17:38
clepto1995and returns an array for the contents of a folder17:38
GuidoPallemansuhu17:38
GuidoPallemansdon't think I need it, but thanks :D17:39
GuidoPallemanswait, can it also download files?17:39
clepto1995no17:40
GuidoPallemansoh17:40
mhall119nik90_: 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 now17:40
nik90_clepto1995: you might want to ensure that your apps has those priveledges to delete files/dirs later17:40
nik90_mhall119: How should a developer add conditions to switch from one layout to another?17:41
mhall119choose based on width, or any other relevant criteria17:41
mhall119if you have the same screen space available, it shouldn't matter to your layout if it's technically on a phone, tablet or desktop window17:42
nik90_ah that's true17:43
nik90_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 widths17:44
nik90_but I think that is more of experimenting17:44
randomcppmhall119, is there a way to know if my app is running on a phone/tablet or on a desktop?17:45
randomcppmhall119, because on the desktop I'd like to restore the window as it was the last time it was opened17:46
mhall119randomcpp: you can try and do that every time, it just won't have any affect on phone and tablet17:47
randomcppmhall119, ok thanks17:47
mhall119np17:47
kalikianarandomcpp: hey dude, what's up17:51
randomcppkalikiana, I saw your last bugfix, now does the entry deletion work?17:51
kalikianarandomcpp: if you have the latest update, yes.17:53
randomcppyes I do, how should I delete an entry?17:53
kalikianadatabase.putDoc('', 'some-id')17:54
randomcppok thank you :)17:55
guschboiko bfiller I'd really like to get that landed https://code.launchpad.net/~schwann/gallery-app/gallery-content-hub/+merge/18037818:01
clepto1995if a call update() on a listview element does its contents update?18:02
nik90_clepto1995: it depends on the listview element. What is it?18:04
nik90_clepto1995: a listview will automatically update if its *elements* change.18:04
nik90_So it depends on what type of *element* you are using18:04
boikogusch: I can review it, sorry, I had to run some errands18:04
guschboiko: thx18:05
clepto1995nik90_, I need to show specific items from a listmodel according to a condition18:06
clepto1995i.e if condition is true show #1, #2 #318:06
clepto1995and if later I change the condition I want to show items #4 #5 #618:06
nik90_clepto1995: okay. Then why not just use the "visible" property to do that?18:06
nik90_visible: condition18:07
clepto1995nik90_, and will they update automatically?18:07
nik90_clepto1995: yeah18:07
clepto1995nik90_, i'll give a try later18:08
nik90_basically you are connecting visible to that condition. So if condition changes, then visible should work18:08
nik90_okay18:08
nik90_let me know if it works18:08
clepto1995ok18:08
randomcppnik90_, 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
randomcppI only promise that will18:26
randomcppthis evening I'll implement the social sharing stuff18:27
nik90_ooh cool18:27
nik90_will try it now18:27
randomcppnik90_, if you use the online search (I suggest you to try that, it's pretty cool) tell me if you find a website not supported18:29
randomcpp(probably more than one) and please open an issue18:30
randomcppso I can keep track on what's missing :)18:30
randomcppof*18:30
nik90_randomcpp: what do you mean by finding a website not supported? I only search for recipes. How would I identify the websites?18:32
nik90_randomcpp: Also isn't it possible to save a recipe I found online?18:32
randomcppnik90_, you mean by copy/pasting the link in the app?18:33
nik90_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
randomcppyou have to swipe the toolbar > edit > save18:34
randomcppat the moment18:34
randomcppthere will be a save button from there18:35
nik90_randomcpp: i did that :P But it should just be toolbar > save18:35
randomcppnik90_, I'm going to implement that now :p18:36
nik90_:)18:36
nik90_randomcpp: also pls try to get the sidebar fixed by this weekend. I want everything to work during my video review :P18:37
nik90_randomcpp: 1 last thing. The search option should be shown in a tab as well.18:38
randomcppnik90_, not possible, because that sidebar needs u1db index and query to work18:38
nik90_randomcpp: ah, then no worries18:38
randomcppand those are bugged at the moment18:38
randomcpphttps://bugs.launchpad.net/u1db-qt/+bug/121453818:38
ubot2`Launchpad bug 1214538 in U1DB Qt/ QML "Not indexing documents unless all fields are in the index expression clause" [Critical,Confirmed]18:38
randomcppnik90_, do you mean search page should be in a tab?18:39
nik90_randomcpp: what is it now actually?18:40
nik90_a pagestack?18:40
randomcppyep18:40
nik90_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 tab18:41
nik90_randomcpp: the current search button in the toolbar should be for local recipe search while the search tab is for both (preferably)18:41
nik90_or atleast online18:42
randomcppyeah but I won't be able from the recipe page view to go back to search page18:42
nik90_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:42
nik90_randomcpp: you can18:43
nik90_when you press back in a page, it returns you to the tab you started in18:43
nik90_randomcpp: so in this case, it will return you to the search tab18:43
randomcppcan I put Tabs { }  inside a Page { } ?18:43
nik90_randomcpp: no18:44
nik90_randomcpp: your structure should be pagestack -> tabs18:44
nik90_and the recipe view should be a page that you push into the pagestack when necessary18:44
nik90_so when you press back, it returns to the tab18:44
nik90_so pagestack -> tabs, page (same level)18:44
randomcppnik90_, ok now I get it18:45
randomcppI thought it wasn't possible to mix tabs and page in a pagestack18:45
nik90_randomcpp: it is allowed officially. Currently done by clock, rss reader18:45
nik90_randomcpp: I think they meant that you cant have tabs inside a page18:46
boikogusch: how do I test the MR?18:46
guschboiko: you have some time left - like a few hours? ;)18:47
boikogusch: lol18:47
boikogusch: 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
guschboiko: one needs to get a branch for the content-hub18:48
guschboiko: and then set some env variables18:49
guschboiko: get another branch of the content hub18:49
guschboiko: the start all the involved apps in the right order18:49
guschboiko: and then discover that there is a mismatch in the content-hub libraries atm18:49
boikogusch: uhm, ok, maybe I will just trust you that it works and do just a code review18:50
guschboiko: to see it in action https://plus.google.com/115879243203166014582/posts/6YtqRNaU9zF18:50
randomcppnik90_, ok direct saving works18:51
guschboiko: I guess I will have to fix the one or the other issue, but this MR will help to bootstrap the content hub18:51
boikogusch: ok, makes sense18:51
randomcppI've added an action to open the recipe in the browser18:51
randomcppit just misses and icon and the implementation18:52
randomcppbut a line of c++ code should do all the work18:52
randomcppnik90_, I moved those pages as you requested, take a look if it's ok now if you want19:10
hakermaniaI 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 documentation19:54
hakermania(I am not building the menu through a char *), but manually.19:55
GuidoPallemanshakermania: you may want to ask in ubuntu-devel, this is more for youch apps20:05
GuidoPallemanstouch*20:05
hakermaniaGuidoPallemans, thanks.20:05
AskUbuntuWhy does Qt Creator say no active project | http://askubuntu.com/q/33858020:33
nik90_randomcpp: you there?21:16
randomcppnik90_, yup21:16
randomcppnik90_, I'm writing an email to f2f.com21:17
nik90_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
randomcppto ask if they can give me more api calls per day for free21:17
nik90_randomcpp: the user does not care where it comes from as long as the rating is good, looks tasty :)21:17
nik90_randomcpp: but nice work integrating many online sources. The search results are good21:18
randomcppnik90_, there aren't many21:18
randomcppunfortunately21:18
randomcppand f2f.com is one of the best21:19
randomcppbigoven.com didn't reply me yet21:19
randomcppkitchenmonki has the api broken21:19
nik90_randomcpp: try emailing bigoven.com again.21:19
randomcppnik90_, I did two days ago21:19
randomcppno response21:19
nik90_oh ok21:20
randomcppon the search results: I actually like the recipe url in the subtext, because maybe I saw a nice recipe on a website21:21
randomcppand I try to search it in my app21:21
randomcppnik90_, the worst problem is the localization21:21
nik90_randomcpp: true21:22
randomcppsearch query/results are only available in english21:22
randomcppnik90_, how do you find the performance of my app? is it fast enough?21:26
nik90_randomcpp: yeah, I still need to use it on the phone to check it21:26
randomcppon a nexus 4 shouldn't be much slow21:27
randomcppnik90_, is there any widget to show in-app notification like android ones? (the small black rectangle in the bottom of the screen)21:30
nik90_randomcpp: not that I can think of. There is no design yet on how to show notifications21:33
randomcpp:/21:33
nik90_considering sdk hit beta only in july end, it is okay21:34
randomcppnik90_, okay :)21:35
randomcppnik90_, 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
randomcppnik90_, sorry if I make you lose time :(21:51
nik90_randomcpp: no worries... taking a look now21:52
randomcppthanks a lot :)21:52
AskUbuntuAccess microphone/record sound from QML? | http://askubuntu.com/q/33861021:53
=== salem_ is now known as _salem
clepto1995nik90, remember the talk we had before about listview?22:14
nik90_clepto1995: I need 5 mins22:17
clepto1995nik90_, ok22:17
lgops82ndabnhello22:20
randomcppclepto1995, I solved the previous problem.22:24
randomcppby not using ConditionalLayouts at all22:24
randomcpp>.>22:24
clepto1995randomcpp, as far as I can tell Conditional layouts should not be recommended22:25
clepto1995its awful22:25
clepto1995truly...22:25
randomcppI thought I was the only one having problems :)22:26
clepto1995randomcpp, you kidding? I spent 3-4 days trying to make the UI as I wanted22:27
randomcpplol22:27
nik90_randomcpp: http://paste.ubuntu.com/6038265/22:28
randomcppnik90_, you're awesome :)22:29
nik90_randomcpp: made some minor adjustments and some restructuring22:29
nik90_clepto1995: alrite go :)22:29
clepto1995nik90_, listview's elements are updating, regarding visible property, but the don't show in the view22:30
clepto1995nik90_, when I change the condition...22:30
nik90_clepto1995: okay, lets see if this can be done using another method.22:31
nik90_clepto1995: are there many list items that need hiding?22:31
nik90_I am assuming you are using a delegate of some sort?22:31
clepto1995nik90_, maybe, if the users create many notes22:32
clepto1995nik90_, yes, a delegate...22:32
clepto1995nik90_, do you want to try the app? maybe you'll find the problem22:32
nik90_clepto1995: what was the condition?22:32
nik90_clepto1995: sure22:33
clepto1995nik90_, the condition is where the archive should be shown or not22:33
nik90_archive category?22:34
clepto1995nik90_, you will also need to compile this https://github.com/Clepto/dirParserPlugin22:34
clepto1995nik90_, its a property, not category22:34
clepto1995I pushed22:35
nik90_clepto1995: if it is not just qml, please consider having a README.md file explaining how to build your application22:36
nik90_makes life much easier22:36
nik90_I am in the root directory now, where should I build this?22:37
clepto1995nik90_, i'll add the readme tomorrow22:37
nik90_alrite, just give me brief instruction on how to try it then22:38
clepto1995nik90_, build the plugin and move the *.so file from DirParser to the CNotes/DirParser folder22:38
nik90_clepto1995:but the plugin is already built by you22:38
nik90_I only see the .so file22:38
clepto1995if you use 64bit its going to give you an error22:39
nik90_I have 64 bit22:39
nik90_so where are the .cpp files to build?22:39
clepto1995run ls and paste22:39
nik90_which folder?22:39
clepto1995in which folder are you in?22:40
nik90_I went into the DirParser folder, and there I have libdirparserplugin.so  qmldir22:40
nik90_For me to build the plugin, I need to have .cpp, .h source files, but I see none22:40
clepto1995the DirParser is inside CNotes or dirParserPlugin?22:41
clepto1995https://github.com/Clepto/dirParserPlugin22:41
nik90_it is inside CNotes22:41
clepto1995cd into dirParserPlugin22:41
clepto1995clone the above and go to that folder22:41
nik90_why do you have 2 separate git projects?22:42
nik90_distribute as one and ask the user to compile himself22:42
clepto1995i'll merge them tomorrow22:42
nik90_okay so I have dirParserPlugin22:43
nik90_I qmake and make22:43
nik90_what do I copy over now22:43
clepto1995copy the .so from DirParser22:44
clepto1995and paste it into CNotes/DirParser22:44
nik90_then I get module "DirParser" is not installed22:45
nik90_when I run it22:45
clepto1995paste ls CNotes/DirParser22:46
nik90_libdirparserplugin.so  qmldir22:46
clepto1995no idea... wtf...22:47
nik90_clepto1995: do you mind first consolidating everything into one package with a README.md file. I will try again tomorrow22:48
nik90_clepto1995: my best guess is that the qmldir file needs modification22:48
nik90_clepto1995: try it yourself in a new folder, so you can know about these messages as well22:48
clepto1995nik90_, I'll try tomorrow... need some rest22:49
nik90_okay22:49
clepto1995nik90_, any other idea what to do with the listview?22:50
nik90_I need to have a look at the code myself to figure it out22:50
nik90_clepto1995: too difficult to imagine the problem otherwise22:51
nik90_clepto1995: fix the build issues, and then I can see what the issue is and how it can be fixed22:51
clepto1995nik90_, i'll ping you when i fixed them tomorrow then22:51
clepto1995goodnight!22:51
nik90_clepto1995: I will be free in the evening22:51
nik90_clepto1995: gud nite22:51
snwhmay i suggest a less bright gradient on the weather app22:54
snwhi think my corneas just lost a layer when I opened it just now :P22:55
* randomcpp opens weather app. My eyes >.<22:56
randomcppnik90_, I'm changing all the path (both settings and db, don't worry if you lose all your precious recipes :) )23:01
om26ermhall119, hey do you know why we have empty icons for sudoku and Stock ticker in the dash ?23:21
om26eris there a way to remove them? not helping for my OCD23:21
snwhom26er, sudoku is not empty on my device23:24
om26ersnwh, but stock ticker is ?23:25
snwhyea23:25
snwhhaha23:25
snwhyou can apt-get remove both :)23:25
om26erI think they are click packages or something23:25
om26ertrying apt-get to see23:25
om26eryeah they are installed in /opt/click.ubuntu.com23:26
om26erbut I am not sure removing those files will actually remove the icons from the dash23:26
snwhI cannot say with certainty either way23:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!