[00:22] <tryagain> Is there a simple tutorial for using the popover element?
[00:41] <GuidoPallemans> iBelieve: ?
[00:41] <GuidoPallemans> you needed that oauth right?
[00:41] <GuidoPallemans> i think i got it, just need to implement
[00:41] <GuidoPallemans> shouldnt be hard
[00:49] <tryagain> All I need is a quick and dirty popup
[00:49] <tryagain> Nothing fancy.  Just text
[00:51] <GuidoPallemans> a popup or a dialog?
[00:51] <GuidoPallemans> normally there's a good example of both in the showcase
[00:51] <GuidoPallemans> tryagain: ?
[00:53] <GuidoPallemans> tryagain: http://pastebin.ubuntu.com/6015991/
[01:07] <tryagain> GuidoPallemans: the only examples I can find are just code snippets, with no indication of how to run them
[01:07] <GuidoPallemans> do you have the ubuntu showcase?
[01:08] <GuidoPallemans> you can run it as an app if you have the sdk
[01:08] <tryagain> I don't think so
[01:08] <tryagain> Oh the sdk?
[01:08] <GuidoPallemans> just press start + showcase
[01:08] <tryagain> How do I run it as an app then?
[01:08] <GuidoPallemans> its also in the qycreator menu
[01:08] <GuidoPallemans> its also in the qtcreator menu
[01:08] <GuidoPallemans> ctrl shift s
[01:08] <GuidoPallemans> or
[01:08] <tryagain> start + showcase doesn't bring anything up
[01:08] <GuidoPallemans> tools
[01:08] <GuidoPallemans> try gallery in the dash
[01:09] <tryagain> Oh snap
[01:09] <GuidoPallemans> in qtcreator: ctrl shift s, or tools > ubuntu touch > ubuntu touch showcase gallery
[01:09] <GuidoPallemans> if you open it in qtcreater it opens the code too, but thats the same code as i posted
[01:10] <GuidoPallemans> tryagain: you didnt know about the gallery yet?
[01:11] <tryagain_> Oops, accidentally messed up the chat window somehow
[01:11] <tryagain_> Thank you GuidoPallemans
[01:11] <GuidoPallemans> np
[01:12] <tryagain_> It really seems like there should be something similar to the javascript "alert"
[01:14] <GuidoPallemans> there is
[01:14] <GuidoPallemans> dialog
[01:14] <GuidoPallemans> you will be blown away
[01:15] <GuidoPallemans> tryagain_: i heard you can also put other content in there than just buttons and text, but I havent tried it yet
[01:21] <tryagain_> I'll take a look, thank you so much!
[01:28] <tryagain_> Actually, GuidoPallemans, the design guidelines for the Dialog widget say that it should be used when the user needs to make a decision
[01:28] <tryagain_> I'm just trying to present information
[01:28] <tryagain_> Whoops
[02:07] <AskUbuntu> How do I use OAuth from an Ubuntu Touch app? | http://askubuntu.com/q/336069
[02:14] <tryagain_> What's the command in the SDK to upload my code up to launchpad?
[02:16] <tryagain_> Nevermind, found it.  It's "push", but I had to specify the remote url as "lp:<projectname>"
[03:47] <AskUbuntu> How to use Arguments in QML without getting qmlscene arguments | http://askubuntu.com/q/336083
[07:00] <dholbach> good morning
[07:48] <dinkometalac> morning
[07:48] <dinkometalac> can someone check why ci for sudoku isn't working
[07:48] <dinkometalac> is jenkins still down?
[08:40] <crs_jamal> hi
[09:10] <mefrio> app news: Memories 0.1 released http://mefrio.wordpress.com/2013/08/23/memories-updates-first-pre-release-version/ let's test and report issues/suggestions :)
[09:22] <randomcpp> mefrio ping ping ping
[09:22] <mefrio> randomcpp, pong pong pong
[10:23] <clepto1995> iBelieve, hey, how are you?
[10:41] <kalikiana> hrm that's a curious bug. would anyone here have an idea what this is about? https://bugs.launchpad.net/u1db-qt/+bug/1215831
[10:41] <ubot2`> Launchpad bug 1215831 in U1DB Qt/ QML "No documentation that only one element on first level is supported" [Undecided,Incomplete]
[10:42] <kalikiana> there's definitely no assumption about what documents look like by design - I'm wondering why one would think so
[11:05] <Josh015> Can anyone here make some recommendations on QML app code layout?
[11:05] <Josh015> Specifically, I have an app that has three tabs that each have the same toolbar and display options, but show different data. What is the best way to structure the code to share said functionality?
[11:13] <nik90_> Josh015: so by what you say, the UI is same with the only difference being the data that it displays?
[11:14] <nik90_> Josh015: in that case I would recommend putting that whole UI stuff inside its own component in a new file. When you create a new tab, in that you can call the common component and ask them to display the unique data respective to that tab.
[11:14] <nik90_> this way you define the UI code only once
[11:46] <xqwzts_> kalikiana: no idea what his "strange behavior" is, I have a lot more than 1 element at the first level [20-ish i think]
[11:50] <nik90_> randomcpp: just saw your link towards the new c++ plugin. Nice work! I havent tried running them yet, but I rather wait for it to merge into master first before doing so
[11:51] <nik90_> randomcpp: I guess now you can start on the online API to store images and other stuff in its directory
[12:44] <labsin> If I install a click package in 13.10 on the desktop, should it show up in the dash? Cause it doesn't for me.
[13:14] <dholbach> labsin, in unity7 there's no click apps scope
[13:15] <labsin> tnkx, then i'll add debian packaging.
[13:15] <labsin> can I exclude specific files and folders when building click packages from the command?
[13:21] <GuidoPallemans> iBelieve: ping
[13:21] <iBelieve> GuidoPallemans, pong
[13:21] <GuidoPallemans> hey
[13:21] <GuidoPallemans> i think i have got oath to work in an app
[13:22] <GuidoPallemans> ill put it in a pastebin, and then ill tell the issues i still have
[13:22] <iBelieve> GuidoPallemans, great!
[13:22] <GuidoPallemans> http://pastebin.ubuntu.com/6017705/
[13:22] <GuidoPallemans> so that is for a GitHub app I'm making
[13:23] <GuidoPallemans> there's still a lot of logging obviously
[13:23] <iBelieve> GuidoPallemans, cool! I think I found another way also, using a JavaScript library.
[13:23] <GuidoPallemans> but the main thing is that this page should be pushed to the pagestack, then you get to login on the server, which sends you back to the callback url
[13:24] <GuidoPallemans> aha where?
[13:24] <iBelieve> GuidoPallemans, I asked on AskUbuntu and nik90 posted it on Google+ - https://plus.google.com/u/0/113051860352311525753/posts/bQ3pvA4wMgC?cfem=1
[13:25] <GuidoPallemans> but he says it can be done with only xmlhttprequest?
[13:25] <GuidoPallemans> that's a bit weird
[13:26] <GuidoPallemans> the user should see what resources this application needs from the specific server, and then push a button
[13:26] <GuidoPallemans> then, the server sends the user to the callback url, with in a get statement the token
[13:27] <GuidoPallemans> I don't think there's a way of doing that in pure js, you need some html, as the user needs to see these resources
[13:29] <GuidoPallemans> iBelieve the issue I still have is that I can't log out for some reason
[13:29] <iBelieve> GuidoPallemans, yeah, that is interesting. For now I guess I'll try your method.
[13:29] <GuidoPallemans>  i signed in once, and now I can't test the flow anymore :D
[13:29] <iBelieve> GuidoPallemans, what do you mean log out?
[13:30] <GuidoPallemans> or log in for that matter
[13:30] <GuidoPallemans> i push the page in my pagestack, and then the server directly redirects me
[13:30] <GuidoPallemans> but I keep getting new Oauth tokens, so I guess it's ok
[13:31] <GuidoPallemans> btw, notify me if you find any other problems with my method, so I can correct them too :D
[13:31] <iBelieve> GuidoPallemans, oh, I will
[13:31] <GuidoPallemans> thanks
[13:31] <Wizard> Hi
[13:32] <GuidoPallemans> hi
[13:33] <Wizard> When I'm developing Qt app with Ubuntu as target OS, are there any hints available how to integrate my app with Ubuntu tightly?
[13:40] <GuidoPallemans> a qml qt app?
[13:40] <GuidoPallemans> or just qt?
[13:48] <GuidoPallemans> iBelieve: that algorithm isn't complete yet
[13:48] <GuidoPallemans> i forgot one step
[13:48] <GuidoPallemans> (ping back pls)
[13:54] <GuidoPallemans> iBelieve: ping
[13:54] <iBelieve> GuidoPallemans, pong
[13:54] <GuidoPallemans> ah
[13:54] <GuidoPallemans> you read the above?
[13:54] <iBelieve> GuidoPallemans, now I did :)
[13:54] <GuidoPallemans> ah
[13:55] <GuidoPallemans> so the webpage.token isnt really the oauth token
[13:55] <GuidoPallemans> you still need to do one xmlhttprequest after that
[13:55] <GuidoPallemans> but i'm stuck there
[13:56] <iBelieve> GuidoPallemans, well, I'm still trying to figure out how OAuth works in the first place :)
[13:56] <GuidoPallemans> oh
[13:56] <GuidoPallemans> i watched a really nice video on that yesterday
[13:57] <GuidoPallemans> didnt know how it worked yesterday either
[13:57] <GuidoPallemans> https://www.youtube.com/watch?v=YLHyeSuBspI
[13:57] <GuidoPallemans> its an hour long, but you should only watch until (and including) the client-side part
[13:58] <GuidoPallemans> about 17 mins
[13:58] <iBelieve> GuidoPallemans, thanks for the link
[13:58] <iBelieve> GuidoPallemans, so you said it isn't reallly the oauth token. Is it the code to get your oauth token and then you need to do a post?
[13:58] <iBelieve> GuidoPallemans, step 2 on the GitHub site?
[13:59] <GuidoPallemans> you need to post that code
[13:59] <GuidoPallemans> indeed
[13:59] <GuidoPallemans> now im trying to make my callback uri the code page
[13:59] <GuidoPallemans> i think its possible to do it all in one step
[14:00] <GuidoPallemans> if i replace that zen page by ttps://github.com/login/oauth/access_token
[14:00] <iBelieve> GuidoPallemans, Try this to do the post: http://pastebin.ubuntu.com/6017833/
[14:00] <GuidoPallemans> hmm
[14:01] <GuidoPallemans> but what should i put in the callback parameter?
[14:02] <iBelieve> GuidoPallemans, a function to call when the POST is completed
[14:02] <GuidoPallemans> the post should be the last thing to do
[14:02] <iBelieve> GuidoPallemans, for example post("<whatever>", function(response) {print(response)})
[14:03] <GuidoPallemans> ah yes now i see
[14:03] <GuidoPallemans> that function makes the post
[14:03] <GuidoPallemans> im gonna keep that open
[14:03] <GuidoPallemans> but im gonna try my all-in-one step first
[14:16] <abhidoeslinux> hi how can i use java in QT?
[14:16] <boiko> om26er: would you mind enabling autopilot on CI for lp:messaging-app?
[14:17] <om26er> boiko, sure
[14:17] <om26er> boiko, what about daily release? is the packaging already reviewed ?
[14:17] <boiko> om26er: nope, not yet, I have to review that
[14:20] <boiko> om26er: and again the autopilot failed for the calculator app, https://code.launchpad.net/~boiko/ubuntu-calculator-app/fix_autopilot_tests/+merge/181596
[14:20] <GuidoPallemans> iBelieve: ?
[14:21] <GuidoPallemans> i get sent to https://api.github.com/zen?error=redirect_uri_mismatch
[14:21] <GuidoPallemans> when i try to connect to https://github.com/login/oauth/authorize?client_id=5b8705dc0775845bd721&scope=user,repo,notifications,gist&redirect_uri=%22https://github.com/login/oauth/access_token?client_secret=1b5826605af32b20414a1f6909090b239ac3c3fb&redirect_uri=https://api.github.com/zen%22
[14:21] <GuidoPallemans> probably because I'm not correctly passing the first redirect url
[14:21] <GuidoPallemans> uri*
[14:21] <GuidoPallemans> %22https://github.com/login/oauth/access_token?client_secret=1b5826605af32b20414a1f6909090b239ac3c3fb&redirect_uri=https://api.github.com/zen%22
[14:22] <om26er> boiko, right, a few hours ago when the mediumtests where failing I tried to run them on my laptop and they ran fine, so the problem is I believe in the jenkins setup
[14:22] <GuidoPallemans> ah, need urlencode
[14:23] <boiko> om26er: can you help with that or is this something only fginther can solve?
[14:24] <om26er> boiko, yeah, this is fginther's thing. I already pinged him
[14:24] <boiko> om26er: thanks!
[14:28] <iBelieve> GuidoPallemans, yes?
[14:28] <GuidoPallemans> ah no, i'm still having the last problem :D
[14:31] <popey> nik90_: you around for calculator meeting? We're over-running a bit with RSS reader
[14:34] <boiko> dpm: joining the calculator design meeting?
[14:37] <popey> boiko: I'll be there in a bit, still on rss call
[14:37] <dpm> boiko, I wasn't planning to today, but if popey can't make it, I can join
[14:38] <popey> be there in ~5m
[14:39] <boiko> popey: thanks
[14:40] <popey> nik90_: sorry, brain fart
[14:53] <GuidoPallemans> iBelieve: I found a way to test the logging-in, just revoke the app, so that the user has to accept the authorization again
[14:54] <GuidoPallemans> I'm now going to try your function, as I keep getting reffered to https://api.github.com/zen?error=redirect_uri_mismatch
[14:55] <iBelieve> GuidoPallemans, cool, glad you're figuring out how to do it. For now I'm skipping OAuth, and just using the form that opens and the user clicks accept and then has to copy a token back to my app. Not pretty, but a working temporary solution
[14:56] <GuidoPallemans> yeah, I should do that too :D, but beware the rate limits
[15:00] <iBelieve> GuidoPallemans, don't know if Trello has rate limits. They don't seem to have docs about restrictions/legal stuff at all
[15:28] <GuidoPallemans> iBelieve: I FUCKING HAVE IT!
[15:32] <iBelieve> GuidoPallemans, glad to here that you got it to work
[15:32] <iBelieve> ** hear
[15:33] <GuidoPallemans> ill paste it
[15:33] <GuidoPallemans> http://pastebin.ubuntu.com/6018190/
[15:34] <iBelieve> GuidoPallemans, thanks
[15:34] <GuidoPallemans> can you do something with that?
[15:36] <iBelieve> GuidoPallemans, don't know. The Trello docs mention three different URLs, a request, access, and authorize URL
[15:36] <GuidoPallemans> the zen url can be anything
[15:37] <GuidoPallemans> but youll probably need the seperate authorize and access_token pages
[15:50] <skyitachi> hello everyone, I want to know something ubuntu sdk qml extensions library
[15:52] <skyitachi> create a sample project with ubuntu sdk qml extensions library, when run it ,it will a dialog popsup, how to use it
[15:57] <AskUbuntu> I want to use Ubuntu for developing my application - pl help | http://askubuntu.com/q/336306
[15:59] <xqwzts> skyitachi: someone explained it pretty well in this blog post: http://rschroll.github.io/beru/2013/08/14/reading-files-with-a-c%2B%2B-plugin-in-qml.html
[16:04] <om26er> any ubuntu-calculator-app developer around ?
[18:09] <nik90_> Chocanto: ping
[18:11] <Chocanto> nik90: pong
[18:12] <nik90_> Chocanto: I almost finished my read c++ plugin
[18:12] <nik90_> Chocanto: how do I test it?
[18:12] <nik90_> Chocanto: I did qmake and make and now have .so file
[18:13] <nik90_> I copied that file into the clock-app folder
[18:13] <nik90_> but when I run it, it says unable to find plugin
[18:13] <Chocanto> nik90: You can do a sudo make install :)
[18:13] <nik90_> Chocanto: would that copy the .so file to the correct place?
[18:13] <nik90_> or any other files?
[18:13] <Chocanto> yes, the .so
[18:13] <Chocanto> and the qmldir
[18:14] <nik90_> do you know where it will copy it to?
[18:14] <Chocanto> in something like org/docviewer/file
[18:14] <nik90_> ah
[18:14] <nik90_> Chocanto: btw i replied to your MP
[18:14] <nik90_> and also proposed my own
[18:14] <nik90_> will test and see if it works
[18:14] <Chocanto> yes I saw :) I will test it ! Thank you
[18:15] <nik90_> Chocanto: its still very basic, but it is a start :)
[18:16] <Chocanto> nik90_: Every project need a simple start ! :)
[18:16] <nik90_> :)
[18:17] <Chocanto> nik90_: I read something about click package end reading files on g+
[18:17] <Chocanto> nik90_: DO you think the new permissions system will be a problem ?
[18:18] <nik90_> Chocanto: It depends. As long as it is in the same folder as the app, it should be fine
[18:18] <nik90_> Chocanto: outside files however will be restricted
[18:18] <nik90_> Chocanto: for the core apps it should not be an issue
[18:18] <nik90_> Chocanto: if it is, then we can get them resolved
[18:19] <nik90_> Chocanto: so I did sudo make install, and it copies them into the right directory.
[18:19] <nik90_> Chocanto: on running I get "module "org.docviewer.file" plugin "DocviewerFile" not found"
[18:19] <nik90_> Chocanto: i imported it using import org.docviewer.file 1.0
[18:20] <Chocanto> nik90_: Hum... you moved the .so before doing make install ?
[18:20] <nik90_> Chocanto: no, it moved it automatically
[18:21] <nik90_> Chocanto: in that org/docviewer/file folder, I see the .so and qmldir files
[18:22] <Chocanto> nik90_: /usr/lib/i386-linux-gnu/qt5/qml/org/docviewer/file
[18:22] <Chocanto> ?
[18:22] <nik90_> Chocanto: yes
[18:22] <Chocanto> nik90_: Wait, I'm checking how I used it
[18:24] <Chocanto> nik90_: How your .so is named ?
[18:25] <Chocanto> nik90_: And in which branch are you working ?
[18:25] <nik90_> Chocanto: it is called libfilePlugin.so
[18:25] <nik90_> Chocanto: the main branch lp:file-qml-plugin
[18:25] <Chocanto> nik90_: Only the one I proposed for merging work
[18:25] <nik90_> are there any other branches
[18:25] <nik90_> oh
[18:26] <Chocanto> nik90_: Yes, before modification it wasn't working
[18:27] <nik90_> Chocanto: will copy your modification to my branch
[18:28] <Chocanto> nik90_: Do a simple merge with your branch, it should work fine
[18:29] <Chocanto> nik90_: And I was thinking about the name problem
[18:30] <nik90_> Chocanto: why did you name it filePlugin in the qmldir?
[18:30] <Chocanto> nik90_: Maybe we can do something like a unique File object and in this object other objects like Metadata, Reader and Writer
[18:30] <nik90_> I thought your class was file
[18:30] <nik90_> or is that a convention
[18:30] <Chocanto> nik90_: The qmldir is looking for the .so name, not the class :)
[18:31] <Chocanto> nik90_: That's why you had the error that Qt could not find your module
[18:31] <nik90_> ah
[18:31] <nik90_> Chocanto: so it doesnt matter how many classes are there (metadata, filereader)
[18:31] <nik90_> it still is called filePlugin
[18:32] <Chocanto> nik90_: You have one plugin, but many objects created by this plugin
[18:32] <nik90_> Chocanto: ah yes. Nice I am beginning to get a hang of this :)
[18:32] <Chocanto> nik90_: I think you can created multiple modules in one plugin but I don't tried this
[18:32] <Chocanto> -d
[18:33] <Chocanto> create plugin with Qt is not easy ^^
[18:34] <nik90_> Chocanto: It works! And even better my read class also works :)
[18:34] <nik90_> Chocanto: thnx man!
[18:34] <Chocanto> nik90_: Good ! :D
[18:34] <Chocanto> nik90_: I did the edit you ask for
[18:34]  * nik90_ is checking now
[18:34] <Chocanto> nik90_: I didn't send it, wait ^^
[18:35] <nik90_> let me know when you push it
[18:35] <Chocanto> nik90_: But I don't changed the name
[18:35] <Chocanto> nik90_: I get it temporary, I think it will be better to do like the Ubuntu SDK so
[18:35] <Chocanto> *do
[18:35] <nik90_> How does the ubuntu sdk do it?
[18:36] <Chocanto> nik90_: A big object (File) and sub-object inside (Metadata, Reader, Writer)
[18:36] <Chocanto> In the file object you have the metadata object, is's more logic
[18:36] <nik90_> Chocanto: oh okay
[18:36] <nik90_> Chocanto: but right now we have 2 objects right?
[18:36] <Chocanto> nik90_: I don't really know how to implement it but.. anyway
[18:37] <Chocanto> nik90_: Yes :)
[18:37] <Chocanto> nik90_: We have File (I can rename in FileMetadata) and FileReader
[18:37] <nik90_> Chocanto: In that case, let's merge our stuff after all the corrections and whatever, and then figure out how to do that :)
[18:40] <Chocanto> nik90_: Yes, I pushed :)
[18:40] <Chocanto> nik90_: I have to go, I will merge your stuff later if you want
[18:40] <nik90_> me too..going for dinner
[18:40] <nik90_> talk 2 u later
[18:40] <nik90_> bye
[18:41] <Chocanto> nik90_: bye
[21:34] <wellsb> Is there no way for a drop shadow on a rectangle to inherit the corner radius of the source rectangle?
[21:39] <wellsb> nevermind.  I suspect it is, but my container is cutting it off