/srv/irclogs.ubuntu.com/2014/06/03/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
Aki-Thinkpadpopey, Great debut popey. You have a great voice for radio01:29
Aki-Thinkpadand a great face for radio!!!! </joking>01:29
Aki-ThinkpadReference: https://www.youtube.com/watch?v=NtUYrZAfUWQ01:32
=== _salem is now known as salem_
gerlowskijaI'm walking through the QML App-dev tutorials on the developer.ubuntu.com, and I'm finding a few things that look a bit out-of-date.  Is there a place/way to suggest updates/corrections?02:29
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
=== chihchun is now known as chihchun_afk
dholbachgood morning06:15
mihirdholbach: Morning :)06:31
dholbachhey mihir06:32
mihirdholbach: hello :)06:32
DanChapmanGood Morning06:49
dpmmorning mihir, morning DanChapman :)07:03
DanChapmanhey dpm :-)07:04
=== chihchun_afk is now known as chihchun
ubuntinhoHello, can anyone tell me how to install and run touch apps on the SDK? I'm very new to this.07:32
Aki-Thinkpadubuntinho, hey07:46
Aki-Thinkpadlets see, 14 minutes...07:46
Aki-Thinkpadubuntinho, ever programmed with c++ before?07:46
JamesTaitGood morning all; happy Chimborazo Day! :-D07:47
Aki-ThinkpadJamesTait, o_o07:48
Aki-Thinkpadisn't it the anniversary of tienammen square today?07:48
JamesTaitI don't know, tbh.07:49
Aki-ThinkpadGosh!07:49
Aki-ThinkpadJeez07:49
JamesTaitI thought I'd remember such a thing happening on my dad's birthday, but it looks like the tanks did indeed set out on June 3rd.07:56
Aki-ThinkpadJamesTait, is actually, if I may be sentimental, is one of the rare foreign events that bring me to tears07:57
Aki-ThinkpadAkiva = ~chinese07:57
Aki-ThinkpadSad to me, because if not for that bloody regime, China would be a great cultural nation today, instead of steeped in corruption and an oppressive government07:58
ubuntinhoAki-Thinkpad, late reply but no. I am REALLY new to this. I have only done html/css stuff.08:35
Aki-Thinkpadubuntinho, okay thanks08:35
Aki-Thinkpadthat gives me a good estimate to how to approach you08:35
Aki-Thinkpadubuntinho, are you looking to learn programming?08:35
Aki-Thinkpador are you just looking to run the programs?08:35
ubuntinhoYes absolutely!08:35
Aki-ThinkpadOkay great08:36
Aki-Thinkpadubuntinho, Been using linux for a long time?08:36
ubuntinhoI have been following Ubuntu for a while and would like to get involved08:36
ubuntinhoJust a few months.08:36
ubuntinhoUnless android counts. :)08:36
Aki-Thinkpadah, yah, many people like you. Its very difficult to take the next step from advanced user into programmer,08:36
Aki-Thinkpadheh, nope; no terminal ;)08:37
ubuntinhoYes, I'm not sure how to dive into this.08:37
Aki-Thinkpadbut you came to the right place08:37
ubuntinho:D08:37
ubuntinhoGreat!08:37
Aki-Thinkpadubuntinho, A first goal you can achieve likely on your own, is to set up a ubuntu launchpad account08:37
Aki-Thinkpadhttps://launchpad.net/~akiva08:38
ubuntinhoYes, I've been wondering about launchpad. Seems like a sort of code portal?08:38
Aki-Thinkpadthat is my page for example08:38
Aki-Thinkpadyes, so the reason why launchpad is important to know08:38
Aki-Thinkpadis because this is the place where you keep your code.08:38
ubuntinhoah ok, so a cloud for code?08:39
Aki-ThinkpadYes; that is a great way of looking at it08:39
Aki-Thinkpadubuntinho, the reason why it is a bit complicated, is there are a few caveats to creating this08:39
Aki-Thinkpadjust like with google docs, you have to sign into your account,08:40
Aki-Thinkpadand you have to give people permission to edit documents08:40
Aki-Thinkpadlikewise for code; you have to sign it with a signature08:40
Aki-ThinkpadWhy do you think that is important?08:40
Aki-Thinkpad(The signature is a complex encryption)08:41
ubuntinhoAh okay. I guess so that not anyone can come and corrupt the code?08:41
Aki-Thinkpadubuntinho, exactly08:41
Aki-Thinkpadwell done08:41
ubuntinho:) I am really enjoying your method08:41
Aki-ThinkpadThanks; Well noted.08:41
Aki-ThinkpadSo in Launchpad, it is similar to Git08:42
Aki-ThinkpadFor hosting code08:42
ubuntinhoOkay, I guess I should create an account.08:42
Aki-ThinkpadYah; take 30 minutes; the encryption keys (OpenPGP and SSH) should be your first goal08:43
Aki-Thinkpadonce you get your account up, then you have a solid base to launch from08:43
Aki-ThinkpadWould you like to do that first, or would you like a more indepth description of Launchpad?08:43
Aki-Thinkpador do you have any questions?08:44
ubuntinho Alright. I'm registering now. Seems to work with Ubuntu one account08:44
ubuntinhoah yes so..08:44
ubuntinhoWould you be kind enough to describe launchpad for me?08:45
ubuntinhoI guess I'd have to explore it myself08:45
Aki-Thinkpadubuntinho, Sure. So when thinking about code management, there are really two main methods08:45
Aki-ThinkpadLaunchpad and Git take a Branch Method. Subversion takes a more centric approach08:46
Aki-ThinkpadTruth be told however, I am not terribly familiar with subversion, in that I havn't used it, so anyone can feel free to correct me if I describe it wrong08:46
Aki-ThinkpadBut when you want to edit code in Launchpad, you perform the following steps08:47
ubuntinhoOkay, I'm sure this information will make sense in a few hours/days08:47
Aki-Thinkpadheh08:47
Aki-Thinkpadsec08:47
Aki-Thinkpada) Create a branch.08:48
Aki-Thinkpadb) Edit that branch.08:49
Aki-Thinkpadc) Commit that branch.08:49
Aki-Thinkpadd) Push that branch08:49
ubuntinhook, sorry but how exactly do i create a branch?08:50
ubuntinhoregister a project?08:50
Aki-Thinkpade) Then the branch you review is viewed, and either rejected, or proposed for a merge.08:50
Aki-Thinkpadubuntinho, well lets go through it step by step08:50
ubuntinhoSure08:50
Aki-Thinkpadwhat do you think step a) means?08:50
Aki-ThinkpadCreate a branch?08:50
ubuntinhoIt seems to mean creating some sort of portion of code? maybe?08:51
ubuntinhoto a larger project?08:51
Aki-ThinkpadNot quite08:51
ubuntinhoah ok08:51
Aki-ThinkpadOne issue with coding with many people, is how do you all edit the same document08:51
Aki-ThinkpadWhy do you think that is an issue?08:52
ubuntinhoFor collaboration? That seems to be the nature of open source programming08:52
Aki-Thinkpadubuntinho, sort of, but this issue exists in proprietary projects as well08:53
Aki-Thinkpadthe simple answer, is that you do not want people stepping on your toes while you code.08:53
ubuntinhoAh okay, so are you saying that it is preferable to write the code privately and share it after the work is done?08:54
Aki-Thinkpadyes exactly08:54
Aki-ThinkpadSo for example; If I am thinking of making a major change to a program, often I will create placeholder code, or drafts, or such things08:55
ubuntinhoAh I see. Makes sense08:55
Aki-ThinkpadSo obviously, we need our own little sandbox to play in08:55
ubuntinhoHaha yes08:56
Aki-ThinkpadSo when I branch, I do not just take a portion of the code; I take the entire code base08:56
Aki-Thinkpadand make my own.08:57
Aki-ThinkpadThat is called creating a branch.08:57
Aki-ThinkpadTo edit the branch; that is obvious08:57
ubuntinhoAh ok ok08:57
Aki-ThinkpadWhat do you think "Commiting" the branch, or I guess more accurately, committing the changes, means?08:57
ubuntinhoSubmitting them to the community? for review perhaps..?08:58
Aki-ThinkpadNope08:58
ubuntinhoHmm08:59
Aki-ThinkpadSo comitting is basically wrapping your newly editted code into a nice neat package08:59
ubuntinhoOkay08:59
Aki-ThinkpadWhat do you need to do when you create a package?08:59
Aki-Thinkpadas in generally08:59
Aki-Thinkpadsay you are sending a gift to someone for christmas08:59
ubuntinhoOh, Wrap it up?09:00
ubuntinhoMake it look presentable?09:00
Aki-ThinkpadYep, so commit the changes09:00
Aki-Thinkpadand make it look presentable09:00
ubuntinhoAh yes I see what youre saying09:00
Aki-Thinkpadone thing about making something presentable, is you have to make sure the syntax style is the same09:00
Aki-Thinkpadas the main branch09:01
Aki-Thinkpadso for example; I am a linus torvalds syntax guy09:01
ubuntinhoAh okay I see09:01
Aki-ThinkpadI used 8 spaced indentations09:01
Aki-ThinkpadUbuntu core apps use 4 spaced indentations, sometimes even 209:01
Aki-Thinkpadthe maniacs09:01
ubuntinhoYes so the code syntax has to be coherent09:02
ubuntinhoHaha09:02
Aki-Thinkpadexactly09:02
Aki-Thinkpadeven if you accidently put one whitespace in some far off piece of the code09:02
ubuntinhoAnd pushing the branch would be something close to publishing?09:02
ubuntinhoyes, i guess the syntax is very important09:02
Aki-Thinkpadit will still be picked up, and when you submit what you committed, it will be highlighted09:03
Aki-Thinkpadyah, but its easily managed09:03
Aki-Thinkpadother things you do when you commit, is sign it with your signature, maybe put a date down, maybe put a changelog in there09:03
ubuntinhoAh okay, wow you've made a lot of things I've been reading about make sense09:04
Aki-Thinkpadthanks09:04
ubuntinhoThank you09:04
Aki-Thinkpadnow one of the most common things to write in there, is what bug you solved09:04
ubuntinhomm ok09:04
Aki-Thinkpadso in launchpad, not only does it host the code, it also hosts bug reports09:05
Aki-Thinkpadsec, let me find an example09:05
ubuntinhosure09:05
=== chriadam is now known as chriadam|away
Aki-Thinkpadubuntinho, ever use compiz?09:06
Aki-Thinkpadhttps://bugs.launchpad.net/compiz/+bug/130635109:06
ubot5Ubuntu bug 1306351 in Compiz "Windows which are fullscreen in Unity7, sitting in the plugin layer, do not detect mouse inputs properly." [Undecided,New]09:06
Aki-ThinkpadSo I happened to file that bug a long time ago09:06
ubuntinhoUm, is it some sort of UI layer? (compiz)09:07
Aki-Thinkpadyah; you have it if you run ubuntu, even if you do not know it09:07
Aki-Thinkpadfor example; the multiple desktops is handled by compiz09:07
ubuntinhoRight.09:07
ubuntinhoOkay09:07
Aki-Thinkpadso i chose this bug, because its unlikely to be solved09:07
Aki-Thinkpadfor whatever reason, compiz team is highly inactive09:07
ubuntinhoAh okay.09:08
ubuntinhoSo sorry, I'm curious. If I wanted to contribute to compiz project...09:08
Aki-Thinkpadyes?09:08
ubuntinhoI would do all the steps of branching?09:08
Aki-ThinkpadYes09:08
Aki-ThinkpadWhat is the difference between branching, and forking?09:09
ubuntinhoUm, forking is taking the code and making it into something very different?09:09
Aki-Thinkpadubuntinho, basically09:09
ubuntinhoI can only think of Ubuntu as a fork of Debian?09:09
Aki-ThinkpadYes that is a good way to look at it09:09
Aki-Thinkpador libreoffice is a fork of openoffice09:10
ubuntinhoAh ok!09:10
Aki-Thinkpadbranching is not forking, because you generally intend to keep it within the same project09:10
Aki-Thinkpadsometimes you may make a branch though, and not do anything with it09:10
Aki-Thinkpadanyways, so if you wanted to contribute to compiz09:11
Aki-Thinkpadusually a first good step is actually to get in contact with the developers09:11
ubuntinhoRight of course.09:12
Aki-Thinkpadthe project may be inactive, which means if you branch something09:12
Aki-Thinkpadand commit it, and push it to be merged09:12
Aki-Thinkpadnothing may happen09:12
ubuntinhoRight. Makes sense.09:12
Aki-ThinkpadNow take my bug for example; I have found an issue in compiz that I want to fix09:13
ubuntinhoSo about forking...09:13
ubuntinhooh ok sure09:13
Aki-Thinkpadwhat about forking?09:13
ubuntinhoOh no, you can continue09:13
=== chihchun is now known as chihchun_afk
Aki-Thinkpadokay09:13
Aki-Thinkpadso a good way is first to write a bug report as I did.09:13
ubuntinhoRight.09:14
Aki-Thinkpadnow go to the round yellow button in status09:14
Aki-Thinkpadit says "New"09:14
Aki-Thinkpadclick on that button09:14
ubuntinhook, not looked at yet?09:15
Aki-Thinkpaddo you see the options?09:15
Aki-Thinkpadincomplete, opinion, invalid, won't fix, confirmed, etc etc09:16
ubuntinhoyes: incomplete, opinion,...09:16
ubuntinhoyes09:16
Aki-Thinkpadso usually the first step is to confirm the bug09:16
Aki-Thinkpadlets just say for arguments sake this bug affects you too09:16
ubuntinhoright, then i would confirm it09:16
Aki-ThinkpadJust above the table, there should be a label "This bug affects you", click yes09:17
Aki-Thinkpadthen you will see what happens09:17
ubuntinhoAh ok!09:17
Aki-Thinkpadright so now it is confirmed09:18
ubuntinhoand this should theoretically bring attention to the dev team?09:18
Aki-ThinkpadNow someone in the project will determine if it is important enough for them to look at09:18
Aki-Thinkpadyep09:18
ubuntinhoRight09:18
Aki-Thinkpadbut of course, you are impatient09:18
ubuntinhoCool!09:18
Aki-Thinkpadso what do you want to do?09:18
ubuntinhoof course!09:18
Aki-ThinkpadYou want to fix it yourself09:18
ubuntinhofix it myself?09:19
ubuntinho:D09:19
Aki-Thinkpadso then you will want to assign it to yourself09:19
Aki-ThinkpadNow, depending on the project, it might not let you do that09:19
Aki-Thinkpadyou may have to be a member of the compiz project in order to do that09:19
ubuntinhoRight, and this one seems to allow that09:19
Aki-Thinkpadlets see...09:19
=== chihchun_afk is now known as chihchun
Aki-Thinkpadyep09:20
Aki-Thinkpadit does09:20
Aki-Thinkpadall the other options are pretty obvious09:20
Aki-Thinkpadso the next step I would do, is I would branch the project09:20
Aki-Thinkpadwhat does that mean?09:20
ubuntinhothat you would take the code and improve/add to it09:21
ubuntinhonot forking09:21
Aki-Thinkpadyah, I would "Pull" it onto my computer09:21
Aki-Thinkpadexactly09:21
Aki-ThinkpadWell actually, branch is the initial grabbing the code09:21
ubuntinhoHm, so to pull it to your computer would you need to download something?09:21
Aki-ThinkpadPull is to pull changes to the code09:21
ubuntinhoah ok09:22
Aki-Thinkpadwhy would I need to pull changes to the code?09:22
ubuntinhoto publish it?09:22
Aki-Thinkpadno;09:23
Aki-Thinkpadthink of it like this09:23
Aki-Thinkpadyou are a new slow programmer09:23
Aki-Thinkpadyou branch the code; ie, create a branch09:23
Aki-Thinkpadand while you program, a new version of the code comes out09:23
Aki-Thinkpadso by the time you submit your changes, your code will be out of date09:23
ubuntinhoright09:24
Aki-Thinkpadso, what you do, is you pull the changes onto your computer, ie update it09:24
Aki-Thinkpadand make sure it fits in with your code.09:24
Aki-ThinkpadMost of the time, the changes will not effect what you are working on.09:24
ubuntinhoAh okay I see, so sort of updating it09:25
Aki-Thinkpadactually, bloody; did I just mix pull with updating09:25
Aki-Thinkpadwhatever; you will figure it out09:25
Aki-Thinkpadnow, you asked09:25
Aki-Thinkpadwhat do you need to download09:25
Aki-Thinkpadfor launchpad, you need a program called bazaar09:26
ubuntinhoalright, ill search it now09:26
Aki-Thinkpadso you might as well right now download off the ubuntu app store, a program called Bazaar explorer09:26
Aki-ThinkpadThe explorer is a gui for Bazaar09:26
ubuntinhoAlright, I've got it09:27
Aki-Thinkpadubuntinho, video time: https://www.youtube.com/watch?v=_QOoU1MDoVA09:27
Aki-Thinkpadthat is why its called a bazaar09:27
ubuntinhoAh okay, I get the drift.09:29
Aki-Thinkpadubuntinho, now one thing that is interesting to note about software development09:29
Aki-Thinkpadis that it is very hard for a company, to throw money at a project as a means to bringing it to market faster09:30
Aki-Thinkpadunless of course you start at the beginning with a lot of people09:30
Aki-Thinkpadbut even then; it is very difficult09:30
Aki-Thinkpadnow what is next... I am yammering on... and I am sure you just want to get to coding09:31
ubuntinhoNo no really this is very interesting09:32
Aki-Thinkpadokay, so you branch, you edit, you commit, and then you push upstream, and then your patch gets reviewed, and then the lead merges your patch09:32
ubuntinhoSo what are you trying to say exactly?09:32
Aki-Thinkpadubuntinho, you know linus torvalds?09:32
ubuntinhoyes the founder of linux?09:32
Aki-Thinkpadyep09:32
Aki-Thinkpadso he heads the project09:32
Aki-ThinkpadLinus used to do a lot of coding in linux09:33
Aki-Thinkpadtoday he does no coding whatsoever09:33
Aki-Thinkpadwhy do you think that is?09:33
ubuntinhoThere is a large community to do it for him?09:33
Aki-Thinkpadthat is part of it09:33
ubuntinhook09:33
Aki-Thinkpadthe reason is related to that09:33
Aki-Thinkpadmain reason*09:33
Aki-ThinkpadThink of linus as the gatekeeper09:34
ubuntinhoright09:34
Aki-Thinkpadearly on, there was not many people trying to get through the gate09:34
Aki-Thinkpadso he could work on his laptop while manning his post09:34
Aki-Thinkpadtoday, geez I forget the statistic09:34
Aki-ThinkpadI think it is something like 9000 patches are submitted every day or something09:35
Aki-ThinkpadDoes linus have time to code?09:35
ubuntinhoNot that much!09:35
Aki-Thinkpadexactly09:35
Aki-Thinkpadso he spends all of his day, determining what gets into the kernel, and what stays out09:36
Aki-ThinkpadHe is also terribly rude about it, although some people would say justifiably so09:36
Aki-ThinkpadAll in the name of quality control~09:36
ubuntinhoHaha yes, I've seen him speaking. Fiery personality09:36
Aki-ThinkpadSometimes he oversteps,09:37
Aki-Thinkpadand he understands this09:37
Aki-Thinkpadits not a personality that I think most people should adopt09:37
Aki-Thinkpadfor him, there is a real application to that09:37
ubuntinhoGood point.09:37
Aki-Thinkpadhowever, you will notice that the people in the ubuntu community, are all very respectful09:37
Aki-Thinkpadwhile maintaining a high standard of quality09:38
ubuntinhoYes, I'm getting a real sense of community09:38
Aki-Thinkpadso to that point, in creating your launchpad acount09:38
Aki-Thinkpadaccount*09:38
Aki-Thinkpadthere is something that you need to sign if you want to contribute to core apps09:38
Aki-Thinkpadand that is called the ubuntu code of conduct09:38
Aki-Thinkpad(I think)09:39
Aki-Thinkpadit should say on your main page09:39
ubuntinhoOk sure09:39
Aki-ThinkpadSigned Ubuntu Code of Conduct:09:39
Aki-Thinkpad    Yes09:39
Aki-Thinkpadso while I take a bit of a break; get those three things done; read the code of conduct, decide if you wish to agree to it, get the open pgp key, and the ssh key done09:40
ubuntinhoYep, will do that now.09:40
Aki-Thinkpadgreat09:40
* Aki-Thinkpad takes a break09:40
ubuntinhoHey, thank a lot for this09:40
Aki-Thinkpadubuntinho, no probs; I had a lot of issues getting into development, and so I know how hard the hurdle can be for people if they are self taught09:42
ubuntinhoYeah, you seem to understand that well.09:43
Aki-ThinkpadI actually made a video on it09:43
ubuntinhoah, care to share?09:43
Aki-Thinkpadhttp://youtu.be/XEnoX7AB_-M09:43
ubuntinhoI'll check this out.09:44
Aki-Thinkpadvery cool09:44
Aki-ThinkpadAlso if you have some spare time for the next month, I would encourage you to take the opportunity to learn a proper keyboard layout09:45
ubuntinhoWhat do you mean?09:45
Aki-Thinkpadsec09:45
ubuntinhoLike, proper typing?09:45
ubuntinhook09:45
Aki-Thinkpadhttp://soukie.net/wp-content/uploads/2010/06/keyb-stat.png09:46
Aki-Thinkpadtake a look at that image09:46
Aki-ThinkpadI use colemak09:46
ubuntinhoAh, it's supposed to be more efficient?09:47
Aki-Thinkpadyes, but more importantly09:47
Aki-Thinkpadmore comfortable09:47
Aki-ThinkpadI used to have horrid carpel tunnel syndrom09:47
Aki-Thinkpadits gone since I switched09:47
ubuntinhoWow09:47
Aki-Thinkpadif you are going to program, it is a pragmatic step for long term gain09:48
Aki-Thinkpaddespite short term pain09:48
ubuntinhoYeah, I have to say that's a big commitment09:48
Aki-Thinkpadits fun09:48
Aki-Thinkpadtwo weeks until you are sane again09:48
ubuntinhoHahaha09:48
Aki-Thinkpad1 month until you regain your speed09:48
Aki-ThinkpadI am maybe 25 percent faster now than with qwerty09:49
Aki-Thinkpadand it taught me to be a touch typist09:49
Aki-Thinkpadwhich I used to not be with qwerty09:49
ubuntinho__Hello?09:50
ubuntinho__Sorry i accidentally disconnected09:50
Aki-ThinkpadI am maybe 25 percent faster now than with qwerty09:50
Aki-Thinkpadand it taught me to be a touch typist09:50
Aki-Thinkpadwhich I used to not be with qwerty09:51
ubuntinho__ah, as in tablets?09:51
Aki-Thinkpadnope09:51
Aki-Thinkpadjust means I don't look at the keyboard09:51
Aki-ThinkpadI operate by touch, not sight09:51
ubuntinho__mm ok09:51
ubuntinho__Yeah, it probably is much more fundamentally sound09:52
ubuntinho__I remember learning azerty from qwerty in france09:52
Aki-Thinkpadah neat09:52
ubuntinho__i can imagine this will be a more drastic change09:52
Aki-Thinkpadcolemak is fine, because it keeps zxcvb09:52
Aki-Thinkpadso copy cut paste undo09:52
Aki-Thinkpadis retained09:52
ubuntinho__true.09:53
ubuntinho__So, I realize that I am very new to this09:54
ubuntinho__And I am trying to learn through code academy09:54
ubuntinho__are there any resources or tips you'd suggest?09:54
ubuntinho__*any other09:54
Aki-Thinkpadubuntinho__, hmmmmmmm09:55
Aki-Thinkpadthe python challenge09:55
Aki-Thinkpadbut see if you can do the python challenge with a friend09:55
Aki-ThinkpadI got up to level 13 or 14 I think09:55
Aki-Thinkpadlearned a ton09:55
Aki-Thinkpadthis was a few months ago09:55
Aki-ThinkpadI actually go into in the video I linked09:56
ubuntinho__Cool!09:56
Aki-Thinkpadother than that, you are taking the right approach by coming here, trying to get involved with a project09:56
Aki-Thinkpadc++ is hard though; python is much more fun to start with09:56
ubuntinho__Yeah, didn't expect this entire lesson today!09:57
ubuntinho__So, what other languages should i learn? I know that might be a hard question...09:57
ubuntinho__I guess html/css and qml for ubuntu..09:57
Aki-Thinkpadubuntinho__, well ultimately it will depend on what you want to do. I am a bit picky,10:00
Aki-Thinkpadand so I refuse to learn java10:00
Aki-Thinkpadits a resource hog :P10:01
ubuntinho__It's what I've heard! (android)10:01
Aki-Thinkpadits what everyone uses10:01
Aki-Thinkpadanyways, you will get trolled heavily if you say that10:01
Aki-Thinkpadso maybe it is not so true anymore10:01
ubuntinho__hahahaha10:01
Aki-Thinkpadnone the less, I feel like being stubborn10:02
ubuntinho__fair enough10:02
Aki-ThinkpadFor my part, I try to have one of each language under my belt10:02
Aki-ThinkpadQt, and by consequence, c++ for Gui Development10:02
Aki-ThinkpadQML too :P10:03
Aki-ThinkpadQML will teach you javascript10:03
Aki-Thinkpadand html + css10:03
Aki-Thinkpadwell a bit of javascript anyways10:03
Aki-ThinkpadI have a goal to eventually submit a patch to the linux kernel10:03
=== chihchun is now known as chihchun_afk
Aki-Thinkpadso for that I will need C10:04
Aki-Thinkpadubuntinho__, By the way; whats the difference between c and c++?10:04
ubuntinho__Honestly, I've no idea...10:04
Aki-ThinkpadC++ is C, but with classes10:04
Aki-Thinkpadbasically thats it10:04
Aki-Thinkpadsome other caveats I am sure10:04
ubuntinho__Ah ok, will keep that in mind10:04
Aki-ThinkpadLinus hates c++, funny enough10:04
Aki-Thinkpadmany people hate c++10:05
ubuntinho__haha whats so bad about it?10:05
Aki-Thinkpad http://article.gmane.org/gmane.comp.version-control.git/5791810:05
ubuntinho__0.0 wow ok10:06
ubuntinho__haha10:06
ubuntinho__Hey sorry, I'm totally stuck on the pgp key10:07
Aki-Thinkpadyep10:07
Aki-Thinkpadcheck the website10:07
Aki-Thinkpadthey walk you through it10:07
Aki-Thinkpadit will be easier the next time you have to do it10:07
ubuntinho__Yeah should go through it10:08
Aki-Thinkpadyep; google will be your friend in this case; I still have to read the documentation10:08
ubuntinho__Cool10:08
ubuntinho__On your earlier comment: It is a shame about the consequences in China.10:10
Aki-Thinkpadubuntinho__, Unless you live in hong kong10:10
Aki-Thinkpadwhich is really beautiful and amazing10:11
ubuntinho__Ah, you've visited? Yeah it's seems nice.10:11
Aki-ThinkpadI do a lot of work with economics; so I have a preferable perspective to the most economically free region in the world10:12
Aki-ThinkpadI have similar feelings with Chile, Botswana, Canada, Estonia, Singapore10:12
ubuntinho__Yes, I see that you follow the Vienna school10:13
Aki-Thinkpadha, that is great; a bit of a story about that.10:13
ubuntinho__Do tell?10:13
Aki-ThinkpadThe common vernacular would be austrian school, but I am a squabbler over rhetoric10:13
Aki-Thinkpadand the Austrian School is more associated with anarchy than it is with value free economics10:14
ubuntinho__Well... anarcho capitalism.. no?10:14
Aki-ThinkpadYah; you know ?10:15
ubuntinho__Seems to have evolved into libertarian ideology10:15
Aki-ThinkpadTo me; there are issues with the Mises Institute; Its off topic to this channel so I won't go on about it, but10:15
Aki-Thinkpadthe catalyst for me to set off to eventually fork the project~ was the fact that their quotes of Mises, was censored of all his disparaging remarks about anarchy10:16
* Aki-Thinkpad blood pressure rises10:17
ubuntinho__:D10:17
Aki-Thinkpaddeep breath; anyways, thats off topic10:17
ubuntinho__Yeah, no I guess it's hard to go into a deeper discussion of that on this channel :)10:17
ubuntinho__But it would be interesting to discuss this at another venue maybe.10:18
ubuntinho__Just to say that I come from the side of marxism/socialism10:19
Aki-Thinkpad#marxism is the channel you want to be in10:19
ubuntinho__So we may respectfully disagree.. but yes off topic10:19
Aki-Thinkpadinteresting community there10:19
ubuntinho__Ah okay, it's my first time using IRC10:20
Aki-ThinkpadI am always open to a debate. I may not be a dialectical materialist, but I enjoy learning about marx truth be told10:20
Aki-Thinkpadubuntinho__, on irc, you should hang out in #learnprogramming10:21
ubuntinho__I'm down with that.10:21
Aki-Thinkpadthat is a great place to ask stupid questions10:21
ubuntinho__Cool, plenty of those!10:21
Aki-Thinkpadha10:21
ubuntinho__How do I open a new tab in this IRC thing? #stupidquestion10:22
Aki-Thinkpadwhat irc client you using?10:22
Aki-Thinkpadempathy? pidgin?10:22
Aki-Thinkpadxchat?10:22
ubuntinho__um, not sure. its just a button of the ubuntu sdk10:22
Aki-Thinkpadand to the question, just type /join10:22
Aki-Thinkpadah10:22
Aki-Thinkpadha, good to know someone uses that plugin10:22
ubuntinho__:D10:22
ubuntinho__so i guess ill go on empathy then :)10:23
Aki-Thinkpadubuntinho__, hrrmmmm,10:23
Aki-Thinkpadempathy really isn't that great10:23
Aki-ThinkpadI'd say grab pidgin or xchat10:23
ubuntinho__oh ok10:23
Aki-Thinkpadxchat is a bit more advanced10:23
Aki-Thinkpadand has a few annoyances10:23
Aki-Thinkpadbut pidgin has a few really neat commands10:23
Aki-Thinkpadsuch as /list10:24
Aki-Thinkpadwhich lists every irc channel in freenode10:24
Aki-Thinkpadby the way; you should definitely learn to use IRC;10:24
Aki-Thinkpad!autocomplet10:24
Aki-Thinkpaderrp10:24
Aki-Thinkpad!autocomplete10:24
ubot5You can use your <tab> key for autocompletion of nicknames in IRC, as well as for completion of filenames and programs on the command line.10:24
Aki-Thinkpadmmm not that10:24
Aki-Thinkpad!tab10:24
Aki-Thinkpadsec10:25
ubuntinho__yeah downloading pidgin now10:25
ubuntinho__this is cool, reminds me of those old msn messenger chatrooms10:26
Aki-Thinkpad!guidelines10:26
ubot5The guidelines for using the Ubuntu channels can be found here: http://wiki.ubuntu.com/IRC/Guidelines10:26
Aki-Thinkpadubuntinho__, yah my first software project was creating a plugin for an irc bot in python10:27
ubuntinho__ah sounds fun10:27
ubuntinho__so i've added you on g+10:29
ubuntinho__interesting content man10:29
Aki-Thinkpadthanks10:30
Aki-Thinkpadubuntinho__, also, one way to get peoples attention10:30
Aki-Thinkpadis to start typing their name, press tab10:30
Aki-Thinkpadand then that will autocomplete10:31
Aki-Thinkpadwhen you type someones name out, it notifies them10:31
ubuntinho__Aki-Thinkpad: ah i see!10:31
Aki-Thinkpadperfect10:31
nik90_zsombi_: ping12:07
zsombi_nik90_: pong12:07
nik90_zsombi_: hey I need your advice here...say in the phone interface I have 2 pages which are pushed to the pagestack one after the other...in the tablet or desktop I want to insert the contents of page 2 in page 1.12:08
nik90_zsombi_: Is that possible to do?12:08
nik90_zsombi_: for example, page 1 is a accounts page, page 2 is a login page. So a user goes to page 1 and reads about the account details and can choose to login in using page 2.12:08
nik90_zsombi_: in the tablet form, I want to show the login box (page 2) in page 1 itself12:09
zsombi_nik90_: it is possible, but you need to have the content separated from teh Page itself, so declared in a separate blobs12:09
nik90_zsombi_: ah12:09
zsombi_nik90_: it needs some work from your side though... and may not necessarily need many Layouts{} there12:10
nik90_zsombi_: can't I add a Page{} inside the ConditonalLayout{} ?12:10
zsombi_nik90_: not healthy tbh...12:10
zsombi_nik90_: you could, but then how woudl you put Page2 in Page1?12:10
zsombi_nik90_: think about it as content, not necessarily as complete page12:11
nik90_zsombi_: ok12:11
zsombi_nik90_: you move the content, not the tools you use12:11
nik90_zsombi_: yeah..I guess I need to first separate the content into its own container and then put it inside a page or conditional layout depending on the interface12:12
nik90_zsombi_: oh also, I defined a variable called AspectRatio = mainView.width/mainView.height and I use that as a condition to switch between phone, tablet portrait and tablet landscape interfaces12:13
nik90_zsombi_: Is that recommended? (btw this is for a Ubuntu Layouts presentation that I am going to give during the Ubuntu Online Summit)12:13
zsombi_nik90_: you do whatever you like for your conditions :)12:14
zsombi_nik90_: if your layout shoudl switch when monkeys are dancing, so it be :)12:14
zsombioh, dear, segfault...12:15
zsombinik90_: I meant there's no restriction on what can you use for conditions or not.. any kind of boolean expression does the job. The aspect ration you did is a fpn, so you may have problems on comparison12:16
nik90_zsombi: fpn?12:17
zsombinik90_: floating point number12:17
nik90_zsombi: well I convert it to a one decimal point number...so it is always 1.1 or 1.2...etc12:17
zsombinik90_: ok12:17
nik90_zsombi: in the future, how do you expect developers to change interfaces though?12:18
nik90_zsombi: based on the device or the screen width and height12:18
zsombinik90_: there will be a hint, called usage mode, or simply mode, we have not nailed the name yet, which will say is the device in phablet (phone and tablet), windowed (Desktop) or 10feet (TV) mode12:19
nik90_zsombi: ah...sweet12:20
zsombinik90_: based on that you can change layouts, however you may still need to think of the space differences in phablet12:20
zsombinik90_: but you most likely won't have to switch inside phablet, from phone to tablet layouts12:20
nik90_zsombi: true..since a phablet could be a nexus 7 or nexus 10 which have different screen sizes12:20
zsombinik90_: more, nexus4, nexus7 or nexus1012:21
=== fginther` is now known as fginther
nik90_zsombi: yes12:21
zsombinik90_: so you can then decide on runtime what layout you want to set as default: small, medium or large12:21
zsombinik90_: the only thing you need to care is the landscape/portrait switch12:21
nik90_zsombi: yeah12:22
zsombinik90_: then when switching modes, you can think of more stuff, like what extra functionality you want when going into windowed mode: you will ahve a mouse pointer there, and a HW kbd12:22
zsombinik90_: but that's the future... how near it is, I cannot express yet...12:23
zsombibut soon12:23
nik90_zsombi: no worries..I have temporary conditions until then12:23
zsombinik90_: good :)12:23
mdeslaurhow do I center a label in a grid cell?12:25
nik90_mdeslaur: I assume you have defined your grid cell?12:26
nik90_mdeslaur: you can set the label to fit the width of the grid cell and then set the horizontal alignment of the text by, horizontalAlignment = Text.AlighHCenter12:27
=== _salem is now known as salem_
mdeslaurnik90_: well, I'm setting the label width with this: width: resultGrid.width / resultGrid.columns - resultGrid.spacing12:32
mdeslaurnik90_: adding a horizontalAlignment doesn't seem to make a difference12:32
nik90_mdeslaur: have you tried anchors.horizontalCenter: parent.horizontalCenter?12:33
mdeslaurnik90_: that gives me QML Grid: Cannot specify anchors for items inside Grid. Grid will not function.12:33
nik90_mdeslaur: ah12:34
nik90_mdeslaur: in that case, you need to find an alternate expression for your label width12:34
mdeslauran alternate expression?12:35
mdeslaurperhaps I need to add my labels inside rectangles inside each cell or something?12:35
nik90_mdeslaur: Can you share the grid code with the label stuff..that might give me a better idea12:35
mdeslaurnik90_: http://paste.ubuntu.com/7580098/12:36
* nik90_ looks12:36
=== chihchun_afk is now known as chihchun
nik90_mdeslaur: I notice two issues in your code...one it is hard to debug a label, so yes you might want to replace labels with a rectangle to see if it is getting the width that you expect.12:39
nik90_mdeslaur: secondly, too much code duplication. Perhaps a QML repeater here would help quite a bit12:39
mdeslaurnik90_: thanks, I'll try with rectangles12:41
mdeslaurnik90_: and yes, I need to figure out how repeaters work :P12:41
nik90_mdeslaur: np...it is quite simple. http://qt-project.org/doc/qt-5/qml-qtquick-repeater.html12:42
mdeslaurI tried reading the repeater documentation, but it was....lackluster :P12:42
nik90_mdeslaur: oh.12:42
mdeslauroh, hrm, I was looking at http://developer.ubuntu.com/api/qml/sdk-14.04/QtQuick.Repeater/12:43
mdeslaurperhaps the other one is better12:43
nik90_yup12:43
nik90_mdeslaur: btw, is this for the split bill app in the store?12:43
mdeslauryes12:43
nik90_mdeslaur: sweet. I like the app's simplicity and usability12:44
mdeslaur:)12:44
mdeslaurah, yes, the link you gave me has the info I was missing, thanks12:45
mdeslauroh har har, it's the same documentation12:46
mdeslaurI apparently can't read :)12:46
nik90_mdeslaur: the one you linked is missing the pics which are definitely required :)12:47
mdeslaurhow would I set objectNames for items in a repeater?12:47
nik90_mdeslaur: same way you do it now..except you can do objectname: "somestring" + index12:48
nik90_mdeslaur: I use it in the clock app12:48
mdeslaurah, ok, so I always use index to name stuff12:49
mdeslaurI see, thanks12:49
nik90_ur welcome12:49
popeybzoltan: neither libthumbnailer0 nor qtdeclarative5-ubuntu-thumbnailer0.1 depend on thumbnailer-service, which makes it not work.12:58
popeybzoltan: who owns those packages?12:58
bzoltanpopey: Satoris I talked about those packages last time12:59
popeybzoltan: seems an omission to not depend on the thumbnailer service, no?13:01
bzoltanpopey: it does... it should be at least recommended13:04
popeyit is recommends13:05
popeybut that doesn't install it on a stock desktop does it? (It didnt for me)13:05
popeydpm: did you upload gallery?13:07
ogra_popey, recommends are installed by default on desktop13:08
ogra_and completely suppressed on touch13:09
popeythey weren't here13:09
popeyi had to manually install thumbnailer-service13:09
ogra_well, check it is actually a recommends and not a suggests then13:09
popeyRecommends: thumbnailer-service (= 1.1+14.04.20140401.1-0ubuntu1)13:09
ogra_so if that package in that version exists it should be installed alongside13:10
ogra_(on desktop)13:10
popeyhm13:10
Albert_hello everyone13:11
dpmpopey, no, I asked bfiller if he could upload Gallery and Camera yesterday (with translations). Is that what you're seeing?13:23
bfillerdpm: I just uploaded gallery, building camera now13:24
bfillerpopey: just translation changes nothing else13:24
dpmcool, thanks bfiller.13:24
popeyok13:25
popeyapproved gallery13:26
nik90_ahayzen: ping13:35
ahayzennik90_, pong13:41
nik90_ahayzen: hey I think michael spencer (file manager dev) will be able to join the core apps hangout if it is not a hangouts-on-air. Is that okay?13:41
nik90_ahayzen: tbh I think you summary to the mailing list would suffice13:41
ahayzennik90_, fine by me13:42
nik90_your*13:42
nik90_ahayzen: ok. I so Michael and Viktor are in UTC-5, so we can choose something suited to them13:42
nik90_ahayzen: I will have an email sent out today for that13:42
ahayzennik90_, the point of them is for allowing us to cross communicate, so if we have to drop hangouts-on-air for every other one or something then thts cool13:42
nik90_ahayzen: excellent point13:43
ahayzennik90_, as u said the summary to the mailing list will help13:43
nik90_ahayzen: if you talk to victor sometime today or tomorrow, can you ask him to send the time he is comfortable with on Thursday.13:43
nik90_ahayzen: I will ask Michael to do the same and I think for us the time should be fine13:43
ahayzennik90_, sent him a msg :)13:45
nik90_ahayzen: thnx13:45
nerochiarobfiller: do we have a final decision on removing the album feature for RTM on gallery ? or at least removing the page flip animation13:47
nerochiarobfiller: there was a bunch of discussion in malta but it wasn't officially decided one way or the other13:47
popeydpm: bfiller approved camera too.13:48
bfillernerochiaro: we are leaving it in13:48
dpmgreat, thanks popey!13:49
bfillernerochiaro: artmello is looking at making the initial loading faster and that is all we'll do on it. probably won't make other changes unless they affect performance13:49
bfillerpopey: thanks13:49
nerochiarobfiller: ok, then we need to have this MR that was approved long ago pulled in https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-flip-hint/+merge/21607913:51
bfillernerochiaro: ok13:52
nerochiarobfiller: mumble dropped me and i can't reconnect14:24
nerochiarobfiller: ok, nevermind, back14:24
=== Guest58330 is now known as karni
nerochiarobfiller: all merge requests have been approved by jim. i sent you an email with the list14:38
bfillernerochiaro: great, thanks14:38
=== salem_ is now known as _salem
josenik90_: hey, have a minute?16:03
nik90_jose: hey16:16
josenik90_: mind a quick PM?16:16
nik90_jose: yes go ahead16:16
=== _salem is now known as salem_
=== chihchun is now known as chihchun_afk
ahayzennik90_, ping17:13
nik90_ahayzen: pong17:20
ahayzennik90_, you've used the Layouts component haven't you?17:25
nik90_ahayzen: yeah17:25
=== salem_ is now known as _salem
ahayzennik90_, i've been playing about to try a get a sidebar that is scrollable (eg a track queue for music-app) ... but then as both the left right parts are scrollable it doesn't hide the header when you scroll down :/ https://code.launchpad.net/~andrew-hayzen/+junk/test-music-app-sidebar-convergence17:26
ahayzennik90_, i'm not sure wht would be expected in this case with two scrollable parts, whether scrolling down on either would hide the header or whether it should just stay always visible?17:27
ahayzennik90_, also have i done it correctly? lol17:27
nik90_ahayzen: Well did you set the flickable property to the flickable of the right side?17:28
ahayzennik90_, they are both listviews17:28
nik90_ahayzen: true.but which one do you want to hide the header when you scroll?17:28
nik90_ahayzen: the one in the sidebar or the content?17:28
nik90_ahayzen: I would assume you want the header to hide only when the user scrolls the content?17:28
ahayzennik90_, well this is what i mean, as a user would you expect just the left? or both?17:29
ahayzennik90_, and from a technical point of view what is possible?17:29
nik90_ahayzen: from a technical point of view, I haven't tried it before :P17:29
ahayzennik90_, i'm leaning towards just the left, so if i decided that how would i make it work?17:29
nik90_ahayzen: let me try out your branch first to get a better idea17:29
ahayzennik90_, probably best :)17:30
nik90_ahayzen: ok..so what does the white and black columns represent in your test app?17:31
ahayzennik90_, the white section would be the content... and the black is the sidebar (play queue)17:32
nik90_ahayzen: hmm..I am not sure design wise which you would expect to hide the header. Technically it is possible (just tried it now)17:34
nik90_ahayzen: set the flickable property of the page to the listview id17:34
ahayzennik90_, ah i see...hang on let me try17:34
nik90_ahayzen: that should hide the header automatically when you scroll the listview up17:34
nik90_ahayzen: however17:34
nik90_ahayzen: the other listview top anchoring is below the header :/17:35
ahayzennik90_, yeah17:35
ahayzennik90_, what if ...on mouse enter into the object you changed the flickable property to tht hehe17:35
nik90_ahayzen: maybe you can set the top anchor of the 2nd listview to the top of the 1st listview instead of the page17:35
mzanettirpadovani: hey, reviewd all your reminders MRs17:35
nik90_ahayzen: it feels hacky :P17:35
ahayzennik90_, that could be an idea17:35
ahayzennik90_, yeah tht would be hacky but sounds like something fun to see what would happen ...would probably break the header again lol17:36
nik90_ahayzen: lol17:36
ahayzennik90_, surely they are anchored to the same point? both parent.top inside that Item {} no?17:37
nik90_ahayzen: IMHO I would set the header to hide only when you scroll the main content and not the sidebar.17:37
ahayzennik90_, yeah thts what i want todo just as you said the second listview gets out of alignment17:37
ahayzennik90_, oh no from the beginning it is higher strange17:38
nik90_ahayzen: yup17:38
ahayzennik90_, what is caused by setting the listview to flickable in the page?17:38
nik90_ahayzen: the automatic hiding of the header when you scroll that flickable17:39
nik90_ahayzen: by default, it set the first flickable it finds17:39
nik90_ahayzen: however here we are explicitly setting ti17:39
nik90_it17:39
ahayzennik90_, yeah so how do i get them at the same place ....17:39
nik90_ahayzen: I guess that's what you need to find out..I tried anchoring the second listview to the top of the first listview..but that dint work either17:40
nik90_ahayzen: oh btw, you don't need to set anchors.fill: undefined for the main content listview17:41
nik90_ahayzen: when you switch between layout all anchor properties, width, height are reset17:41
ahayzennik90_, oh yeah thanks17:41
ahayzennik90_, hmm i'll have a play about with setting the second listview position... thanks for your pointers :)17:42
nik90_ahayzen: np...also use Row instead of item17:42
nik90_ahayzen: that's the last of my suggestion :P17:42
ahayzennik90_, thanks :)17:42
ahayzennik90_, and the row lets you remove half of the anchors \o/17:47
nik90_ahayzen: yup17:47
jdstrandrenato: were you pinging me about https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/CalManagement/+merge/213355?17:48
ahayzennik90_, but does mean you need to give a width to the content listview, unless there is a way of telling one component to expand into the space like in Gtk?17:48
nik90_ahayzen: yeah you need to set a width..I general do width: row.width - sidebar.width...and set the sidebar.width manually like 0.3*page.width17:49
ahayzennik90_, yeah unless....17:49
* ahayzen starts reading docs17:49
renatojdstrand, I get the information that you need17:50
ahayzennik90_, wasn't there a way of doing nice transitions with the Layouts as well? ... i can't see tht in the ubuntu docs?17:51
ahayzennik90_, or am i imagining things17:51
nik90_ahayzen: you mean the sidebar width increasing with a transition?17:51
ahayzennik90_, well between you conditional layouts adding transitions?17:52
ahayzennik90_, so the sidebar would slide in17:52
nik90_ahayzen: there are none by default..so when you define the sidebar, you could add animation manually like Behavior on width{} and so on17:52
nik90_ahayzen: in my app, I did those myself17:52
ahayzennik90_, ah ok17:53
ahayzennik90_, is this too hacky? ... for the right (second) listview i set this for the anchors topMargin: header.height + header.y and now it is at the correct position with the header :)17:53
nik90_ahayzen: does that still work when you scroll the left listview?17:54
ahayzennik90_, yep perfectly17:54
nik90_ahayzen: tbh I would expect this to be a sdk bug..you should talk to t1mp about that anchoring17:54
nik90_ahayzen: but for now, it seems like a good temporary solution..just add a #FIXME or something17:54
ahayzennik90_, yeah but i've got much further than when i last tried to use the layouts seems less buggy than it was before :)17:56
nik90_ahayzen: :)17:56
ahayzennik90_, convergence \o/17:56
nik90_ahayzen: btw, there are 3 critical bug fixes to layouts which has not landed in trusty yet..it is already on the phone and utopic17:56
renatojdstrand, just update the MR with the outputs17:57
ahayzennik90_, are they in the SDK PPA?17:57
nik90_ahayzen: no not yet :/17:58
nik90_ahayzen: I also need it for my own app17:58
ahayzennik90_, have you got a link to them so i don't panic if i hit them ;)17:58
nik90_ahayzen: you should keep pinging bzoltan for the update :)17:58
ahayzennik90_, heh17:58
ahayzennik90_, thanks for your help, dinner and Q&A time :)18:00
nik90_ahayzen: Q&A time :)18:00
jdstrandrenato: responded18:16
t1mpnik90_, ahayzen our landings are on hold until the current broken images are fixed (not uitk-related)18:21
t1mpso, we have to wait18:21
nik90_t1mp: the updates I am referring are already in trunk..not staging..infact they already on the phone images as well..they haven't been released to the sdk ppa18:21
t1mpahh18:22
t1mpnik90_: then you are right, ask bzoltan about it :)18:22
renatojdstrand, works I did not get the error message18:22
nik90_t1mp: :)18:22
renatopopey, who can help me to test the jdstrand changes, Is working for me but the app freezes after selecting the calendars18:23
=== _salem is now known as salem_
=== salem_ is now known as _salem
ahayzent1mp, o/18:51
ahayzent1mp, in this branch i have two listviews next to each other within a layout and we were wondering how to make the second one have the same top anchor as the first https://code.launchpad.net/~andrew-hayzen/+junk/test-music-app-sidebar-convergence18:51
ahayzent1mp, also note that for the first listview it is set as the flickable for the parent page18:52
ahayzent1mp, i have put this into the second listview but we didn't know whether this was hacky? topMargin: header.height + header.y18:52
ahayzenballoons, ping19:04
balloonsahayzen, I had a feeling I might hear from you today19:04
balloonshehe19:04
ahayzenballoons, how are you feeling today?19:04
balloonsa bit roughed up.. I'll need another week or so to be back to normal I think19:05
ahayzen:(19:05
ahayzenballoons, are you in a state to look at autopilot things?19:05
balloonsahayzen, of course.. I know you are wanting to know about the music app and autopilot19:06
ahayzenballoons, i tried a few more things like stopping the mediascanner service and then restarting once we had set HOME19:06
ahayzenballoons, but it either would ignore me or wouldn't start correctly19:07
ahayzenballoons, i then looked at the mediascanner-scope and they appear to still be using mediascanner1 for their unit tests, so couldn't hijack their code19:07
rpadovanimzanetti, thanks, hope to have some time 2night to do fixes19:07
ahayzenballoons, do you have any ideas how to correctly fake the environment?19:08
balloonsahayzen, yes roll back and don't fake it19:09
ahayzenballoons, i rolled back to when we Victor did his /tmp patch? do u mean that or before then?19:09
balloonsahayzen, we need help to solve the problem, and it's not easily solved19:09
balloonsahayzen, so if we need to go in, I mean we'll rip everything out and test inside /home19:10
ahayzenballoons, because i think it is acting differently now that it is using dbus....so will we actually have to modify the live mediastore.db?19:10
balloonsahayzen, ohh is there something further that is different?19:10
balloonsahayzen, if we can get rid of the apparmor errors we are fine. They are the issue with faking the env19:10
ahayzenballoons, well since Victor was doing his /tmp fake environment mediascanner has changed to using dbus if i understand what they have done correctly19:11
ahayzenballoons, i haven't successfully got it to create any fake env yet it always shows whatever my 'real' environment is with this new mediascanner...but i'm probably doing it wrong19:12
balloonsahayzen, no no, running the tests is the only magic, lol. if they don't setup correctly it's there fault not you19:13
balloonsahayzen, the reason it is failing atm is apparmor19:13
balloonsnamely, the mediascanner access19:13
ahayzenballoons, but this is on desktop i'm trying to get it to work first19:13
balloonsahayzen, ohh it should work on the desktop19:15
t1mpahayzen: yes, we try to discourage using the header property19:15
ahayzenballoons, yeah at the moment *nothing* is working19:15
t1mpahayzen: what if you set rightListView.anchors.topMargin: leftListView.anchors.topMargin ?19:15
ahayzent1mp, so how would i correctly do it?19:15
t1mpbut the header will show/hide when you scroll the left one, it is not connected to the right one19:16
dpmballoons, elopio, could you have a look at the Reminders tests? It seems the infrastructure is not quite working - popey tried to run them yesterday for the upload to the store and found out a lot of manual copying is required to get the evernote sdk and other bits set up to even run the tests19:16
t1mpahayzen: do you want the listView scrolling to interact with the header?19:16
ahayzent1mp, i just wanted the left listview to interact with the header at the moment19:17
ahayzent1mp, i tried linking the topMargins that doesn't work :/19:17
ahayzent1mp, it makes the most sense to do it on the left... as the left would contain the contents (eg list of artists/albums/tracks) and the right contains the current play queue19:17
t1mpahayzen: an alternative would be to fix the header (by setting Page.flickable to null)19:18
dpmballoons, elopio, also it seems we're having some failures on Jenkins, and I can't figure out what's going on. Any help on these (e.g. https://code.launchpad.net/~rpadovani/reminders-app/1318751/+merge/220063) would be great. Thanks!19:18
ahayzent1mp, but i think we would still want the header to show/hide although we have no guidance of yet what to do on tablet/desktop in this respect19:19
t1mpahayzen: tricky. We don't have a solution for this yet19:19
ahayzent1mp, yeah thats what nik90 said19:19
t1mpahayzen: perhaps you can add your use case to the "other requirements" at the top of https://docs.google.com/a/canonical.com/document/d/1wUUKtPmRmwbUELC1BUB9l0VOAwS_zAPRSCqMopUxR1c/edit# ?19:19
t1mpahayzen: the header property is not supposed to be used directly, but in the new API it seems like we need to expose the header height to the apps19:20
ahayzent1mp, yeah just the current amount shown on screen would be nice so then you can create an offset19:20
ahayzent1mp, thanks i'll add it in19:20
t1mpahayzen: the way you have it now, when you scroll to the top of the right listview, and the header is visible, you won't see the topmost item19:21
t1mpahayzen: you will have to scroll up in the left listview to expose that, right?19:21
t1mpah no, that's not the case if you set the topMargin of the right one19:21
ahayzent1mp, yeah the margin is to make you see the top of the right listview19:21
t1mpwhy doesn't right.anchors.topMargin = left.anchors.topMargin work? the left topMargin should adapt automatically19:22
ahayzent1mp, i'm not sure let me try it again... i put it into the conditional layout..19:22
t1mpoh that makes it even more complicated :)19:23
t1mptbh I haven't had time to try to mix layouts with scrolling header19:23
ahayzent1mp, yeah, it doesn't seem to get a value from the left listview19:24
ahayzenballoons, have you tried running the AP tests on your machine to make sure your experiencing the same as me?19:25
ahayzent1mp, i'll add an item to the 'other requirements' for now, as it currently 'works' and we can't see any obvious solution :)19:26
t1mpahayzen: I have an MR ready that prints a warning when you access the header property19:26
ahayzen:(...but but but...19:27
t1mpahayzen: you can work around that by using Page.__propagated.header instead. At least like that (with the __) it is clear that you are using a property that is supposed to be internal19:27
t1mphmm19:28
ahayzent1mp, we've used header quite a lot...and it looked like we have used header.height + header.y quite a few times...so if we did have an offset it would be quite useful19:28
balloonsahayzen, give me a moment and I'll switch gears to music and see what we can do19:28
t1mpahayzen: the idea is that the header is configured via properties of the Page19:28
ahayzenballoons, thanks :)19:28
balloonsahayzen, what I plan on is just making it work so you can land. you are ready to do so right?19:28
ahayzenballoons, i think we are ready from our end...but yes basically get it passing on device, desktop and jenkins then we'll double check the branch and land it!19:29
t1mpahayzen: any suggestions how to do that? Maybe an attached property to page that has the header visible and offset properties to read?19:29
ahayzent1mp, well could the offset just be 0 when the header is not shown?19:29
t1mpahayzen: yes :)19:30
ahayzent1mp, and then when it is shown/showing be whatever header.y+header.height is19:30
ahayzent1mp, basically we just want ^^ as a public property :)19:30
* ahayzen trying to think if you would ever want just header.height on its own or if the current offset is enough19:31
t1mpso what happens now when you are scrolling the left listview?19:32
t1mpthe right listview topmargin changes, so the right listview is also moving up/down?19:32
t1mpperhaps we should use a toolbar instead19:32
t1mpj/k ;)19:32
ahayzent1mp, the right listview position feels like it is bound to the bottom of the header19:33
=== _salem is now known as salem_
ahayzent1mp, so whatever was at the top of the screen below the header when it was shown then becomes at the top of the window19:35
t1mpoh, cool. it works well without delays?19:35
ahayzent1mp, it makes the most sense, as when it is going the other way (header hidden->shown) if it didn't scroll your current item could be 'lost' below the header19:35
ahayzent1mp, yep feels like it is bound to it :) ... but then i only have labels in my listitems at the moment ;)19:36
t1mpan alternative could be to automatically hide the header when interacting with the right listview19:36
t1mphmm19:36
t1mpno I think your solution is more elegant19:36
ahayzent1mp, yeah i thought maybe when the most entered the right listview you could then change the page flickable...but we thought that would be too hacky19:37
ahayzent1mp, the current solution i think feels/works the best .... just as long as we can continue doing it with the new header API19:37
t1mpperhaps I should wait with adding the warning when using Page.header until the new API has the functionality that you need19:38
ahayzent1mp, a warning isn't too bad though?19:39
ahayzent1mp, it'll remind us that we need to change it :P19:39
t1mpahayzen: yes, true :)19:39
ahayzent1mp, and deter other developers19:40
t1mpwell, you'd get it every time you get Page.header.. I don't know if that will mean it will be printing a lot while you scroll, that would suck19:40
ahayzent1mp, ah that could be a lot of debug19:40
ahayzenspam the log files!19:40
t1mpeven worse, it can make you app slow19:41
ahayzenyep :/19:41
t1mpahayzen: here is the MR - https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/98-DeprecateHeader/+merge/22193519:41
t1mpahayzen: you can try out that branch19:41
ahayzent1mp, well this particular thing i'm working on is unlikely to land 'soon'...as i'm just prototyping convergence things...but is depends how easy it is, as the current prototype i've done seems quite successful :)19:42
ahayzent1mp, cool i'll give it a shot see what happens19:42
t1mpahayzen: ok, let me know19:42
t1mpahayzen: or when I'm not around, please comment your findings on the MR19:42
ahayzent1mp, it is more where we have the header in the rest of the app that i'm more worried, but then i guess when i land these Layouts i can update them all19:43
ahayzent1mp, cool thanks19:43
* ahayzen wonders how balloons is getting on19:45
ahayzent1mp, ah the document is comment only...could you add the offset to the list?19:46
ahayzent1mp, thanks :)19:47
t1mpahayzen: done. perhaps you can add your use case there as a comment?19:47
ahayzent1mp, yep :)19:47
t1mpthanks19:47
balloonsahayzen, still here, still trying to focus19:53
ahayzenballoons, i got myself so confused when i was attempting to figure it out yesterday19:54
elopiodpm, balloons: I won't be able to take a look at reminders today20:00
elopiotomorrow would be better.20:00
dpmthat'd help already, thanks elopio20:01
balloonselopio, viva costa rica20:01
elopioballoons: ¡viva Juan Santamaría!20:02
balloonselopio, interesting. I had never heard of him before20:04
ahayzent1mp, FYI just tried you deprecated branch... you get loads in the terminal as it starts up but then when you scroll up/down to show hide the header nothing appears in the console, therefore no slowdown :)20:06
gerlowskijaI'm walking through the QML App-dev tutorials on the developer.ubuntu.com, and I'm finding a few things that look a bit out-of-date. Is there a place/way to suggest updates/corrections?20:23
=== salem_ is now known as _salem
dakermhall119: https://developer.apple.com/design/awards/21:33
t1mpahayzen: ok, that's good news21:41
ahayzent1mp, yeah we should be ok :)21:41
ahayzent1mp, what would be the ETA on adding something like a header offset property as a matter of interest?21:42
t1mpahayzen: I have a branch with new Header API https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/100-headerAPI21:44
t1mpahayzen: it is a matter of adding it there, and tweaking the API + agreeing on the API :)21:44
t1mpahayzen: and then a few more days for testing and landing the changes, making sure we don't break the apps21:44
ahayzent1mp, ah cool i'll have a look at that tomorrow :)21:45
t1mpahayzen: the offset is not there yet21:45
t1mpahayzen: I added it to the API here https://docs.google.com/a/canonical.com/document/d/1wUUKtPmRmwbUELC1BUB9l0VOAwS_zAPRSCqMopUxR1c/edit#heading=h.mganvrzifny921:45
ahayzent1mp, is that where the header search API will come from?21:45
ahayzent1mp, or will that be in a separate branch?21:45
t1mpahayzen: in that proposal now we have a Page.head grouped property, which includes some read-write properties to configure the header, and readonly properties such as offset to get useful information21:46
t1mpahayzen: for the search, I have a branch that will follow the 100-headerAPI branch21:46
t1mpahayzen: that one depends on 100-headerAPI so that needs to land first, but I split up the two branches so we can discuss the changes separately21:47
t1mpahayzen: see https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/110-headerInput21:47
ahayzent1mp, ok understood21:47
t1mpahayzen: the branches are mostly done, if it is decided that the API is good, they just need a bit more tests and documentation21:48
t1mpwe don't want to mess up the API because once we release it we have to keep supporting it21:48
ahayzent1mp, yeah definitely, better to get it right now21:48
=== chihchun_afk is now known as chihchun

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