=== chriadam|away is now known as chriadam === salem_ is now known as _salem === _salem is now known as salem_ === salem_ is now known as _salem [05:00] Windows SDK on Ubuntu | http://askubuntu.com/q/320935 === chriadam is now known as chriadam|away [06:39] good morning all [07:10] morning dholbach :) [07:11] dpm, so the weather app is not showing the weather I'd like to have for the weekend - can we fix that somehow? :-P [07:11] dholbach, sure, we can always hardcode it so that it always shows sunshine :) [07:12] I'll approve the merge proposal straight away ;) [07:12] that's more like it - I guess we should maintain a list of cities where people just want good weather and if only just for the weekends :) [07:12] luckily other weather services chose to do my bidding, so I guess I'm fine :) [07:15] dpm, why not rain all weekend? [07:15] :P [07:16] dinkometalac, I guess everyone has got a different type of favourite weather, as I say, patches welcome ;) [07:16] dpm, it wouldn't get merged anyway :P [07:16] so, no need hahaha [07:16] :-) [07:17] dinkometalac, btw, really nice to see how Sudoku is evolving, nice work! [07:18] dpm, thanks [07:18] as soon as HUD lands into sdk [07:18] it will be much better [07:18] imagine playing your game with voice [07:18] hahaha [07:19] oh yeah [07:19] dinkometalac, if it rains after the festival I'd be perfectly happy with that :) [07:21] dholbach, what festival? [07:21] rain festival in Bergen, Norway :-D [07:21] dinkometalac, http://pyonen.de/about.html (just outside Berlin) [07:24] dholbach, ah germans, techno :-D [07:24] anyway, have a good time :-) [07:25] dinkometalac, it's not like that's exactly my cup of tea, but as all my friends are going to be there, it's going to be good fun :) [07:25] dholbach, you can always get high :-p [07:28] haha [08:32] Good morning all, happy International Criminal Justice Day! :-D [08:33] good morning all :) [08:41] popey: topic change? [08:49] morning nik90, awesome clock release yesterday :) === popey changed the topic of #ubuntu-app-devel to: http://developer.ubuntu.com | App development on Ubuntu: how to do it & how to make it better | HackDays! http://bit.ly/12Ux0vM | Wed 17th July is Sudoku App HackDay! http://bit.ly/1aOKij2 | Sudoku App Bugs: http://bit.ly/13ukqz5 | Sudoku App Blueprint: http://bit.ly/17ktriJ [08:58] Boom! 2 mins before the start! [09:11] popey, there's a guy who was trying to install core apps on 12.04 via the touch-coreapps package, but got this error about dropping-letters not being installable: http://www.jonobacon.org/2013/07/05/dogfoodable-core-apps/#comment-964953310 [09:11] any ideas what it could be? [09:12] Dropping Letters seems to be available here: https://launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/daily?field.series_filter=precise [09:19] dpm: yeah, someone pinged me on G+ this morning about it, am taking a look [09:19] Hey any one who is working on Calculator core app there ? [09:19] cool, thanks! [09:20] Mihir__, I'm not sure we've got any of the core devs here, but others might be able to answer your questions on Calculator, so feel free to just ask :) [09:22] Actually i have just started looking into Ubuntu Touch and made an interest to start contributing my self [09:22] So need guidance how can I start.. [09:22] I have setup the projects with source code and all [09:25] So need some guidance for further steps. [09:28] cool [09:29] Mihir__, so the next step is just to pick an app you'd like to contribute to, and then we can take it from there. Today we're running the Sudoku hackfest, so that'd be a good start [09:30] Otherwise, Music is also a good option [09:30] Mihir__, so let me know which app you'd like to pick up and we can take it from there [09:31] I have looked into Calculator source code [09:32] and understood lil bit of I am having knowledge of Javascipt and starting with understanding of QML properly [09:32] cool, also a good choice [09:33] Mihir__, have you got Qt Creator set up to look at the code and be able to start the app from there? [09:33] Yup , i got latest source code form bzr. [09:33] I am using Kubuntu 13.04 [09:34] I ran calculator from QT creator [09:38] Mihir__, so the easiest way to start is to actually try the app and see if you notice any usability or functionality issues, which you can report as a bug at https://bugs.launchpad.net/ubuntu-calculator-app (using the "Report a bug" link) [09:39] Okay..Sure.. [09:39] Mihir__, next, you might want to go through the list of bugs in that same page, to see if there is any one that you might be interested to fix [09:39] that will get you deep into the code [09:39] Okay got it [09:39] perfect [09:40] and what if I start working on any bug because I have seen the bug list yesterday and there was discussion going on [09:40] so how do they assign the bugs ? [09:42] Mihir__, you can pick any bug you like. If you want to start working on a bug, feel free to assign yourself to the bug and mark it as In Progress, so that others know you're working on it. However, please do that when you actually start working on it, otherwise we've had the experience that some people "reserved" bugs to work on, got busy with other stuff, never worked on them and blocked others to work on them [09:42] Ohhkie got it :) [09:42] great :) [09:42] and what is the suduko hackthon you were talking about..? [09:43] and is there any simulator to test...because it just run as stand alone application is that fine ? [09:43] let me answer the simulator question first, as it's quicker :) [09:44] we don't yet have a simulator for the SDK. However, all of our developers develop the apps from the desktop, and 99% of the functionality of these apps can be tested by running on the desktop :) [09:45] What is the current recommended development hardware? Or is it just whatever you can get your hands on? [09:46] okay..so whatever works on desktop will work on mobile so no need of simulator [09:47] UberVexer, to develop on the desktop, any computer able to run Ubuntu 12.04 or later should do. To test on mobile devices, there are 4 that are recommended (2 phones and 2 tablets) -> https://wiki.ubuntu.com/Touch/Install#Supported_devices_and_codenames [09:47] dpm: ty [09:48] you're welcome ;) [09:48] Mihir__, essentially, yes [09:48] Mihir__, regarding the Hack Days, you'll find everything about them here: http://developer.ubuntu.com/2013/07/announcing-the-ubuntu-core-apps-hack-days/ [09:49] and yeah what we discuss on #ubuntu-touch channel ? [09:49] we're running a hackfest every day for 3 weeks, today it's Sudoku :) [09:49] Mihir__, I'm not sure I understand the question about #ubuntu-touch [09:51] I mean what kind of discussion goes on on #ubuntu-touch IRC channel [09:52] ah, I see. All kind of discussion related to developing the Ubuntu Touch platform. We chose to use this channel (#ubuntu-app-devel) for the hackfests as it is less noisy [09:55] hey to Component.onCompleted: { displayName(backendInfo.listSounds("/usr/share/sounds/ubuntu/stereo")); print("ok") } [09:55] So apart of development discussion we do it on #ubuntu-touch channel [09:56] ups, sorry for the accidental paste there ;-) [09:56] Mihir__, yeah, this channel is specific for application development [09:56] Mihir__, you're saying you have got experience with JavaScript, so this might be a good start with another activity: review. Someone filed a bug, someone else sent a fix, and now this fix is waiting for review (see the linked branch) https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1199657 [09:56] hey toolkit guys [09:56] You might want to add a comment to the review. [09:56] Ubuntu bug 1199657 in Ubuntu Calculator App "Sum, wrong decimal result" [Undecided,New] [09:57] @dpm and Stock Ticker is just at initial stage ? I can't see any requirements and wireframes on that page [09:58] I've a cpp backend returning a QStringList and I want to give that list to a transformation function and use it as a values: for a ValueSelector [09:58] does anyone has an hint how to do that? [09:58] does using Component.onCompleted: sound like a correct approach? [09:59] Mihir__, stock ticker is actually in a more advanced state than most of the apps. The reason you don't see any wireframes is because it wasn't developed from scratch as a core app. A community developer created it, we thought it would be a good fit for the core apps project and we asked him if he'd be interested for his app to join the project. So we "adopted" it :) [09:59] Hi guys, about to start having a play and wanted to write something to use http://www.goodreads.com/api and was just wondering if there are any apps using oauth yet that I can take a look at ? [09:59] same for the Sudoku app [09:59] My google foo is failing me [09:59] diplo, you should be using the Online Accounts API to do OAuth for you [09:59] however, I don't recall it having a goodreads backend [10:00] so you might need to create that backend first [10:00] OK, is there any documentation on doing that or code I should look at ? [10:00] First try so having a look at someone elses code would be probably a good start for me [10:00] Okay...so he will provide all the details of project & we'll start working on that afterwards :) [10:02] Mihir__, the project is already part of the core apps, you can find the details here: https://wiki.ubuntu.com/Touch/CoreApps/StockTicker - there are no wireframes as the app was developed without them, so there's not much point in creating the wireframes afterwards, unless we plan a UI redesign [10:02] diplo, let me see if I can find something for you [10:03] http://bazaar.launchpad.net/~online-accounts/ubuntu-system-settings-online-accounts/trunk/files [10:03] Looking at that atm [10:04] Okay :) [10:06] diplo, there is some info here, but I believe it's a bit outdated: [10:06] - http://developer.ubuntu.com/resources/technologies/online-accounts/ [10:06] - http://developer.ubuntu.com/resources/technologies/online-accounts/for-service-developers/ [10:06] ta [10:06] Hadn't found that page yet [10:07] yeah, it might be useful to learn about the terms used in online accounts, but I'm pretty sure the code examples are outdated [10:07] diplo, the best person to ask is mardy on #ubuntu-touch, but he seems to be away at the moment [10:08] OK thanks, I'll take a look and understand first. thanks for your help dpm [10:08] np :) [10:13] timp, bzoltan, could any of you answer this question? -> http://askubuntu.com/questions/319355/how-can-textfield-input-be-validated-for-long-integers [10:14] dpm: uhm, we never made the collection available for precise/quantal [10:14] only ever for raring/saucy [10:14] https://launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/collection/+packages [10:15] hmmm [10:15] oh time to flick the switch, then :) [10:15] lol [10:15] it's not a switch [10:15] well, i suspect we could do package copy, would need some testing [10:15] * popey scripts it [10:15] * popey hugs cjwatson who made the copy-package python script [10:16] argh yeah, you're right, we need to do it for each package [10:16] still, that aside, coreapps fail to install too [10:16] * popey debugs in a precise vm [10:17] popey: have you seen the download stats? [10:17] what stats? [10:17] so. "no" ☻ [10:17] popey, thanks for testing. Quick question, what's the Canonical auth package? Which app needs them? [10:18] apt-get rdepends may help you there ☻ [10:20] bzoltan: just catching up with mail, thanks [10:21] popey: It is intersting...there are people on Precise using the Ubuntu SDK :) [10:21] yeah [10:22] hm, nothing seems to depend on it [10:22] nevermind [10:23] So we may want to be nice with them :) I have read in a book, that the secret of a successful business is not the mess around with the customer :) [10:23] popey, the artists tab is now functional in the music app \o/ [10:24] dpm: done [10:24] dpm: reading the docs helped for me :) [10:24] thanks timp! [10:25] dpm: SWEET! [10:27] :) [10:29] hmm [10:29] i see why dropping letters fails to install [10:29] * popey pokes some things [10:34] @dpm i can see that still the bug is not in progress ...so you meant to say I need to review the solution of the javascript library ? [10:34] dpm: have asked fg to build the missing dep, but will try a copy-package to see if that works [10:36] I've just seen it, thanks popey! [10:37] dpm: ever used copy-package? [10:37] it's unbelieveably awesome [10:37] check this out http://paste.ubuntu.com/5883752/ [10:39] http://paste.ubuntu.com/5883757/ the full monty [10:40] Mihir__, yeah, the guy working on it didn't assign it to himself, so I've just done it for him :) He has linked a bzr branch with the fix, which he's attached to the bug. The way development works in core apps is that everyone can check out the code, work on it, and when the fix or feature is ready, they can send a merge proposal to include their code to the main branch. Before a merge proposal is accepted, it needs to be reviewed to make sure it wo [10:40] rks and it makes sense. That's the stage that bug is in, and it'd be helpful to have some review from experienced JS developers [10:41] the nice thing about it is that anyone can do a review. You can click on the "Ready for review" link, which will take you to the merge proposal [10:41] there you can add a comment (or more) and mark it as "Needs Fixing" if you think the code needs improvements or "Approve" if you think it's ok [10:41] Ohhkie got it I was wondering for that..i can see NEW tag only [10:43] where can you see this NEW tag? [10:43] Nope it has been changed now !! [10:43] hi WebbyIT, how are you today? :) [10:44] hi dpm :) I'm fine, thanks... In a couple of hours I'll try to do some MR for sudoku ;) [10:44] awesome! :) [10:46] sweet! [10:46] * popey hugs WebbyIT [10:47] Would any of the apps benefit from having "form-factor and orientation detection" in the SDK? [10:48] I think that the apps can do all that is needed by checking the width and height of the view, but perhaps there are some uses that I didn't think of [10:50] popey, just looked at the pastebin, cool :) [10:50] * dpm loves automation [10:53] timp, I think it would help, as right now we don't have any guidance on how to find out the form factor. I don't think all developers know that all that's needed is to check the width and height of the view. I for one didn't know it: http://askubuntu.com/q/306056/9781 [10:54] @dpm I did try to review that merge request , [10:54] The solution looks fine , but what I feel [10:55] can we use minified version of JS instead of the full version to reduce the space ? [10:55] dpm: I still think you don't need anything besides width and height. If you have a use case to prove me wrong, please tell me [10:55] Mihir__, space does not matter on a native app, and having a minified version would make it impossible to debug [10:56] dpm: "not having guidance" seems like a documentation+examples issue, not a form-factor-detection-module in sdk [10:56] Okay Got it :) so just need the confirmation for that too :) [10:56] timp, I don't actually have a use case, and I think you're right, my thought was rather to make life easier to app developers [10:56] dpm: ok, examples+docs are part of the sdk also :) [10:57] dpm: I think when we start working on apps that automatically scale on different devices we should write some guidelines to help the developers [10:57] Mihir__, my hunch was that it was a bit overkill to use that big external library, but I'm not a JavaScript expert, that's why having your input is very valuable [10:58] Feel free to add the comments on the merge proposal if you like, that'd be helpful for the review [10:58] yes i understood that too [10:59] But in calculator doing manual precision would be painful but let me understand it properly. [10:59] cool, thanks! === MacSlow is now known as MacSlow|lunch [11:33] Hi guys I'm trying to learn how to use bazaar. SUmmary: https://code.launchpad.net/~vanpivix/sudoku-app/sudoku-app/+merge/175170. I'm following David's message step by step: [11:33] I downloaded the branch [11:33] I fix the file I have to fix [11:33] I use bzr pull :parent [11:33] then [11:33] bzr push lp:~vanpivix/sudoku-app/sudoku-app/bug-175170 [11:34] I get this error [11:34] bzr: ERROR: Permission denied: "Cannot create 'bug-175170'. Only Bazaar branches are allowed." [11:34] you probably want bzr push lp:~vanpivix/sudoku-app/bug-175170 [11:36] pepey: THANKS I was going crazy... [11:36] Now I fix the other things.. [11:43] I think now all is ok.. [11:49] xnox: Did you ever find out the answers to your question about ListItem.ValueSelector? [11:52] Laney: w.r.t. flickable of it? i was told they are designing a new / proper option selector widget. [11:52] xnox: Both actually [11:53] I'd like to have one backed by a model [11:53] Laney: http://design.ubuntu.com/apps/building-blocks/option-selector [11:53] Laney: oh, and i don't think either are backed by models. [11:53] alternatively can I convert it to a list of strings? [11:56] Laney: you can have it's currently selected index, and choose the default index. [11:57] thanks andrea_ for your contribution! [11:57] Laney, xnox: join https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1201872 ? [11:57] Ubuntu bug 1201872 in Ubuntu UI Toolkit "ListItems.ValueSelector doesn't work well with dynamic options" [Undecided,New] [11:57] maybe I can subscript it [11:57] seb128: I'm trying to hack your MP :P [11:57] Laney, good luck ;-) [11:57] I think you can get rid of the C++ bit [11:58] Laney, list files from qml? how? I though you couldn't access the local disk from js/qml [11:58] there's a FolderListModel [11:58] Laney, btw on the valueselector topic: [11:58] seb128, problem is ValueSelector doesn't support delegates yet [11:58] seb128, but AFAIK they're making it so that it does [11:58] assuming we are allowed to use it [11:58] seb128, at which point you'd just use their delegate and extend it to format your things [11:58] seb128: qml has native xml / qml models support.... [11:59] yeah, ... ValueSelector :| [11:59] xnox, right, I've been using those [11:59] xnox, still that doesn't give me the content of /etc files or /usr directories [11:59] * xnox is stuck with android when i should be joining in on the qml fun! [12:02] @dmp hey, I am unable to see keyboard while running project from QT SDK [12:02] any Idea? [12:04] seb128: I guess the valueselector delegates that you refer to is what is asked in this bug report? https://bugs.launchpad.net/ubuntu-ux/+bug/1201872 [12:04] Ubuntu bug 1201872 in Ubuntu UX "ListItems.ValueSelector doesn't work well with dynamic options" [Undecided,New] [12:04] seb128: I don't think someone is currently working on it [12:04] timp, yes [12:05] timp, hum, ok, I worked around it so it's not blocking me, but the widget is pretty limited atm imho [12:05] well, you can't fix everything in a day ;-) [12:05] that is very true :) [12:05] seems like the widget UI is being reworked though? [12:06] dpm: thank you for the help :D [12:06] or that a OptionSelector one is coming? [12:07] seb128: what do you mean with widget ui? [12:07] seb128: yeah design calls it OptionSelector now, so eventually there will be an OptionSelector with proper designs and behavior [12:08] (and a deprecated valueselector that is a subclass of optionselector I assume, but not just yet. Currently we have the ValueSelector to be used) [12:08] hrm, I don't know how to do it [12:08] timp: Do you know of a trick to turn a model into a list of strings? [12:08] timp, well, we are using ValueSelector in system settings but it's not looking great, mpt said to not worry and to wait for OptionSelector to be available and that's going to look better [12:08] I'm trying to populate a ValueSelector with a FolderListModel [12:09] seb128: mpt gave you good advice :) [12:09] timp, good to hear ;-) === jdstrand_ is now known as jdstrand [12:09] Laney: does it need to be expandable? Otherwise you can consider having a ListItem.Header, by a list of standard list items that is populated by the folderlistmode [12:09] +l [12:10] Laney, you can probably hack around like I did in https://code.launchpad.net/~seb128/ubuntu-system-settings/sound-display-names/+merge/175250 [12:10] It's permenantly expanded [12:10] Laney, e.g have a function that populate the list from the model [12:10] seb128: there are new designs that look pretty sleek http://design.ubuntu.com/apps/building-blocks/option-selector but we don't have it implemented yet [12:11] ok [12:11] timp, Laney: the issue with the "list of standard list items" is that you need to reimplement the "select one value" behaviour [12:11] timp, do you know when the new option selector should be there? [12:13] seb128: no, I think we need to discuss its priority. It is not in the current list of scheduled components but perhaps it should be [12:13] seb128, Laney I created a bug for this (I couldn't find an existing one; if there is please let me know) https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1202170 [12:13] Ubuntu bug 1202170 in Ubuntu UI Toolkit "Implement OptionSelector" [Undecided,New] [12:14] OK I'll just leave it getting a QStringList from C++ for now [12:14] seb128, Laney please comment there with your use case(s) and let us know whether it is important for you. [12:14] timp: thanks [12:15] kalikiana: ^ see bug [12:15] I just discovered that we do have the optionselector scheduled :) [12:16] with priority 2 (1 is the highest). [12:16] timp, great, that confirms what the design guys said then ;-) [12:16] kalikiana: ^ you are assigned to the OptionSelector in the spreadsheet; what's the current plan for that? [12:16] we need it [12:16] quite some of the system settings UI look weird using the current valueselector [12:18] kalikiana: hey, you wanna trade your OptionSelector for my "medium font weight" and grid view? :) [12:21] timp, I barely had time to look at OptionSelector so I'm not emotionally attached so to speak [12:21] if you want I don't mind trading [12:21] ok, cool [12:21] I made the ugly ValueSelector so am a bit emotionally attached ;) [12:22] haha [12:24] kalikiana: ok, so I'll swap them in https://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0Av4_up3vZmkvdGNHdW1mWGtwSndPWkRJQkdwNFgtM3c#gid=0 === MacSlow|lunch is now known as MacSlow === _salem is now known as salem_ [12:45] dpm: hi! You were looking for me before :-) [12:46] hi mardy, thanks for coming back to me :) [12:47] mardy, earlier on diplo was looking for some info on how to add a new provider to Online Accounts for Ubuntu Touch (to be able to access goodreads), and I couldn't find any up-to-date documentation to do it. Do you have any pointers or links to any docs? [12:48] nic-doffay: ^ I hear you are working on the OptionSelector [12:48] dpm, diplo: http://developer.ubuntu.com/resources/technologies/online-accounts/for-service-developers/ [12:48] dpm, diplo: the part about the account plugin does not apply to Ubuntu Touch [12:50] dpm, diplo: in fact, writing plugins for Ubuntu Touch is easier, it's just a matter of writing a QML file. See for example http://bazaar.launchpad.net/~online-accounts/account-plugins/trunk/files/head:/qml/ [12:52] timp, that's right. [12:53] nic-doffay: ok, cool. I assigned this bug to you then: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1202170 [12:53] Ubuntu bug 1202170 in Ubuntu UI Toolkit "Implement OptionSelector" [Undecided,New] [12:54] timp, cool [12:54] mardy, thanks! [12:59] nic-doffay: could you link your branch to that bug? [12:59] @dpm you there? [13:00] Mihir__, yes [13:02] I am unable to see keyboard while running project from QT SDK any Idea? === andrea is now known as Guest2863 [13:03] Mihir__, you won't get the On-screen keyboard popping out if you're running your apps on the desktop, the idea is that you can use your regular hardware keyboard in there [13:03] Yeah that I know but was looking into this issue https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1198842 [13:03] Ubuntu bug 1198842 in Ubuntu UX "[Calculator app] Keyboard partly overlaps keypad instead of covering it" [Low,Triaged] [13:04] it seems required to test so was wondering how can I re-produce this issue [13:08] timp, sure [13:10] thanks [13:11] Mihir__, ah, yeah, I'd suggest looking at another bug perhaps, as this one requires design input too [13:11] Okay & yeah I have reviewed that bug [13:11] I guess it has been committed === ckpringle_ is now known as ckpringle [14:35] hi SDK people, could someone help this app developer with their question? http://askubuntu.com/q/320292/9781 [14:35] Kaleo, I think you're the color master in the team, so this one might be for you ;) ^ [14:43] dpm: yes [14:45] dpm: done [14:45] thanks Kaleo! [15:36] m-b-o: hey, you are going to merge https://code.launchpad.net/~martin-borho/ubuntu-weather-app/Bug1201094 ? [15:37] kaleo: not anymore :) [15:37] m-b-o: some other fix you made? :) [15:37] requirements have changed aliite bit and will make a new try, when [15:37] m-b-o: ah ok :) [15:37] kenvandine: are we all good with the friends app header issue? [15:38] m-b-o: I don't know what the new requirements are but I think this branch ought to land since it will fix not only the bug but also a lot of performance related issues [15:38] kaleo: seems like we don't need a PageStack anymore in the weather app, [15:38] kaleo: yes [15:39] m-b-o: cool [15:39] but I screwed the MP in the meantime ;) [15:39] lol [15:40] kaleo: but all Tab content will move into Page, as you suggested [15:43] m-b-o: cool [16:17] Kaleo, help! ;-) [16:17] Kaleo, can you tell me what I'm doing wrong there: http://paste.ubuntu.com/5884692/ ? ;-) [16:22] ^ anyone else who can help with a flickable issue? [16:24] seb128: let me see [16:25] seb128: what's the issue? [16:25] Kaleo, I want to scroll through the list of values [16:25] which goes over the screen [16:25] but that doesn't work, there is no scrolling [16:26] like the flickable was not working [16:27] was->is [16:28] seb128: you are setting the height of the flickable to be the height of the selector [16:28] seb128: that breaks it [16:29] Kaleo, what should I set it to? I tried random fixed value and it was not scrolling either :/ [16:30] seb128: you set it to whatever you want [16:30] seb128: the important thing is contentHeight [16:30] http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-flickable.html#contentHeight-prop [16:31] seb128: anyway you seem to be trying to achieve some design that i did not know about, who is asking for that? [16:31] Kaleo, mpt [16:32] Kaleo, https://wiki.ubuntu.com/Sound#Phone [16:32] seb128: why is it not following the standard pattern?. [16:32] Kaleo, "Apart from that, the “Ringtone” screen should consist of a non-scrolling “Stop Playing” button whenever you are not in Silent Mode, followed by..." [16:32] Kaleo, which are? are you speaking about the list or the scrolling? [16:32] or both? [16:32] seb128: let me see [16:33] nik90, hey [16:34] nik90, awesome work on the clock! [16:34] the suru gradient looks incredible [16:34] seb128: so that looks like a pretty common use case [16:34] seb128: that should be added to the standard patterns (& toolkit) [16:35] seb128: so, IIUC there are 2 issues: [16:35] Kaleo, the scrolling or the list? [16:35] seb128: the scrolling is just you not using the Flickable correctly [16:35] seb128: let's call it issue 1) :))) [16:36] Kaleo, it's the only time I've needed it in dozens of screens, so I wouldn't be so sure it's a pattern. [16:36] seb128: you should have the Flickable as parent of the Column [16:36] seb128: (since it should flick everything) [16:36] Kaleo, but that would make the button scroll off screen no? [16:36] well the listitem in my example [16:36] seb128: it's not part of the design [16:37] seb128: but yes it would [16:37] seb128: so anyway your root issue is contentHeight not being set adequately [16:37] Kaleo, the design states "the “Ringtone” screen should consist of a non-scrolling “Stop Playing” button..." [16:37] Kaleo, right, thanks, that works now [16:37] mpt: you mean having a submenu where you select a value? [16:38] seb128: ah it's not on the wireframe (the button) [16:38] Kaleo, right, mpt forgot it in the drawing and didn't redo one [16:38] mpt: ok [16:38] mpt, hey [16:38] maybe you can help with this [16:38] Kaleo, the "submenu when you get a value" is supposed to be provided by "OptionSelector" [16:39] Kaleo, which was discussed earlier today [16:39] seb128: was it? [16:39] I remember seeing some visual design guidelines for the calendar - do you know when they will be finished and ready for the calendar team to use? [16:39] Kaleo, you discussed assignment with the sdk guys [16:39] seb128: so you are missing the option to keep it always expanded? [16:39] Kaleo, no? [16:39] seb128: yes, but not your case [16:39] Kaleo, well, calum/mpt said that this usecase will be fullfilled by the optionselector when we get it [16:40] seb128: well, good then [16:41] seb128: however you are still missing that option right? [16:41] seb128: to keep it always expanded [16:41] nic-doffay: you around? [16:41] Kaleo, I've no idea what the OptionSelector will look like :/ [16:41] Kaleo, well the design has it [16:41] seb128: where do you see that design? [16:41] Kaleo, see http://design.ubuntu.com/apps/building-blocks/option-selector [16:41] Kaleo, the "expended" [16:41] Kaleo, what's up? [16:41] "expanded" [16:42] seb128: right, it's me not knowing then [16:42] nic-doffay: just wanted to make sure that you have a property in both OptionSelectors to keep them expanded [16:42] Kaleo, yeah. [16:42] nic-doffay: cool [16:42] seb128: so, it will come :) [16:42] In the branch there's examples of both in the gallery. [16:42] Kaleo, great! ;-) [16:42] Hello everybody [16:43] Hey there [16:43] Kaleo, yes [16:43] Kaleo, except for the bug that breaks the header if i set the range thing [16:43] but i commented that out for now [16:43] kenvandine: ok [16:46] seb128: btw, it works with a ListView [16:47] ah, you got it already === wendar_ is now known as wendar [16:56] popey, ping [16:57] ahayzen: yo [16:57] i am going afk shortly.. make it a quickie ☻ [16:57] popey, dpm said for me to sign canonical contributors license....who do i put as 'Please add the Canonical Project Manager or contact'? [16:57] popey, for the Ubuntu Touch Music App [16:57] me! [16:58] Alan Pope / alan.pope@canonical.com [16:58] ur name and email...? [16:58] or just one [16:59] popey, i'll put ur name and the email with a slash like u have...thx :) [17:00] i haven't actually seen the form [17:00] popey, sent! thanks .. ur free to go now :) [17:00] but the person the form goes to, will recognise the name :D [17:00] Thank you! :D [17:00] popey, go and cool down those cats they must be hot ;) [17:01] they are! [17:01] moping about [17:05] hey [17:08] hi guys, why can't I get my toolbar to show in a page that uses a page stack inside a tab [17:08] ? [17:10] code: https://bazaar.launchpad.net/~danielholm/music-app/show-tracks-in-playlists/view/head:/MusicPlaylists.qml [17:11] oh, wie, ahazyen: welcome! [17:12] ahayzen: I hoped you would be invited since your code proposals kick ass ;) [17:12] danielholm, ....invited?... [17:12] ahayzen: I thought you were joining the music app team? [17:12] danielholm, i am :) [17:13] danielholm, just had to sign the agreement..now gotta tell dpm and he'll add me :) [17:13] ahayzen: well, there you go! welcome :) [17:13] danielholm, thx :) [17:13] danielholm, do u think i should add tht comment from tht merge last night to the bug? [17:13] ahayzen: very nice to have you [17:14] ahayzen: which bug? [17:14] danielholm, this comment .. https://code.launchpad.net/~andrew-hayzen/music-app/library-load-rework/+merge/175113/comments/392717 [17:15] danielholm, to bug 1200368 [17:15] Launchpad bug 1200368 in Ubuntu Music App "UI blocks when scanning in music" [Critical,Triaged] https://launchpad.net/bugs/1200368 [17:15] ah! [17:15] danielholm, obviously tweak it slightly for the bug so it is context..but move the info over so it isn't lost (as it is relevant to the bug)? [17:15] ahayzen: there's been sooo many mails the last few days, I seem to have some problems remembering them all. [17:16] danielholm, no worries [17:16] ahayzen: do what's most convenient for you. :) [17:16] danielholm, i'll move it over in a bit :) [17:16] :) [17:16] danielholm, so ur toolbar isn't appearing? [17:17] ahayzen: exactly. it bothers me, since I don't know why? [17:17] :/ [17:17] ahayzen: might you know? [17:18] danielholm, well MusicTracks uses pagestack doesn't it so whts different? [17:18] ahayzen: the same goes for the artist tab as well as the playlist tab [17:18] danielholm, are they all doing it or just the playlist? [17:19] ahayzen: Does it? no? really? I'll have to look [17:19] danielholm, i was asking u... [17:20] ahayzen: you are correct. I missed that [17:20] danielholm, in ur branch the toolbar *sometimes* works in the Music tab for me :S [17:21] ahayzen: so yeah, why doesn't it work in the playlist, or artist, tab [17:21] danielholm, it works in the tracks tab first time... then go back and its not working!? [17:21] ahayzen: yeah, we should really check that out. I have the same issues. Or had, really, since it's been working a lot better now. [17:22] danielholm, albums appears to *always* work so whts different [17:23] ahayzen: yeah.... I believe its due that we want toolbars with different actions in them for each tab [17:23] danielholm, yh [17:24] danielholm, can we not have a massive toolbar and then hide/show the toolitems relevant to the page or is it better to have many toolbars? [17:24] i dont know why, but the icon of sudoku app is the same of Music App and the title on top of screen is "Music". Should I report a bug? [17:24] ahayzen: if that's possible, that would be better. [17:24] zerotrack, my Music app was apparently sudoku yesterday (it was displaying the sudoku icon) [17:25] danielholm, i'm just throwing ideas out there ;) [17:25] ahayzen: becoSE IU much rather have ONE general toolbar. [17:25] because * [17:25] ahayzen: haha, mine is displaying the xkcd icon on desktop [17:25] danielholm, yh would be better...then we could have a handler which switches them on/off when u switch pages...u reckon tht would work [17:26] zerotrack: I think its a bug with the SDK [17:26] danielholm, zerotrack, after updating the PPAs today it seems to be correct (yn) [17:26] well, great then [17:26] ahayzen: now let's see. Toolbar api [17:26] .. [17:26] hehe [17:27] danielholm, ahayzen i will update.. thanks.. [17:27] yh the icons are ok now :) just confirmed [17:28] danielholm, do u think we could split up tht main music-app.qml a bit more, as it is getting hard to find things. Or is there a better way in QtCreator of jumping to elements than scrolling up/down? [17:29] danielholm, like the file scanner i can never find lol [17:29] ahayzen: I think we should keep things that are consistent and used by more then one file in music-app.qml and have the other parts in seperate files [17:30] ahayzen: or central things. I think they should stay in that file, and have that as the center [17:30] danielholm, ok tht makes sense [17:31] danielholm, is there an actual tasklist i can look at, or is randomly hacking the best thing to do lol? [17:33] ahayzen: blueprint: https://blueprints.launchpad.net/ubuntu-phone-commons/+spec/initial-music-development ; things needed to be done this week to get Music into image: https://bugs.launchpad.net/music-app/+bugs?field.tag=touch-image-inclusion [17:33] danielholm, thx...just got the playlist toolbar working! [17:33] did YOU="!!!_D [17:33] danielholm, comment out pageStack.push(playlistspage) [17:33] push :) [17:34] danielholm, do the same for artists etc [17:34] ahayzen: but does the pagestack work then? [17:34] danielholm, wht should happen? ... [17:34] ahayzen: if you remove that, you aren't able to se tracks for artists or tracks in playlists, right? [17:34] danielholm, and music albums doesn't have this push (hence why i removed it) [17:35] danielholm, correct...i think [17:35] ahayzen: albums haven't got updated yet [17:35] danielholm, ah [17:35] danielholm: then we have to find another way [17:35] danielholm, well thts wht causing the issue [17:36] danielholm, god we need our own channel otherwise we will take over #ubuntu-app-devel ;) [17:36] hehe [17:37] danielholm, so it works on the Tracks until u move to another page...suggesting if u started on Playlists tht would work until u moved? [17:37] ahayzen: haha, well it's pretty quite here anyways. [17:37] yh [17:38] ahayzen: I just found that you could use "visible: true/false/ for toolbar actions [17:38] danielholm, interesting [17:38] danielholm, do u think we should discuss the idea of a global toolbar with the SDK team first? [17:38] ahayzen: so I think that we should remove each toolbar, except one genereal, and use toolbarid.visible = [17:39] ahayzen: I think that we need to get the toolbar working first of all. we could always change it later, since the UI will be completely revamped later [17:40] danielholm, yes probably best [17:41] danielholm, if u go to the artists tab...it the toolbar doesn't work...but then click on an artist...bring up the toolbar click back..then it works?! [17:41] whut [17:42] is tht a whut i don't understand wht ur saying ... or a whut i don't believe wht it is doing? [17:42] ahayzen: same thing in playlists... [17:43] danielholm, magic! [17:43] ahayzen: "whut I dont get why is that magic" ;)' [17:43] ahayzen: crazy magic [17:43] danielholm, and then they continue working! even while u move tabs [17:44] it has to be a bug, right? I mean, that cant be intentional? [17:44] danielholm, idk ... how does tht secondary toolbar work (the one with the back)? /me looks in code [17:45] ahayzen: that's pagestack magic [17:45] danielholm, ah [17:45] ahayzen: that's hwo the pagestack works. when you push a new page, you get a back button the the one before the puush [17:45] danielholm, yep probably a bug or our implementation is not wht they expected [17:45] danielholm, ooh i understand now [17:46] ahayzen: we should probably report it. popey, mhall119, bacon have you seen this? [17:47] danielholm, bacon? [17:47] JOno Bacon [17:47] danielholm, yh :) his nick is jono isn't it? [17:47] But Bacon is much mure fun, isn't it? haha, no that was ju my bad [17:48] danielholm, it is :) [17:48] ahayzen: I'm hungry :) [17:48] danielholm, same nearly din dins time :) [17:49] ahayzen: never heard of; whts that? [17:49] danielholm, dinner? [17:49] ahayzen: You'll have to excuse we. I'm Swedish and we drink beer and eat meatballs ;) [17:50] danielholm, no worries...sounds pretty similar to wht happens over here lol [17:50] ahayzen: ah, of course. Made a quick search and it said Cats and Dogs, and I didn't get it [17:50] haha [17:50] ahayzen: actually I'm late to a party so I think I'll leave when we aren't in the middle of sometthing [17:51] danielholm, one thing before u go... [17:51] ahayzen: I just got stuck. So my girlfriend left me here - with the beer. bad move ;) [17:51] sure [17:51] danielholm, the docs have Component.onCompleted: push(page0) on the PageStack element y don't we? [17:51] http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/qml-ubuntu-components0-pagestack.html [17:51] yes [17:51] oh its in the actual page load [17:51] we got that too [17:52] danielholm, its too hot brain got confused :P [17:52] row 62: https://bazaar.launchpad.net/~danielholm/music-app/show-tracks-in-playlists/view/head:/MusicPlaylists.qml [17:52] danielholm, they have it in the PageStack element we have it in the Page element [17:52] danielholm, so i miss read it ;) [17:52] danielholm: ahayzen: what bug? [17:52] but we got in in the Page. We should perhaps move it to PageStack [17:53] mhall119, toolbars not working [17:54] oh? [17:54] mhall119, but then magically working after select an item and then pressing the back button [17:54] ahayzen: didn'r change the behaviour of the toolbar. [17:54] mhall119, they work until u change tab then stop working [17:54] ahayzen: odd, should definitely file a bug about that [17:54] mhall119, danielholm may be able to explain better [17:55] ahayzen: not at all. ;) [17:55] heh [17:55] mhall119: but we started to use a pagestack in a tab, and the toolbar won't work untill you pushed a new page and then to back [17:56] oh, because Tabs and PageStack both provide toolbars probably, Kaleo can you comment on that? [17:57] Sorry guys, I have to go [17:58] but if it is a bug, report it and I'll take a look [17:58] danielholm, no worries ..speak soon [17:58] take care and well keep in touch! :DS [17:58] :D [17:58] :D === gatox_ultra is now known as gatox [19:36] Kaleo, using the profiler on friends-app i see that onContentYChanged: internal.checkOnScreen() in AnimatedItem.qml gets called 11189 times in 9 seconds! [19:37] that is with scrolling the listview up and down for a few seconds [19:37] so i expect contentY to change a lot... [19:38] but that's 19% of the 9 seconds i ran it === Guest99716 is now known as balloons_ [20:38] WebbyIT: hey, I just submitted a one-liner MR against the calendar-app to fix a critical bug, would you mind reviewing it? [20:39] that’s https://code.launchpad.net/~osomon/ubuntu-calendar-app/all-dates-local/+merge/175398 [20:39] (and the associated bug is bug #1202366) [20:39] Launchpad bug 1202366 in Ubuntu Calendar App "[regression] first day of the month is broken for some months" [Critical,In progress] https://launchpad.net/bugs/1202366 [20:42] oSoMoN: sure, I'm going to read it ;) [20:42] awesome, thanks! [20:44] kenvandine: that's really bad :) [20:44] kenvandine: can you file a bug? [20:46] oSoMoN: yeah, good point, when I did revision 66 I saw it, but stupidly I have not investigated it [20:47] WebbyIT: at some point when we have some spare time we should really document those functions, and unit test them [20:51] oSoMoN: yes, definitely, it is necessary [20:52] danielholm, ahayzen, mhall119 just tested music app in the daily image [20:52] it works great [20:52] also, music plays while I use other apps too [20:52] jono, awesome :) [20:52] :-) [20:54] jono: it'll keep playing the one track [20:54] I think Qt's multimedia stuff does that [20:54] but when teh track ends, it can't start the next [20:55] mhall119, ahhh let me test that [20:55] I made popey try earlier in the week [20:57] mhall119, tht sounds like it will be an interesting one to fix [20:58] ahayzen: it's not broken, necessarily [20:58] it's just that the music app doesn't run when it doesn't have focus [20:59] there's already plans to provide a media server that will keep stuff playing when the app isn't focused [20:59] mhall119, ahhh yes [21:00] I see that too [21:01] jono: still, we were shocked that it kept playing even that one song, we expected it to stop immediately [21:01] indeed [21:06] mhall119, dpm was talking about a media scanner service...do we have an eta or access to test this? [21:07] ahayzen: there was some evaluation of a 3rd party media scanner, but last I heard they (thostr_) was having trouble getting it compiled and running [21:07] note, the media *scanner* service is different from the media *player* service [21:08] the player is planned to be written by jhodapp starting next week or so [21:08] mhall119, Ok, yh this is something which may solve the UI locking while scanning (yn) [21:08] ahayzen: yeah, once we have a scanner service the music app won't need to scan anymore, it can drop it's use of the folderlistmodel plugin, and just query the service's database for songs [21:09] yey :) [21:10] mhall119, and this service will also be available on the desktop? [21:10] ahayzen: eventually I would imagine it would, yes [21:10] brilliant :D [21:10] the one that is being evaluated would use the Grilo API to access it's data [21:10] https://wiki.gnome.org/Grilo [21:10] which would work well for desktop apps too [21:11] so would third party apps be able to use this service? [21:11] yup [21:11] it uses DBus to communicate, so we'd need to make a Qt/QML wrapper for it [21:11] but then any app could access it [21:12] tht will be useful for Python3 apps as mutagen for Python3 still doesn't officially exist [21:13] Kaleo, sure! [21:16] Kaleo, https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1202393 [21:16] Ubuntu bug 1202393 in Ubuntu UI Toolkit "AnimatedItem calls checkOnScreen too often" [Undecided,New] [21:32] timp: hi, what would be the easiest way to get the old style tabs in an app? [22:54] vthompson, o/ [22:58] ahayzen, hello! [23:01] vthompson, i've got a branch which horizontally aligns the items on the now playing view (as on the desktop when u go fullscreen they get split) i couldn't see tht u've done this in ur design branch, but i can abandon tht branch if u have offline?... [23:04] I was hoping in my head the items would be centered with the title, track, album and progress bar being left justified such that the longest of them is left justified [23:04] If that makes sense. [23:05] vthompson, tht sounds like wht i've done [23:05] vthompson, also the pre/play/next should they be bound to the item above rather than parent.bottom? [23:05] ahayzen, I'll pull your code, I see it now. [23:06] vthompson, :) [23:06] ahayzen, I bouneded them to the bottom of app so they are closer to the users thumbs. [23:08] vthompson, ok but wht about desktop? cause they are sortof in the middle when maximised....also they (on a phone size ish) appear directly under the item above at the moment as the margin to the bottom pushes them up [23:08] ahayzen, I like your changes my friend. [23:08] vthompson, :) [23:09] ahayzen, also, I don't see them as being in the middle when maximized on the desktop. They appear to be just an inch or so from the bottom. [23:09] ahayzen, I intend to fix it so that it is even closer to the bottom. [23:09] vthompson, i feel either the margin of the pre/play/next should be reduced a bit or they should be bound the item above...but then i'm not a designer [23:09] vthompson, ok sounds gd :) [23:10] ahayzen, I agree on reducing the margin. I think I have it set as units.gu(3) or so in my adding-more-design-work branch -- which was just to play with. [23:11] ahayzen, feel free to reduce the margin so that there is just a bit of a buffer from the bottom. === kc8qvp_ is now known as kc8qvp [23:11] vthompson, 'anchors.bottomMargin: units.gu(10)' [23:12] ahayzen, Yep, and in the branch I just mentioned I changed 10 to 3. It looks nice [23:12] vthompson, shall i reduce it in my branch or leave it to urs? [23:12] ahayzen, you can do it. You've already investigated. You might as well bring it forward with your Now Playing changes [23:13] vthompson, ok :) anything else tht needs tweaking on tht page while i'm there? [23:14] ahayzen, I had thought that we could use more spacing between back, play/pause, and forward. Maybe double the current spacing? [23:14] vthompson, ok i'll add tht [23:14] ahayzen, If you think that'd look good feel free to make the change. [23:16] vthompson, i'm not sure if thts too much now ... [23:17] vthompson, its strange makes it look like the pre/next buttons are higher than the play (unless they actually are)... [23:18] ahayzen, I see, you can leave it be. It was just a passing idea as I stare at the screen now [23:18] vthompson, okies hehe [23:19] vthompson, should the position/duration be closer to the progress bar? [23:19] vthompson, hmm its only 2gu i'll leave it at tht [23:21] ahayzen, now that you mention it the pos/duration looks odd now because it's kind of close to the back button [23:22] ahayzen, even with the controls closer to the bottom it looks a little odd. It almost looks like the pos/duration could be right justified? [23:23] vthompson, ok i'll try it on the right... it is current 2 units down from the progress bar but then cause the actual bar of the progress is smaller it appears ~2.5 units [23:25] ahayzen, you could make it closer if you think it looks nicer. We really havent done any nitpicky design to the pixel level yet. If folks for the community want to make small tweaks such as the ones you're looking into, they are def welcome [23:26] ahayzen, just don't be disappointed if they change, say, next week. :) [23:27] vthompson, ok :) ... how would i right justify a label? [23:28] ahayzen, you should be able to anchor it to the right. [23:30] vthompson, it is the full width (40 units) at the moment, i'll change it so its smaller but even then it won't be perfect? [23:31] vthompson, oh no tht won't work...cause it is 40 units with horizontal centre so it remains there even when maximised [23:31] ahayzen, I see, I don't know how to justify just the text off the top of my head [23:33] vthompson, got it... horizontalAlignment: Text.AlignRight [23:33] ahayzen, cool [23:33] vthompson, i'll push tht up and shall i propose it? [23:35] ahayzen, sure. Just state that you made some small tweaks to the Now Playing page layout... nothing functional. [23:40] vthompson, done :) anyway sleepy time thanks for your help [23:44] ahayzen, no problem. Thanks for your hard work! [23:44] vthompson, thanks! bye