[02:49] damn my app is going to hit 1100 downloads [06:25] http://blog.meizu.it/arriva-il-meizu-mx4-ubuntu-edition/ The Meizu MX4 with Ubuntu will launch in europe on thursday [07:08] good morning === chriadam is now known as chriadam|away [08:09] dpm, regarding the clock app build - I think disabling the test that require network is the way to go [08:10] or I guess you could mock a reply from the test server [08:10] I mean save the reply and use that [08:11] dholbach, thanks. That's what I was thinking as well, but I wasn't sure whether the test failure was causing the build failure for starters [08:11] (and maybe add something which updates the saved server reply for every release) [08:11] do you think that's the case? [08:11] yes, network is disabled [08:11] ok [08:11] it could introduce all kinds of security ugliness [08:11] ack [08:14] dholbach, I've got another build issue on that core apps PPA - both the terminal app and the file manager app have some duplicate code in their repos: a QML PAM plugin. Back then we did it that way as it was easier for Jenkins to build directly from each individual repo, as it couldn't easily pull from an external common repo that would contain the plugin. This means each package build (terminal and file manager) builds the QML PAM plugin and tries [08:14] to upload it to the PPA. As the package version is based on bzr rev, these packages have got different versions, so one of them fails if the last one uploaded has a higher version [08:15] dholbach, while explaining this I guess I had an idea, we should probably just change the name of the qml plugin package [08:15] qml-plugin-terminal and qml-plugin-filemanager or something like that? [08:16] or is there a way to ensure both packages have got the same version even if they're build as part of their apps' source package? [08:20] the clean way would be to separate it out into its own source package [08:20] and then just let both apps depend on the binary package it produces [08:21] that'll avoid duplication and having to update the code in multiple places, but yeah - it should also work to rename it to qml-plugin-$APP [08:23] dholbach, where would the separate source package be created. In the source tree of just one of the apps? [08:24] separate source package would mean separate project [08:24] yeah, that's what jenkins was having trouble with [08:24] couldn't it just live in the archive? [08:24] and be pulled in like any other package? [08:24] or in the ppa? [08:28] I can't remember all the details when we set it up. In theory, yes, but it would still be a separate package for the .deb, whereas the click would still need to ship its binary. And while building the binary from source in the same repo was easy, it wasn't if it was in a separate repo [08:28] i.e to put it in the .click [08:34] ah ok [08:35] or you'd need something in the build click hook which downloads and extracts the library [08:41] salut davidcalle [08:41] * dholbach relocates to the office, brb [08:53] zsombi_: hi! Since installing the OTA-4, my app logs get filled with lines like ": QML UCDeprecatedTheme: Theme.palette is deprecated. Use ThemeSettings instead." [08:53] zsombi_: is there a bug for that? [08:53] mardy, zsombi_ is on holidays. [08:54] mardy, it is known, will be gone with Components 1.3. t1mp might know more details [08:54] mzanetti: thanks [08:54] t1mp: hi :-) [08:55] t1mp: well, I don't care if it goes with 1.3, but since my app is using 1.0 it should continue working without warnings, as long as the 14.10 framework is installed [08:57] mardy, mzanetti, I opened https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1457528 about that [08:57] Launchpad bug 1457528 in ubuntu-ui-toolkit (Ubuntu) "Theme.createStyleComponent deprecation useless warnings are displayed" [High,Fix committed] [08:58] seb128: thanks! [08:58] yw! [09:04] seb128: actually, mine is a bit different case: I *am* using the Theme class, but still I don't think I should see any of these warnings [09:04] seb128: I'll comment on the bug, let's see if they prefer me to open a new one [09:24] mardy: I guess it is a separate bug, since there is a fix that doesn't print the warning when you don't use Theme directly [09:24] mardy: but I do agree that if you are importing Ubuntu.Components < 1.3, the warning should not be printed because it is valid to use Theme there. [09:25] t1mp: thanks, I'll file a separate bug then [09:27] t1mp: FYI: bug 1467851 [09:27] bug 1467851 in ubuntu-ui-toolkit (Ubuntu) "Remove warning on deprecated theme for versions < 1.3" [Undecided,New] https://launchpad.net/bugs/1467851 [09:39] mardy: thanks for reporting. I confirmed it. [09:56] can anyone advise the best way to get canvas coordinates? i'm using onClicked: {mouse.x, mouse.y} and i have tried mapToItem(canvas, mouse.x, mouse.y) which returns the same values. these values are not where the tip of the mouse is on the canves. [10:02] I end up with this when drawing lines: https://lh3.googleusercontent.com/hKnHlobEIqEsai90XBBSA2VLb6FCqEVuPt3svD9_rjoq=w620-h446-no [10:08] I made a webapp as per the tutorial: https://developer.ubuntu.com/en/web/tutorials/web-app-tutorial/ but there are a few problems with my web app. Firstly, how can I block pop ups? Secondly, how can I enable it to play video (video works fine when simulating on my laptop, but on my uTouch N4 I get MEDIA_ERR_SRC_NOT_SUPPORTED)? [10:11] ZacharyIgielman, the N4 has a different set of supported codecs to your laptop [10:11] ZacharyIgielman, so it depends on the format [10:12] How can I block popups? Secondly how can I get the codecs on the n4? [10:17] ZacharyIgielman, i'm not sure for either. for the codec it might be a matter of hw support so you may not be able to even if you do install extra things. and besides if it's an app you want end users to use, that won't be possible anyway [10:17] (to install extra packages) [10:17] right ok thanks [10:18] does anyone know how to block popups? [10:18] ZacharyIgielman, i assume you don't control the source of the site [10:19] dubstar_04: does your mousearea fill the canvas? then you should be able to just use mouseX & mouseY with no need to use mapToItem [10:20] dubstar_04: let me try and do a quick example, give me a few minutes [10:20] I am not sure what webapp-container does [10:22] DanChapman mouse area looks something like this: http://paste.ubuntu.com/11761458/ [10:24] ZacharyIgielman: don't think you can block popups yet, unless you inject some funky js [10:26] greasemonkey scripts definitely work [10:27] * ogra_ isnt sure what level of funkyness that has though :) [10:36] dubstar_04: here is an example of getting mouse position to draw rectangles http://pastebin.ubuntu.com/11761514/ [10:44] DanChapman Thanks for that. Its still not working for me. if i draw a line (or rect) and then try and position another relative to the original its offset. Maybe i have messed up something else in my code? [10:46] DanChapman can you download this: https://www.danielwood.me/owncloud/public.php?service=files&t=vTduj8LbbZ6jD3x [10:59] dubstar_04: ahh i see how this works now. I couldn't figure it out at first. Seems i have to re-select a tool each time [11:01] for now. there will be a polyline tool eventually that draws many lines... [11:07] popey: ping [11:07] DanChapman I know its really scrappy. I'm just messing at the moment to see what i can get working. [11:11] dubstar_04: that's cool :-) just trying to figure out why the line ends overshoot the the mouse positions. They keep appearing longer, but they are at least on the correct path [11:12] mihir: pong! [11:12] dpm: got that libreoffice thing working with a relocatable libreoffice binary [11:13] dpm: one step closer to libreoffice in a click :) [11:13] popey: got some time, need to discuss for the bugs that are open , I mean priortizing and if required or not [11:13] ok,pm... === MacSlow is now known as MacSlow|lunch [11:14] DanChapman its driving me mad. it seems to be consistent. its 20px offset from the click position but only if that axis has changed and its -20 at the start point and + 20 at the end point. [11:14] popey, \o/ I was just pushing it into a branch to point Stefano to it [11:14] dpm: I've asked them for a different meeting time. [11:14] also asked riccardo to help, he's happy to but at a conf this week [11:15] awesome [11:17] dpm: I have only been playing with the amd64 build on the desktop (because there's no armhf 5.0 build I can find, and this is faster to prototype an amd64 click) [11:17] but once we prove on desktop, it shouldn't be hard to migrate to an armhf package [11:17] (wouldn't recommend a fat package as that would be gigantic) [11:17] popey, yeah, I was thinking the same, the first easiest thing will be to test on the desktop [11:17] should also work on a unity7 desktop [11:21] well, yes, I am on unity7 :) [11:22] popey, I put the code online. You might want to comment on your relocatable lib investigation there: https://code.launchpad.net/~ubuntu-docviewer-dev/ubuntu-docviewer-app/lo-viewer/+merge/262686 [11:23] it's in a shared branch, so anyone in the team can push to it [11:24] ok [11:25] * dpm is really excited about the LO viewer \o/ [11:26] dpm: all you have to do is come on here and say hello you'll be bombarded by LO's ;) [11:26] hey davmor2 ;) [11:28] dubstar_04: try this in your main.qml http://paste.ubuntu.com/11761702/ [11:38] dubstar_04: this little app is bringing out my inner artist! http://i.imgur.com/zEnVmhq.png check out that masterpiece :-D [11:41] heh [11:48] DanChapman: wow how did you manage that without the line linking them together ala etchasketch [11:53] DanChapman What do you think to the new ubuntu logo? https://lh3.googleusercontent.com/7IKMQMPKYk6ZteyVDtWbbhM0EOcD-XF2Im2p0alGd3ug=w585-h374-no [11:53] DanChapman Thanks for you help. I'm not really sure what was going on there. [12:18] davmor2: hah, i used the one knock-off one with the line-breaker!! http://www.perlesdechine.com/1628-thickbox/easy-writer-buddy-l-telecran.jpg [12:18] we need an etchasketch app on the phone! [12:19] ping rpadovani [12:21] shake to clear the canvas. Thats a feature. [12:22] dubstar_04: :-D that must have took a while selecting the line tool each time. I'm not really sure what the issue was I just removed the things that wern't needed to draw a line. :-) [12:22] balloons: sorry i missed you ping last night. I'm just heading out now but i'll give you a ping when i get back. [12:24] DanChapman, ack. no worries [12:35] where is nik90 btw? === _salem is now known as salem_ === MacSlow|lunch is now known as MacSlow [13:16] davidcalle: hey, under https://developer.ubuntu.com/en/apps/qml/cookbook/ "Files and Storage", seems a little bit misplaced (links refers more to traditional apps dev than ubuntu touch/sandboxed one) [13:17] I was wondering if we have any touch-specific "storing files" tutorials? === boiko_ is now known as boiko [13:27] didrocks, we don't :( [13:28] davidcalle: we don't have anything beside localstorage for a pure-qml approach, am I right? [13:30] didrocks, afaik, yes, but maybe someone else in here has another idea? [13:31] * didrocks is all ears opened [13:40] dobey: hey, should we promote u1db to store json-pure local storage objects directly from QML? ^ [13:45] didrocks: sure, u1db is designed entirely around storing json documents, so it makes sense to store data there. if what you want is caching of json docs though, i might recommend trying to find another solution [13:46] dobey: no, it's really store json doc, not caching. Sounds good then, thanks! [13:48] didrocks: yeah, and with u1db you can create index queries on the docs, which can make searching and finding the data you want to show the user, much faster [13:48] instead of parsing json all the time [13:49] dobey: yeah, I saw that, sounds exactly what I want! Excellent. Now, digging into the docs :) [14:35] popey: this requires your approval , https://code.launchpad.net/~gary-wzl77/ubuntu-calendar-app/fix_1460433_new/+merge/262357 [14:35] i have verified it and tested it [14:35] mihir: lemme see [14:36] popey: I don't know it should work , he has kept explicit reviewers [14:36] mihir: surely it should have merged because you approved and top approved? [14:36] I'll approve anyway [14:37] thanks mihir [14:37] Hmm I thought same way, i guess by mistake I might have top approved after it get merged, need to check [15:04] hey folks, I'm trying to develop a QML app and I seem to have a problem I can't sort out: [15:04] I have a Page in a PageStack containing a UbuntuListView, [15:04] and I switched from ListItems.Standard to the new ListItem to get leadingActions [15:05] and now when the page is first drawn, the list is half way down the page but gets redrawn correctly as soon as I touch the screen [15:05] anyone have any idea what I'm doing wrong here? [15:11] bzoltan_, perhaps? ^ [15:18] probably a layout thing [15:31] popey, when you set up the meeting with bjoern for docviewer, can you add me as optional? I.e. don't block on me when trying to find a time, but I'd like to try and join [15:31] sure [15:31] great, thanks! === dpm is now known as dpm-afk [16:57] t1mp: updated, no gallery changes in there now, note that I force pushed the branch https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/lessColumnApi/+merge/262641 [17:29] popey: can you add an evernote account at the minute? [17:29] davmor2: which phone / image? [17:30] popey: krillin ota4 + notes update [17:31] popey: image 23 [17:31] * popey tries this [17:31] using my retail device [17:32] no, something's busted [17:32] it allows me to add it, then redirects me back [17:32] but it did actually do it. [17:32] popey: I don't even get that [17:32] so if I cancel, it goes back to my notes [17:32] what happens for you? [17:33] popey: I get the popup on opening the notes app I click on yes it does nothing, I open the setting app accounts add an evernote account nothing happens [17:34] let me reboot [17:34] well it added here, on my retail device with normal packages installed [17:36] popey: it needed a reboot after the change from reminders to notes by the look of it [17:36] ah [17:36] thats why we tried to time the rename along with OTA4 [17:36] so the chances are people would reboot anyway :) [17:47] popey: small MP to review , if you get time today [17:47] https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/1466667/+merge/262763 [17:48] resolved the issue regarding event Duration. [17:50] ah [17:50] i see:- [17:50] https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/1466667 [17:50] https://code.launchpad.net/~gary-wzl77/ubuntu-calendar-app/fix_1466667 [17:50] which one is best? :) [17:50] hi guys, is this a good place to ask some questions about a simple qml app I've been doing? for example, i can't figure out how to extract all the components in to different files. [17:51] rarara: yeah, ask away, if nobody answers try askubuntu.com [17:51] popey: thanks! [17:52] I want the popover to set a string property to a certain value when clicked and then close: [17:52] https://github.com/medium-endian/libriBox/blob/master/Main.qml [17:53] that text property is used to search the librivox api. atm, the popover is above the list and cannot be seen. [17:54] that is issue number 1. Second issue I have is, I don't know how to split out the popover(for example) in order to have everything cleaned up. I would need to communicate somehow. [17:59] it seems we had some reworked , i have emailed gazw-117 regarding the same [18:00] i feel he has made some unnecceary changes , and I kept it simple , bot solve the issues :) [18:00] ok, i found out that I had to move the component containing the popover to the root of the window. Is there some 'best place' to do instantiation of popovers, popups, dialogs and the like? [18:00] popey: ^^ [18:03] or rather, a best place for 'global variables' ? [19:43] kalikiana: cool. Will the update to gallery come next? [20:30] t1mp, have you ever seen this happen to the new listitems? https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1468100 [20:30] Launchpad bug 1468100 in ubuntu-ui-toolkit (Ubuntu) "ListItems with trailing but no leading, after swiping right break selectMode" [Undecided,New] [21:05] davidcalle http://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.Label/ Clicking the inherits link (Text) refers to the 14.10 sdk. [21:08] dubstar_04, thanks, various linking issues have popped up recently, looking into it [21:10] davidcalle I didn't realise how much information there was in the SDK docs. its a monster. [21:10] yeah, and davidcalle wrote a lot of it! [21:12] Nah, just the interesting parts :p [21:15] Grr - oh for a proper interweb connection. Updating click chroots is painful [21:16] you update them? :) [21:17] popey: :) - unfortunately so old I couldn't download the .debs didn't exist on server [21:17] ah === salem_ is now known as _salem [21:44] mcphail: overwhelming urge to find a conways game of life in sdl [21:54] popey: I'm currently trying to get a wee version of pong running. I'm not sure the cheap French lager is helping [21:54] rioja is impeding me [21:54] found one, got it built but it needs keyboard for some ui [21:55] I could have aspired to greatness, had it not been for the curse of the bottle [21:56] popey: working on t'phone? cool [21:58] I'd written the pong thing for the keyboard. When I get it running I'll add some mouse input to see if that is mimicked by the touchscreen