[05:47]  * snwh is away: Away
[05:52]  * snwh is back (gone 00:04:41)
[06:35] <dpm> good morning all
[06:42] <mihir_> hi all good morning :)
[08:20] <WebbyIT> 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] <WebbyIT> But It doesn't work, what's wrong?
[08:25] <dpm> 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] <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/1210082
[08:26] <WebbyIT> dpm, yes, no problem :)
[08:26] <WebbyIT> dpm, I think he is working on it, because he asked me about it one hour ago
[08:27] <dpm> WebbyIT, thanks. Yeah, we talked about coordinating with you before starting working on it
[08:27] <dpm> 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] <WebbyIT> dpm thanks :)
[08:39] <randomcpp> is there a way or a method to know if the app is running on the desktop or on a phone/tablet?
[08:51] <AskUbuntu> Behavior on listView | http://askubuntu.com/q/338276
[08:52] <WebbyIT> dpm, I'm not sure how to fix bug 1198842
[08: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/1198842
[08:52] <WebbyIT> Well, I don't understand what is the expected behavior
[08:56] <dpm> WebbyIT, the expected behaviour is that whenever the keyboard appears, the numeric keypad is hidden
[08:57] <WebbyIT> dpm, ok, thanks :)
[08:58] <dpm> 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] <dpm> Does that make it clearer?
[08:58] <WebbyIT> dpm, yes, now it's clear, thanks :)
[08:59] <dpm> perfect :)
[09:11] <mihir> 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] <dpm> thanks mihir
[09:15] <mihir> WebbyIT: Thank you :)
[09:22] <bigcalm> Good morning peeps :)
[09:23] <bigcalm> 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] <bigcalm> dpm: I've been told that you might know something about the above? :)
[09:35] <dpm> hi bigcalm, let me have a look...
[09:35] <bigcalm> Thanks :)
[09:37] <dpm> 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] <bigcalm> 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] <bigcalm> dpm: thanks for letting me know what's happening with the SDK. I'll see what I can work out :)
[09:43] <dpm> 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] <dpm> no worries :)
[10:08] <bzoltan> dpm: for listview/positionview  issues ping timp
[10:12] <dpm> WebbyIT, ^
[10:12] <dpm> thanks bzoltan
[10:13] <WebbyIT> thanks bzoltan
[10:21] <timp> gusch: is the share menu missing from gallery-app? and the "add photo to album" popover acts weird
[10:22] <timp> or maybe today's image is completely a mess...
[10:22] <WebbyIT> timp, please, can you help me with a ListView?
[10:22] <WebbyIT> 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] <gusch> timp: the share changed to the new component, was worked nice 2 days ago
[10:24] <gusch> timp: I didn't use/touch that popover since ages
[10:28] <timp> WebbyIT: I don't see anything obviously wrong with that, but perhaps the listview overrides behaviors on contentY.
[10:28] <timp> WebbyIT: maybe its not possible for listviews
[10:29] <timp> WebbyIT: fyi, for ValueSelector I used a transition, not behavior
[10:29] <WebbyIT> timp, ok thanks
[10:29] <timp> 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] <WebbyIT> 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] <WebbyIT> timp, so, if is not possible, no problem :)
[10:32] <timp> gusch: ok, thanks. I see there were some small changes in UITK popover, but not very recently
[10:33] <timp> gusch: and some other things don't work for me also on the tablet. perhaps I should test on phone instead
[10:33] <timp> (the other things are not gallery-app related)
[10:34] <gusch> timp: oh - I should work on the gallery again ;)
[10:34] <timp> gusch: did someone take over gallery from you? or is nobody working on it now?
[11:13] <randomcpp> can anyone help me with ConditionalLayouts?
[11:16] <clepto1995> randomcpp, what you need?
[11:16] <randomcpp> clepto1995, I have two conditionals
[11:16] <randomcpp> the first show only one widget
[11:17] <randomcpp> the second shows a rectangle (sidebar) and the previous widget
[11:19] <randomcpp> 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] <randomcpp> 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] <randomcpp> but the other widget changes its position and size as expected
[11:20] <clepto1995> neither does in my app
[11:20] <clepto1995> Q/
[11:20] <clepto1995> :/ can't really help i guess
[11:21] <clepto1995> actually I does work in my app
[11:21] <clepto1995> sorry :P
[11:21] <clepto1995> are all widgets visible?
[11:21] <randomcpp> I didn't changed the visibilty at all
[11:22] <randomcpp> I shouldn't accordingly to documentation
[11:22] <clepto1995> can you paste the conditional layouts?
[11:22] <randomcpp> http://pastebin.ubuntu.com/6036265/
[11:23] <bigcalm> 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] <randomcpp> bigcalm, if you want you can take my cmakelists from https://github.com/random-cpp/saucybacon
[11:24] <randomcpp> (I prefer cmake rather than qmake)
[11:25]  * bigcalm has a gander
[11:25] <bigcalm> randomcpp: thanks
[11:25] <randomcpp> np
[11:27] <clepto1995> randomcpp, thats weird... we have look-alike codes and it works on me... I don't know
[11:28] <clepto1995> randomcpp, If I were you I'd play a little with the width and anchors
[11:28] <clepto1995> and see if it appears
[11:47] <randomcpp> clepto1995, I really don't get it
[11:48] <randomcpp> clepto1995, have you updated recently? I updated yesterday evening, maybe they've introduced some bugs
[11:55] <clepto1995> randomcpp, no I haven't
[11:56] <randomcpp> clepto1995, if I push my code, would you please a look at it? :)
[11:58] <clepto1995> randomcpp, ok
[11:59] <clepto1995> randomcpp, I currently having an odd problem myself with a listview, maybe you can help me later :P
[12:00] <randomcpp> ofc :)
[12:01] <randomcpp> clepto1995, ok I've pushed the code
[12:02] <randomcpp> instructions are available in the README for the c++ plugin
[12:05] <clepto1995> randomcpp, http://pastebin.ubuntu.com/6036377/
[12:09] <randomcpp> clepto1995, remove those lines
[12:10]  * hakermania is now known as hakermania
[12:10] <randomcpp> clepto1995, you should install those libraries, they are available in the sdk ppa
[12:11] <clepto1995> randomcpp, you should add them to the README
[12:14] <clepto1995> randomcpp, tell me what to do after i run the app
[12:15] <randomcpp> go to search page
[12:15] <randomcpp> swipe the toolbar and click search
[12:16] <randomcpp> you should see a textfield and a button
[12:16] <randomcpp> if the app width is > 80 gu you should see a sidebar on the left
[12:27] <clepto1995> randomcpp, ok, give me a sex
[12:27] <clepto1995> sec*
[12:27] <clepto1995> :P
[12:28] <randomcpp> clepto1995, take you time i'll be afk for lunch (~30 mins)
[12:47] <clepto1995> randomcpp|lunch, no idea man... I suspect it has to do with width etc but I can't get it to show
[12:53] <clepto1995|away> 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] <randomcpp|lunch> clepto1995|away, nice
[12:57] <randomcpp> clepto1995|away, yeah but .onDestruction the widths are correct
[12:58] <randomcpp> clepto1995|away, and on the sidebar the width is fixed to units.gu(35)
[13:11] <randomcpp> clepto1995|away, If I add the sidebar in the first conditional then it shows up
[13:12] <mefrio> randomcpp, are you working on conditional layout with a sidebar?
[13:13] <randomcpp> mefrio, yeah but not the iBelieve's sidebar
[13:13] <mefrio> randomcpp, ok
[13:13] <randomcpp> mefrio, I'm having problems with conditional in general
[13:13] <mefrio> randomcpp, what do you need to do?
[13:13] <mefrio> randomcpp, I tested latest commit and the UI is a bit messed
[13:14] <randomcpp> mefrio, don't look at the editpage
[13:31] <AskUbuntu> Ubuntu SDK on Ubuntu 13.04 | http://askubuntu.com/q/338387
[13:58] <WebbyIT> dpm, there is a tag for bugs related only to device?
[13:59] <WebbyIT> dpm, bugs that don't affects computer, I mean
[14:11] <randomcpp> can't I define a ItemLayout without a height and width? and leave these property to the item itself?
[14:12] <randomcpp> ok solved
[14:13] <randomcpp> I need to specify the ItemLayout height
[14:13] <randomcpp> but I can use buttonId.height without ending in a loop
[15:00] <om26er> how do i set up a armhf environment on my x86 system to build some arm debs ?
[15:03] <Laney> om26er: sbuild can do that; mk-sbuild --arch armhf saucy
[15:03] <om26er> Laney, cool, trying that
[15:03] <Laney> qemu isn't perfect, mind
[15:19] <om26er> Laney, it says: W: Retrying failed download of http://ports.ubuntu.com/ubuntu-ports/dists/saucy/main/binary-armhf/Packages.bz2
[15:20] <om26er> but I can download that thing separately fine
[15:20] <om26er> what could be wrong
[15:20] <Laney> don't know
[15:20] <Laney> that message comes from debootstrap
[15:34] <clepto1995> iBelieve, hi!
[15:34] <iBelieve> clepto1995, hi
[15:34] <clepto1995> do you have a minute to help me with something?
[15:35] <iBelieve> clepto1995, sure
[15:35] <randomcpp> iBelieve, ping
[15:36] <iBelieve> randomcpp, pong
[15:36] <iBelieve> clepto1995, what do you want help with?
[15:36] <randomcpp> I'm trying to use your sidebar
[15:36] <randomcpp> but when I try to put a ListView inside I only see the first item
[15:36] <clepto1995> iBelieve, wait, i'll explain
[15:38] <clepto1995> iBelieve, pull the latest commit and run the app
[15:38] <iBelieve> 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] <iBelieve> clepto1995, okay
[15:38] <randomcpp> iBelieve, I've pulled the repo this morning
[15:38] <iBelieve> randomcpp, was it working before?
[15:39] <randomcpp> that's the first time I'm using that actually
[15:39] <clepto1995> 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] <iBelieve> clepto1995, one sec, it's cloning right now
[15:40] <clepto1995> let me know when you are ready
[15:40] <randomcpp> iBelieve, btw there's a flickable in Sidebar.qml
[15:41] <iBelieve> randomcpp, I'm thinking it's because of the Flickable. I'll try something in a second or two
[15:41] <iBelieve> clepto1995, when I run it, I get module "DirParser" is not installed
[15:42] <clepto1995> iBelieve, you have 64bit?
[15:42] <iBelieve> clepto1995, yes
[15:43] <clepto1995> iBelieve, give me a couple of minutes to solve some stuff
[15:43] <clepto1995> sorty
[15:43] <clepto1995> sorry*
[15:44] <iBelieve> clepto1995, okay, no problem
[15:44] <iBelieve> randomcpp, I
[15:44] <iBelieve> randomcpp, I
[15:44] <randomcpp> iBelieve, yes
[15:44] <iBelieve> randomcpp, I'm going to try changing some code to work if it has a flickable child (listview)
[15:44] <iBelieve> randomcpp, (sorry, I kept hitting enter by mistake)
[15:49] <randomcpp> iBelieve, I've just introduced the extraWideAspect xD
[15:49] <clepto1995> iBelieve, pull this https://github.com/Clepto/dirParserPlugin and compile
[15:50] <iBelieve> randomcpp, what's that?
[15:50] <iBelieve> clepto1995, okay
[15:50] <randomcpp> something like desktop mode, with a 3 column layout
[15:50] <randomcpp> for width > 130 gu
[15:51] <clepto1995> then move the *.so in DirParser to the same folder on CNotes folder
[15:51] <iBelieve> randomcpp, ah, cool
[15:52] <iBelieve> 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] <randomcpp> ok thanks
[15:55] <iBelieve> clepto1995, I'm compiling it right now
[15:56] <iBelieve> 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] <randomcpp> ok now it works thank you
[15:59] <iBelieve> randomcpp, good!
[16:00] <iBelieve> 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] <iBelieve> clepto1995, I figured it out.
[16:01] <clepto1995> iBelieve, ok
[16:01] <clepto1995> run, create note, swipe it
[16:01] <iBelieve> clepto1995, the run target in the Makefile doesn't include the local directory when running qmlscene
[16:02] <clepto1995> iBelieve, i don't know what that means, its hakermania's plugin
[16:02] <iBelieve> 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] <clepto1995> ok that weird
[16:04] <clepto1995> i don't get that
[16:04] <clepto1995> what did you added?
[16:04] <clepto1995> in the note i mean
[16:07] <neokore> ballons, are you available for an autopilot doubt?
[16:08] <iBelieve> clepto1995, all I did was start the app, create a new note, and add a title.
[16:08] <iBelieve> 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] <clepto1995> iBelieve, that the problem, line 162 CNotes.qml commented it
[16:09] <neokore> sorry I mean balloons (missed the second o)
[16:09] <hakermania> 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] <clepto1995> iBelieve, run, close, uncomment and re-run
[16:10] <iBelieve> clepto1995, now it works!
[16:10] <randomcpp> does anyone know how to set an animation when the layout changes? (I'm using ConditionalLayouts)
[16:11] <iBelieve> hakermania, no, the problem was I wasn't including your plugin in the QML include path
[16:11] <hakermania> iBelieve, good.
[16:11] <iBelieve> 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] <randomcpp> iBelieve, yeah that's what I using before too
[16:12] <randomcpp> ConditionalLayouts seems to be recommended
[16:12] <randomcpp> but they work awfully
[16:13] <balloons> neokore, what's up? :-0
[16:13]  * balloons waves at iBelieve 
[16:13] <randomcpp> I think I'll switch back to Grids and margins
[16:14] <iBelieve> 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] <iBelieve> clepto1995, so I archived the note and then went to Archived notes. What next?
[16:15] <clepto1995> in the toolbar click notes, its empty right?
[16:15] <randomcpp> iBelieve, the worst part is that you need to specify a height and a width
[16:15] <randomcpp> each time
[16:16] <randomcpp> for each item
[16:16] <Mihir> dpm:  are session still airing ?
[16:17] <iBelieve> 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
[16:19] <clepto1995> iBelieve, bugs keeps appearing :@
[16:19] <wellsb> As it turns out, GradientStop.color is a non-notifyable property.  There must be another way to resolve Bug #1217578
[16:19] <ubot2`> Launchpad bug 1217578 in Ubuntu UI Toolkit "Button does not reflect changes to GradientStop.color" [Undecided,New] https://launchpad.net/bugs/1217578
[16:19] <clepto1995> iBelieve, wait to rethink my logic
[16:26] <clepto1995> quick question, when an item is swiped from a listview its removed from the model too?
[16:26] <iBelieve> clepto1995, no. you have to do it yourself.
[16:27] <iBelieve> clepto1995, because the list item has no concept of how your model works
[16:27] <clepto1995> i get a weird error when trying to remove it
[16:27] <clepto1995> iBelieve, QQmlVMEMetaObject: Internal error - attempted to evaluate a function in an invalid context
[16:27] <iBelieve> clepto1995, but I think there is a much better and simpler way to handle archived tasks then by using two separate models
[16:28] <clepto1995> iBelieve, thats what i do
[16:28] <iBelieve> 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] <clepto1995> iBelieve, thats not a bad idea
[16:33] <clepto1995> i have to refactor a lot of code :/
[16:36] <gusch> boiko tmoenicke I'd need someone to review https://code.launchpad.net/~schwann/gallery-app/gallery-content-hub/+merge/180378
[16:38] <iBelieve> 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] <randomcpp> iBelieve, so you don't use Ubuntu.Layouts at all?
[16:47] <iBelieve> 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] <randomcpp> thanks for the explanation :)
[16:48] <randomcpp> I find Layouts a bit useless too for what I need to do
[16:49] <iBelieve> 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] <iBelieve> ** lets
[17:00] <nik90_> randomcpp, iBelieve: hi :)
[17:00] <nik90_> been terribly busy past few days.
[17:00] <nik90_> so havent tried you guys latest build
[17:00] <iBelieve> nik90_, hi :)
[17:01] <nik90_> iBelieve: I am trying to authenticate into trello
[17:01] <randomcpp> nik90_, \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] <randomcpp> thanks :)
[17:01] <nik90_> randomcpp: I am yet to try to myself. But will do so today
[17:02] <nik90_> randomcpp: have you figured how to package the c++ code in the click package?
[17:02] <iBelieve> 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] <iBelieve> nik90_, then the Authenticate button will turn into an Ok button. Click that
[17:03] <nik90_> iBelieve: got it working :)
[17:03] <randomcpp> nik90_, 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:04] <randomcpp> nik90_, today I've lost a lot of time with the ConditionalLayouts just to remove all of them in the evening :)
[17:04] <randomcpp> nik90_, sure I will!
[17:04] <nik90_> randomcpp: how come?
[17:04] <iBelieve> 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] <randomcpp> nik90_, I'll continue to use the old method, with the Grids
[17:04] <randomcpp> I don't need special layouts
[17:05] <nik90_> randomcpp: ah okay. but wasnt the landscape interface different from the portrait layout?
[17:05] <randomcpp> no not really
[17:05] <nik90_> iBelieve: okay. Will you use OAuth to connect it to Ubuntu Online Accounts? I saw that answer in your askubuntu question
[17:06] <nik90_> randomcpp: okay. go ahead with whatever best suits your purpose
[17:06] <iBelieve> 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] <iBelieve> 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] <randomcpp> nik90_, with my solution I can easily add animations too
[17:07] <nik90_> iBelieve: I would guess the first step is to coordinate with kenvandine to get trello support merged into onlinen accounts first
[17:07] <nik90_> iBelieve: this way you can then just leverage it
[17:08] <iBelieve> nik90_, Where should I contact him? By pinging him here?
[17:08] <nik90_> iBelieve: here or in g+
[17:08] <nik90_> randomcpp: true
[17:08] <nik90_> randomcpp: although with conditional layouts the animations should work as well since it is effectively changing x and y
[17:08] <iBelieve> nik90_, I'm not that familiar with Google+, so I guess I'll just try here
[17:09] <nik90_> iBelieve: fair enough. btw the date widget is not appearing for me
[17:09] <nik90_> PopupUtils.open(): Failed to create the popup object.
[17:09] <nik90_> QQmlComponent: Component is not ready
[17:09] <nik90_> that's the error I get
[17:09] <iBelieve> nik90_, try to update the ubuntu-ui-extras
[17:09] <nik90_> i did
[17:10] <nik90_> will make a clean start and try again
[17:10] <randomcpp> nik90_, yeah but that was a bit awkward
[17:11] <randomcpp> nik90_, iBelieve http://i.imgur.com/zEt5CGl.png
[17:12] <iBelieve> randomcpp, wow, nice job!
[17:12] <nik90_> randomcpp: nice utilization of the width!
[17:12] <randomcpp> iBelieve, that's the extraWideAspect xD
[17:12] <nik90_> randomcpp: you could use a similar layout while searching as well
[17:12] <iBelieve> randomcpp, ah, cool
[17:13] <nik90_> randomcpp: what you do you mean? this is the tablet width?
[17:13] <randomcpp> then my screen isn't large enough to test a superWideAspect
[17:13] <randomcpp> nik90_, what's the table width?
[17:13] <randomcpp> I mean how much gus
[17:13] <nik90_> randomcpp: no idea.
[17:13] <iBelieve> nik90_, I got the same error too :(
[17:14] <randomcpp> nik90_, extraWide triggers at 130 gu
[17:14] <nik90_> iBelieve: ah!
[17:15] <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 be
[17:15] <randomcpp> great :D
[17:15] <randomcpp> http://imgur.com/a/uRX5z <-- search
[17:15] <iBelieve> 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] <randomcpp> nik90_, unfortunately I can't implement local search at the moment
[17:17] <iBelieve> nik90_, now it works! I just pushed the commits
[17:18] <nik90_> randomcpp, iBelieve, clepto1995: You guys like the new icons that lucas made?
[17:18] <nik90_> iBelieve: lol
[17:18] <randomcpp> where where where? :)
[17:19] <clepto1995> randomcpp, https://wiki.ubuntu.com/Touch/AppShowdownList
[17:19] <nik90_> randomcpp: https://wiki.ubuntu.com/Touch/AppShowdownList
[17:19] <iBelieve> nik90_, looks awesome! I need to pull them from the list and add them to my project
[17:19] <clepto1995> nik90_, yeah!
[17:19] <clepto1995> seriously conditional layouts are a mess
[17:19] <nik90_> randomcpp: lucas and snwh are awesome guys building out icons for you guys!
[17:20] <nik90_> say thanks if you see them on google+ or irc
[17:20] <clepto1995> snwh, thanks man!
[17:20] <nik90_> that table is becoming bigger :P
[17:21] <iBelieve> 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] <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] <randomcpp> nik90_, great :)
[17:22] <clepto1995> nik90_, I hope I get one too, soon ;)
[17:22] <nik90_> clepto1995: google made them more cheaper today
[17:22] <iBelieve> nik90_, awesome! I've been wanting to see how it works with the keyboard in different places
[17:22] <clepto1995> nik90_, yeah I read about it... I need a new phone but I waiting for the contest to end...
[17:23] <nik90_> clepto1995: hehe
[17:23] <randomcpp> clepto1995, me too :p
[17:23] <nik90_> iBelieve: I will keep that in mind
[17:23] <clepto1995> nik90_, new version is coming soon with convergence... I hope this weekend will be released
[17:24] <nik90_> clepto1995: wonderful! looking forward to try it
[17:24] <clepto1995> nik90_, after that, u1db remains from the list of major features
[17:24] <clepto1995> nik90_, I have also images and links now ;)
[17:24] <nik90_> clepto1995: okay
[17:25]  * nik90_ is going to quickly grab something to eat (5 mins max)
[17:26] <iBelieve> 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] <nik90_> iBelieve: i see the correct date (today's date)
[17:29] <iBelieve> nik90_, oh, good :)
[17:29] <nik90_> it looks nice
[17:32] <randomcpp> kalikiana, ping
[17:32] <randomcpp> kalikiana will hate me by the end of the contest :p
[17:33] <nik90_> lol
[17:36] <GuidoPallemans> clepto1995: what does your dirparser do?
[17:37] <randomcpp> iBelieve, if I put a Column with a repeater in the sidebar, should it automatically flick right?
[17:37] <iBelieve> randomcpp, yep
[17:37] <clepto1995> GuidoPallemans, creates/deletes dirs, deletes file and check if a folder exists
[17:38] <GuidoPallemans> ah ok
[17:38] <clepto1995> and returns an array for the contents of a folder
[17:38] <GuidoPallemans> uhu
[17:39] <GuidoPallemans> don't think I need it, but thanks :D
[17:39] <GuidoPallemans> wait, can it also download files?
[17:40] <clepto1995> no
[17:40] <GuidoPallemans> oh
[17:40] <mhall119> 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] <nik90_> clepto1995: you might want to ensure that your apps has those priveledges to delete files/dirs later
[17:41] <nik90_> mhall119: How should a developer add conditions to switch from one layout to another?
[17:41] <mhall119> choose based on width, or any other relevant criteria
[17:42] <mhall119> 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] <nik90_> ah that's true
[17:44] <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 widths
[17:44] <nik90_> but I think that is more of experimenting
[17:45] <randomcpp> mhall119, is there a way to know if my app is running on a phone/tablet or on a desktop?
[17:46] <randomcpp> mhall119, because on the desktop I'd like to restore the window as it was the last time it was opened
[17:47] <mhall119> randomcpp: you can try and do that every time, it just won't have any affect on phone and tablet
[17:47] <randomcpp> mhall119, ok thanks
[17:47] <mhall119> np
[17:51] <kalikiana> randomcpp: hey dude, what's up
[17:51] <randomcpp> kalikiana, I saw your last bugfix, now does the entry deletion work?
[17:53] <kalikiana> randomcpp: if you have the latest update, yes.
[17:53] <randomcpp> yes I do, how should I delete an entry?
[17:54] <kalikiana> database.putDoc('', 'some-id')
[17:55] <randomcpp> ok thank you :)
[18:01] <gusch> boiko bfiller I'd really like to get that landed https://code.launchpad.net/~schwann/gallery-app/gallery-content-hub/+merge/180378
[18:02] <clepto1995> if a call update() on a listview element does its contents update?
[18:04] <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 using
[18:04] <boiko> gusch: I can review it, sorry, I had to run some errands
[18:05] <gusch> boiko: thx
[18:06] <clepto1995> nik90_, I need to show specific items from a listmodel according to a condition
[18:06] <clepto1995> i.e if condition is true show #1, #2 #3
[18:06] <clepto1995> and if later I change the condition I want to show items #4 #5 #6
[18:06] <nik90_> clepto1995: okay. Then why not just use the "visible" property to do that?
[18:07] <nik90_> visible: condition
[18:07] <clepto1995> nik90_, and will they update automatically?
[18:07] <nik90_> clepto1995: yeah
[18:08] <clepto1995> nik90_, i'll give a try later
[18:08] <nik90_> basically you are connecting visible to that condition. So if condition changes, then visible should work
[18:08] <nik90_> okay
[18:08] <nik90_> let me know if it works
[18:08] <clepto1995> ok
[18:26] <randomcpp> 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] <randomcpp> I only promise that will
[18:27] <randomcpp> this evening I'll implement the social sharing stuff
[18:27] <nik90_> ooh cool
[18:27] <nik90_> will try it now
[18:29] <randomcpp> 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] <randomcpp> (probably more than one) and please open an issue
[18:30] <randomcpp> so I can keep track on what's missing :)
[18:30] <randomcpp> of*
[18:32] <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:33] <randomcpp> nik90_, you mean by copy/pasting the link in the app?
[18:34] <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] <randomcpp> you have to swipe the toolbar > edit > save
[18:34] <randomcpp> at the moment
[18:35] <randomcpp> there will be a save button from there
[18:35] <nik90_> randomcpp: i did that :P But it should just be toolbar > save
[18:36] <randomcpp> nik90_, I'm going to implement that now :p
[18:36] <nik90_> :)
[18:37] <nik90_> randomcpp: also pls try to get the sidebar fixed by this weekend. I want everything to work during my video review :P
[18:38] <nik90_> randomcpp: 1 last thing. The search option should be shown in a tab as well.
[18:38] <randomcpp> nik90_, not possible, because that sidebar needs u1db index and query to work
[18:38] <nik90_> randomcpp: ah, then no worries
[18:38] <randomcpp> and those are bugged at the moment
[18:38] <randomcpp> https://bugs.launchpad.net/u1db-qt/+bug/1214538
[18:38] <ubot2`> Launchpad bug 1214538 in U1DB Qt/ QML "Not indexing documents unless all fields are in the index expression clause" [Critical,Confirmed]
[18:39] <randomcpp> nik90_, do you mean search page should be in a tab?
[18:40] <nik90_> randomcpp: what is it now actually?
[18:40] <nik90_> a pagestack?
[18:40] <randomcpp> yep
[18:41] <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 tab
[18: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:42] <nik90_> or atleast online
[18:42] <randomcpp> yeah but I won't be able from the recipe page view to go back to search page
[18: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:43] <nik90_> randomcpp: you can
[18:43] <nik90_> when you press back in a page, it returns you to the tab you started in
[18:43] <nik90_> randomcpp: so in this case, it will return you to the search tab
[18:43] <randomcpp> can I put Tabs { }  inside a Page { } ?
[18:44] <nik90_> randomcpp: no
[18:44] <nik90_> randomcpp: your structure should be pagestack -> tabs
[18:44] <nik90_> and the recipe view should be a page that you push into the pagestack when necessary
[18:44] <nik90_> so when you press back, it returns to the tab
[18:44] <nik90_> so pagestack -> tabs, page (same level)
[18:45] <randomcpp> nik90_, ok now I get it
[18:45] <randomcpp> I thought it wasn't possible to mix tabs and page in a pagestack
[18:45] <nik90_> randomcpp: it is allowed officially. Currently done by clock, rss reader
[18:46] <nik90_> randomcpp: I think they meant that you cant have tabs inside a page
[18:46] <boiko> gusch: how do I test the MR?
[18:47] <gusch> boiko: you have some time left - like a few hours? ;)
[18:47] <boiko> gusch: lol
[18:48] <boiko> 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] <gusch> boiko: one needs to get a branch for the content-hub
[18:49] <gusch> boiko: and then set some env variables
[18:49] <gusch> boiko: get another branch of the content hub
[18:49] <gusch> boiko: the start all the involved apps in the right order
[18:49] <gusch> boiko: and then discover that there is a mismatch in the content-hub libraries atm
[18:50] <boiko> gusch: uhm, ok, maybe I will just trust you that it works and do just a code review
[18:50] <gusch> boiko: to see it in action https://plus.google.com/115879243203166014582/posts/6YtqRNaU9zF
[18:51] <randomcpp> nik90_, ok direct saving works
[18:51] <gusch> 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] <boiko> gusch: ok, makes sense
[18:51] <randomcpp> I've added an action to open the recipe in the browser
[18:52] <randomcpp> it just misses and icon and the implementation
[18:52] <randomcpp> but a line of c++ code should do all the work
[19:10] <randomcpp> nik90_, I moved those pages as you requested, take a look if it's ok now if you want
[19:54] <hakermania> 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] <hakermania> (I am not building the menu through a char *), but manually.
[20:05] <GuidoPallemans> hakermania: you may want to ask in ubuntu-devel, this is more for youch apps
[20:05] <GuidoPallemans> touch*
[20:05] <hakermania> GuidoPallemans, thanks.
[20:33] <AskUbuntu> Why does Qt Creator say no active project | http://askubuntu.com/q/338580
[21:16] <nik90_> randomcpp: you there?
[21:16] <randomcpp> nik90_, yup
[21:17] <randomcpp> nik90_, I'm writing an email to f2f.com
[21: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] <randomcpp> to ask if they can give me more api calls per day for free
[21:17] <nik90_> randomcpp: the user does not care where it comes from as long as the rating is good, looks tasty :)
[21:18] <nik90_> randomcpp: but nice work integrating many online sources. The search results are good
[21:18] <randomcpp> nik90_, there aren't many
[21:18] <randomcpp> unfortunately
[21:19] <randomcpp> and f2f.com is one of the best
[21:19] <randomcpp> bigoven.com didn't reply me yet
[21:19] <randomcpp> kitchenmonki has the api broken
[21:19] <nik90_> randomcpp: try emailing bigoven.com again.
[21:19] <randomcpp> nik90_, I did two days ago
[21:19] <randomcpp> no response
[21:20] <nik90_> oh ok
[21:21] <randomcpp> 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] <randomcpp> and I try to search it in my app
[21:21] <randomcpp> nik90_, the worst problem is the localization
[21:22] <nik90_> randomcpp: true
[21:22] <randomcpp> search query/results are only available in english
[21:26] <randomcpp> nik90_, 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 it
[21:27] <randomcpp> on a nexus 4 shouldn't be much slow
[21:30] <randomcpp> 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] <nik90_> randomcpp: not that I can think of. There is no design yet on how to show notifications
[21:33] <randomcpp> :/
[21:34] <nik90_> considering sdk hit beta only in july end, it is okay
[21:35] <randomcpp> nik90_, okay :)
[21:51] <randomcpp> 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] <randomcpp> nik90_, sorry if I make you lose time :(
[21:52] <nik90_> randomcpp: no worries... taking a look now
[21:52] <randomcpp> thanks a lot :)
[21:53] <AskUbuntu> Access microphone/record sound from QML? | http://askubuntu.com/q/338610
[22:14] <clepto1995> nik90, remember the talk we had before about listview?
[22:17] <nik90_> clepto1995: I need 5 mins
[22:17] <clepto1995> nik90_, ok
[22:20] <lgops82ndabn> hello
[22:24] <randomcpp> clepto1995, I solved the previous problem.
[22:24] <randomcpp> by not using ConditionalLayouts at all
[22:24] <randomcpp> >.>
[22:25] <clepto1995> randomcpp, as far as I can tell Conditional layouts should not be recommended
[22:25] <clepto1995> its awful
[22:25] <clepto1995> truly...
[22:26] <randomcpp> I thought I was the only one having problems :)
[22:27] <clepto1995> randomcpp, you kidding? I spent 3-4 days trying to make the UI as I wanted
[22:27] <randomcpp> lol
[22:28] <nik90_> randomcpp: http://paste.ubuntu.com/6038265/
[22:29] <randomcpp> nik90_, you're awesome :)
[22:29] <nik90_> randomcpp: made some minor adjustments and some restructuring
[22:29] <nik90_> clepto1995: alrite go :)
[22:30] <clepto1995> nik90_, listview's elements are updating, regarding visible property, but the don't show in the view
[22:30] <clepto1995> nik90_, when I change the condition...
[22:31] <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:32] <clepto1995> nik90_, maybe, if the users create many notes
[22:32] <clepto1995> nik90_, yes, a delegate...
[22:32] <clepto1995> nik90_, do you want to try the app? maybe you'll find the problem
[22:32] <nik90_> clepto1995: what was the condition?
[22:33] <nik90_> clepto1995: sure
[22:33] <clepto1995> nik90_, the condition is where the archive should be shown or not
[22:34] <nik90_> archive category?
[22:34] <clepto1995> nik90_, you will also need to compile this https://github.com/Clepto/dirParserPlugin
[22:34] <clepto1995> nik90_, its a property, not category
[22:35] <clepto1995> I pushed
[22:36] <nik90_> clepto1995: if it is not just qml, please consider having a README.md file explaining how to build your application
[22:36] <nik90_> makes life much easier
[22:37] <nik90_> I am in the root directory now, where should I build this?
[22:37] <clepto1995> nik90_, i'll add the readme tomorrow
[22:38] <nik90_> alrite, just give me brief instruction on how to try it then
[22:38] <clepto1995> nik90_, build the plugin and move the *.so file from DirParser to the CNotes/DirParser folder
[22:38] <nik90_> clepto1995:but the plugin is already built by you
[22:38] <nik90_> I only see the .so file
[22:39] <clepto1995> if you use 64bit its going to give you an error
[22:39] <nik90_> I have 64 bit
[22:39] <nik90_> so where are the .cpp files to build?
[22:39] <clepto1995> run ls and paste
[22:39] <nik90_> which folder?
[22:40] <clepto1995> in which folder are you in?
[22:40] <nik90_> I went into the DirParser folder, and there I have libdirparserplugin.so  qmldir
[22:40] <nik90_> For me to build the plugin, I need to have .cpp, .h source files, but I see none
[22:41] <clepto1995> the DirParser is inside CNotes or dirParserPlugin?
[22:41] <clepto1995> https://github.com/Clepto/dirParserPlugin
[22:41] <nik90_> it is inside CNotes
[22:41] <clepto1995> cd into dirParserPlugin
[22:41] <clepto1995> clone the above and go to that folder
[22:42] <nik90_> why do you have 2 separate git projects?
[22:42] <nik90_> distribute as one and ask the user to compile himself
[22:42] <clepto1995> i'll merge them tomorrow
[22:43] <nik90_> okay so I have dirParserPlugin
[22:43] <nik90_> I qmake and make
[22:43] <nik90_> what do I copy over now
[22:44] <clepto1995> copy the .so from DirParser
[22:44] <clepto1995> and paste it into CNotes/DirParser
[22:45] <nik90_> then I get module "DirParser" is not installed
[22:45] <nik90_> when I run it
[22:46] <clepto1995> paste ls CNotes/DirParser
[22:46] <nik90_> libdirparserplugin.so  qmldir
[22:47] <clepto1995> no idea... wtf...
[22:48] <nik90_> clepto1995: do you mind first consolidating everything into one package with a README.md file. I will try again tomorrow
[22:48] <nik90_> clepto1995: my best guess is that the qmldir file needs modification
[22:48] <nik90_> clepto1995: try it yourself in a new folder, so you can know about these messages as well
[22:49] <clepto1995> nik90_, I'll try tomorrow... need some rest
[22:49] <nik90_> okay
[22:50] <clepto1995> nik90_, 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 out
[22:51] <nik90_> clepto1995: too difficult to imagine the problem otherwise
[22:51] <nik90_> clepto1995: fix the build issues, and then I can see what the issue is and how it can be fixed
[22:51] <clepto1995> nik90_, i'll ping you when i fixed them tomorrow then
[22:51] <clepto1995> goodnight!
[22:51] <nik90_> clepto1995: I will be free in the evening
[22:51] <nik90_> clepto1995: gud nite
[22:54] <snwh> may i suggest a less bright gradient on the weather app
[22:55] <snwh> 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] <randomcpp> nik90_, I'm changing all the path (both settings and db, don't worry if you lose all your precious recipes :) )
[23:21] <om26er> mhall119, hey do you know why we have empty icons for sudoku and Stock ticker in the dash ?
[23:21] <om26er> is there a way to remove them? not helping for my OCD
[23:24] <snwh> om26er, sudoku is not empty on my device
[23:25] <om26er> snwh, but stock ticker is ?
[23:25] <snwh> yea
[23:25] <snwh> haha
[23:25] <snwh> you can apt-get remove both :)
[23:25] <om26er> I think they are click packages or something
[23:25] <om26er> trying apt-get to see
[23:26] <om26er> yeah they are installed in /opt/click.ubuntu.com
[23:26] <om26er> but I am not sure removing those files will actually remove the icons from the dash
[23:30] <snwh> I cannot say with certainty either way