=== irv_ is now known as irv [02:27] has anyone tried to use the GPS or something to count steps? [02:28] ahoneybun, mmmmmm havn't heard of anything like that. [02:28] AkivaAvraham, someone at a event was asking if there was a running app in the Ubuntu Store and I could not find one [02:44] seems like this would be used for it AkivaAvraham https://developer.ubuntu.com/api/qml/sdk-14.10/QtSensors.Gyroscope/ [02:55] ahoneybun, hmmm interesting [02:55] AkivaAvraham, I just started writing a app for running [02:55] ahoneybun, ah nice! [02:55] second or third app? [02:55] but when it comes to using that [02:56] well if you could webapps like 6th [02:56] :) [02:56] but I don't so 3rd [02:56] first time using sensors though [02:56] never used them myself [02:56] AkivaAvraham, so learning lol [02:56] \o/ [02:56] I'm writing out the UI for now [03:01] AkivaAvraham: Do you have a copy of your book in pdf format? [03:01] cpyarger, of the "Learn c++ the qt way"? [03:01] Yea [03:01] Nope. [03:01] cpyarger, why? [03:02] It would be easier to refrence if I printed it out and used my friend's binder on it [03:04] cpyarger, mmmmmm sounds practical. You can order the book off amazon. [03:06] * ahoneybun does not know why his items are overlaping [03:07] I was unable to find that specific book on amazon lol. The Intro to design patterns in C++ with QT4 is there. [03:16] AkivaAvraham, sad news, seems it would really hard to do with how ubuntu treats background tasks right now [03:16] ahoneybun, yah there is something to that. [03:17] cpyarger, did you check the ics website? I think they link it. Maybe not though. === chihchun_afk is now known as chihchun === chriadam is now known as chriadam|away [07:40] good morning === Guest54456 is now known as Laney [09:12] morning mzanetti, other than talking to JoeO and testing the offline mode, I've not had the chance to spend much time on Reminders this week. The main issue for him for using it was Online Accounts freezing/hanging [09:12] other than that, I've not much to discuss today [09:12] dpm: did you get push enabled? [09:13] no, it's not enabled yet [09:13] dpm: did you manage to request that already? [09:35] Good morning all; happy Answer Your Cat’s Questions Day! :-D [09:44] rpadovani: hey, I have another MP at https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-alarm-locale/+merge/247242 that needs your reviewing. Not urgent. Whenever you find time would be good enough. [09:48] popey: hi, morning [09:48] yo [09:48] popey: , I want to include https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-alarm-locale/+merge/247242 in the upcoming upload to the store. I have given it some thought and tested the fix. [09:48] ok. [09:48] we won't submit to QA till tomorrow [09:48] your response was way quicker than i expected [09:48] so you have time. [09:49] awesome [09:51] zsombi, t1mp: Can one of you assign https://bugs.launchpad.net/ubuntu-ux/+bug/1338138 to yourself to fix for later. That's the last bit of the clock app which isn't following the user locale. [09:51] Launchpad bug 1338138 in ubuntu-ui-toolkit (Ubuntu) "[sdk] Time Picker component does not respect user locale" [Undecided,Confirmed] [09:56] nik90: I guess this is a bug that is related to the Qt-locale problem... [09:56] nik90: as DatePicker is presenting teh tumblers based on the local format [09:57] zsombi: I thought previously you said the picker doesn't follow local format since there was no design for 12-h mode? [09:57] nik90: I just read it once more... yes [09:57] sorry... [09:57] np [09:58] o/ [09:58] nik90: I see UX marked as Fix Committed :D I don't see any sign of that :D [09:59] zsombi: I saw the design in the document attached in the bug report..let me get you the page number [09:59] zsombi: check out page 18 in that design doc ... the time picker specification is provided there with the new 12-h mode [09:59] gventuri: dude, where is the committed fix for https://bugs.launchpad.net/ubuntu-ux/+bug/1338138 from your side? [09:59] Launchpad bug 1338138 in ubuntu-ui-toolkit (Ubuntu) "[sdk] Time Picker component does not respect user locale" [Undecided,Confirmed] [10:00] nik90: aah, indeed... well, that's a new stuff then... [10:00] :) [10:01] nik90: ok, I've picked it [10:01] zsombi: cool, thxn for triaging the bug. [10:02] nik90: yw === rmescandon is now known as rmescandon|afk === rmescandon|afk is now known as rmescandon|away === Elleo_ is now known as Elleo [11:01] SturmFlut: hey, how's the traffic on your blog today? :D [11:16] mzanetti: hi, got any reviews yet? I've checked https://appstore.bhdouglass.com/app/com.ubuntu.developer.mzanetti.machines-vs-machines but I see no reviews there [11:16] mivoligo: yeah... there's 5. I already reported a bug to that web store about it :D [11:17] mzanetti: :) any negatives? === _salem is now known as salem_ [11:19] mivoligo: http://i.imgur.com/wmgsIyd.png and http://i.imgur.com/KZq93n8.png [11:20] actually it's 6 by now :) [11:20] mzanetti: so far so good :D [11:21] indeed [11:23] mzanetti: have a plan for an update in the near future? [11:24] mivoligo: I gotta take care a bit about some other apps, but yes, will fix those new bug reports and do an update [11:24] so if you want to have something changed, report it as a bug [11:25] I'll look at it then before doing the update release [11:26] mzanetti: sure, I'll try to come up with the graphics for the tutorial in the meantime but not this week [11:26] ok [11:26] yeah... really gotta do a release for kodimote and then work a bit on the reminders app too [11:27] I've dropped everything else in the last few weeks in order to get this game ready [11:28] I bet you made some people happy and unproductive :P [11:28] yeah, seems like justCaraka's boss won't be happy about it [11:28] :D [11:46] where is the unofficial webview of the software store again? [12:07] dholbach: https://appstore.bhdouglass.com/apps [12:09] thanks mivoligo === MacSlow is now known as MacSlow|lunch [12:25] haha === MacSlow|lunch is now known as MacSlow [15:24] hellow bantus === ziz is now known as Guest92135 [15:28] hi peeps ---whats the diff btn this sdkand the androisd one === chihchun is now known as chihchun_afk [16:07] oSoMoN, Hi! [16:07] om26er, hey, what’s up? [16:07] oSoMoN, feature request: Can you please add a little shadow in the webbrowser tools menu. :) [16:08] Other apps have that, so perhaps a toolkit feature to flip switch for. [16:10] om26er, right, that’s because currently we don’t use the UITK-provided menu, but a custom one [16:10] om26er, can you please file a bug to track the request, so I don’t forget about it? [16:10] oSoMoN, ok, I will. [16:10] cheers [16:32] popey, actually, calculator has support for complex numbers, try to do sqrt(-1): our problem is how we manage it in the store, so it's NaN in the history [16:32] but the result in the grey area is i [16:34] right [17:27] What is the recommended way for rendering the content of a QML item using native OpenGL calls? There seems to be more than one way. [17:28] mzanetti, popey: Maybe you know? [17:28] sturmflut-work: I guess you want a ShaderEffect [17:28] lemme find an example [17:30] mzanetti: I want to use the QML item as a viewport and render triangles etc. inside it. [17:30] http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/qml/Launcher/LauncherDelegate.qml#L200 [17:32] sturmflut-work: yeah, so the ShaderEffect basically is your QML item to render into, you can use other qml items as input (or not - if you don't want to) [17:33] http://doc.qt.io/qt-5/qml-qtquick-shadereffect.html [17:34] if that's not enough, you probably can come up with a QQuickItem in c++ and do gl things by overriding it's paint() method (or update or similar) [17:34] with the ShaderEffect in QML you won't be doing any opengl calls as you would do from c++ [17:35] but you can easily implement shaders like that [17:35] so shaders yes, your own opengl geometry no [17:35] right. t1mp definitely has more experience with this than I have [17:36] with shaders (in qml and outside of qml), and with drawing opengl geometry yes. I didn't mix my own opengl geometry calls with Qt/QML. [17:37] the latter is indeed tricky [17:37] mzanetti: That's what I was trying, building something with QQuickItem. There even is an example, http://doc.qt.io/qt-5/qtquick-scenegraph-openglunderqml-example.html, I ported it over into a QML extension library and it works, as long as the resulting "Squircle" component is at the root of the hierarchy. Once I put it inside a MainView etc. it no longer works. [17:37] oh, you probably want to look at the ubuntushape code then [17:42] I think it is important to find out how this is supposed to work. If we offer both libSDL2 and QML+OpenGL, lots of existing games can be ported. [18:00] zbenjamin, bzoltan_: do you have any thoughts on this? https://github.com/mzanetti/kodimote/pull/24 [18:01] mainly the conversation if you scroll a bit down [18:02] mzanetti: good text [18:04] any recommendations on how to deal with loading qml files from a) the click package, and b) the build dir on desktop [18:04] ? [18:04] the current template does it with a qrc file, which is why I tried that now [18:05] but that just moves the problem around if you really need to load some file that can't be in the rc === mpt_ is now known as mpt [18:31] bzoltan_, zbenjamin ping; get around to viewing the plugin? [18:33] AkivaAvraham: sorry, we are badly busted with other stuff. We came to realize that the master cmake plugin diverged from the release we based our cmake support... and now we have a major work in our hand to migrate back to the safe track. It takes all our time and attantion. [18:33] bzoltan_, np. When should I bother you next? [18:33] next week? [18:35] mzanetti, t1mp: I finally did it. You derive your QML item from QQuickFramebufferObject and the renderer from QQuickFramebufferObject::Renderer. Inside QQuickFramebufferObject::Renderer::render() you render the scene using normal GL calls.. [18:50] AkivaAvraham: yes, Tuesday morning will be good [18:50] roger [20:01] SturmFlut: awesome :) [20:01] SturmFlut: do you have the code somewere? I'd like to see also how to do it [20:02] SturmFlut: I don't need it today, but if you have something working eventually I'd be happy to check it out :) [20:11] t1mp: I'll put it on github later, have to make sure that it actually works on the phone too. My OpenGL ES skills are mostly non-existant :( [20:59] rpadovani: ping [20:59] nik90, pong [20:59] rpadovani: can I bug you for another MP review? [20:59] popey: ping [21:00] sverzegnassi: pong [21:00] nik90, of course you can :-) [21:00] rpadovani: https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-alarm-locale/+merge/247242 thnx :-) [21:00] nik90, in one hour I'll do :-) [21:01] rpadovani: cool [21:01] popey: hi! would you like to test some new stuff? [21:01] YES! [21:01] Always! [21:01] https://drive.google.com/file/d/0By4kAplbFcE6WEI2dWNEVEU1S2c/view?usp=sharing [21:02] \o/ [21:02] What I need from you is an opinion about performance (pages loading faster, huge memory usage and so on...) [21:02] ok! [21:03] Seems to work much better, and zoom is working now [21:03] ooh... [21:03] I like to test as well :) [21:03] * nik90 downloads the click [21:04] Yeah, more voices is better! [21:06] +1 [21:12] sverzegnassi: Compared to the click package I tried during your MP reviews, this time it takes longer to open the same 2.1 MB pdf. Also the scrolling performance seem to be slow. [21:13] and this is the only app I am running at the moment [21:13] smaller size pdf < 1MB load pretty much instantly as expected. Zoom there also works nicely [21:13] nik90: Still have to solve some bottlenecks, since I had to write a substitute for QML ListView [21:14] At the moment it's a lot of JS to manage delegate, and it's not good for performance [21:14] ok [21:15] what's the difference from the older clicks from 2 days back with respect to the backend? [21:15] the old one seemed more responsive with larger pdfs [21:15] The older click package it uses a ListView to dynamically load the PDF pages [21:17] There were two issues: zooming (seems impossible to overwrite internal Flickable properties) and the order it loads pages (e.g. current page is the 4th, it loads the 1st, the 3rd, the 5th and then the 4th) [21:17] Poppler takes a lot of time to render pages, so it was important to get a proper ordering of the requests [21:18] unity crashed after I clicked a pdf to download and open [21:18] * popey reboots and tries again [21:19] for me the app was unresponsive the first 2 times I tried to load the big pdf..3rd time it took some time but loaded eventually. [21:20] define big? [21:20] Yes, I tried a 150MB PDF document (only images) and it was dramatically slowly. But with the "Getting started with Ubuntu" PDF (the one I use for testing) seemed to work faster [21:20] *slow [21:21] erk, now browser wont even load [21:21] I think I need to fix something about threading (ActivityIndicator seems not running) [21:21] well big as 2.1 MB with about 530 pages [21:21] Caught exception at Mir/EGL driver boundary: /build/buildd/mir-0.8.2+15.04.20150115~rtm/src/client/rpc/stream_socket_transport.cpp(164): Throw in function virtual void mir::client::rpc::StreamSocketTransport::send_data(const std::vector&) [21:21] wat! [21:22] how rude [21:22] sverzegnassi: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1411376 [21:22] Launchpad bug 1411376 in ubuntu-ui-toolkit (Ubuntu) "ActivityIndicator does not spin if the main thread is blocked" [Medium,In progress] [21:22] sverzegnassi: it just got fixed recently and should be in the next qa validated rtm image [21:23] Ok, then the problem is the number of delegates to load in the Scene Graph [21:23] \me takes a look on launchpad [21:26] nik90: In this case I think it depends on the changes I did, since ActivityIndicator works in the release on the store [21:27] mzanetti, t1mp, popey: https://github.com/Sturmflut/ubuntu-touch-squircle-example [21:27] sverzegnassi: well it could be that in the new click, the main thread is too busy loading the pdf while in the old one it was done in a different thread [21:28] sverzegnassi: if I scroll a little quickly I see blank pages... then a few seconds later they load.. [21:29] http://popey.mooo.com/screenshots/device-2015-01-22-212715.png [21:29] http://popey.mooo.com/screenshots/device-2015-01-22-212727.png [21:29] (this is a fairly big PDF though [21:29] 61MB [21:29] Linux Voice! Hooray! [21:29] http://www.linuxvoice.com/issues/001/Linux-Voice-Issue-001.pdf [21:29] yeah, making use of their creative commons first issue [21:30] sverzegnassi: scrolling speed is not bad at all. === salem_ is now known as _salem [21:30] popey: I created a common folder with all the weather app assets. Do you use your gmail or canonical email for drive? [21:30] sverzegnassi: zoom is a bit slow - ~4-5s to zoom a page in [21:30] nik90: either is fine. canonical probably better [21:31] popey: okay I shared with you, ahayzen and vthompson. I dont have m-b-o's email id [21:31] could you do that [21:32] yup [21:32] popey: which is the screen resolution of krillin? so that i can make a comparison with the version in the store? [21:32] nik90: http://paste.ubuntu.com/9825112/ [21:32] nik90, thanks [21:32] sverzegnassi: whatever the screen res of those screenshots is :) [21:32] popey: uh, right! :P [21:32] nik90: for reference his email is his first name at his last name dot net [21:33] ahayzen: np [21:33] nik90: are these new copies of the doc the design team made? [21:33] because we want to make sure any comments / feedback goes in their copy. [21:33] so they see them [21:33] I think the bottleneck is from line 58 (200ms in the GUI thread) [21:34] popey: well I clicked "Add to my drive", not sure if that creates a copy or a link to my drive [21:34] well, we'll see [21:34] nik90: you may have to share it, i dont think i can [21:35] oh, looks like I can when I press the right button [21:35] go me! [21:35] popey: I did it [21:35] ok [21:35] popey: I send a link to gventuri as well just in case [21:37] kk [21:37] * popey secretly looks forward to higher resolution devices from that chinese manufacturer [21:38] * ahoneybun really like the screen on the HTC One M7 vs the Nexus 4 [21:39] sverzegnassi: i like the splash screen http://popey.mooo.com/screenshots/device-2015-01-22-213715.png - nice and clean. [21:42] SturmFlut: so, explain that github repo like I'm five. [21:46] popey: The colorful thing you see is rendered by native C++ code, using native OpenGL calls, into a QML widget. The text is a native QML item. Mixed mode with OpenGL. [21:47] i should try building it first [21:47] Haha [21:47] this will fail to build due to some dependency needed in my schroot? [21:48] popey: Which one? I built it against my 14.10 chroot [21:48] mine is a 14.10 [21:49] * popey builds [21:49] -rw-rw-r-- 1 alan alan 48K Jan 22 21:47 squircle.sturmflut_0.1_armhf.click [21:49] \o/ [21:49] Hooray! [21:49] look at you with your fancy new namespace [21:49] It should also work on the desktop [21:51] http://popey.mooo.com/screenshots/device-2015-01-22-214919.png [21:51] \o/ [21:51] great success. [21:51] Your work here is done. [21:52] All your device are belong to me [21:52] :) [21:53] ...and I still want to get libSDL2 working, with OpenGL [21:53] Imagine SuperTuxKart on the phone! [21:53] mmmmm [21:53] SturmFlut: you made the squirgle a real qml component that you can put anywhere in the qml scene? [21:54] SturmFlut: the example only shows how to draw it *under* the qml, so all other Items are rendered on top of it, no mixing [21:54] t1mp: In this case that's on purpose. [21:55] t1mp: And it is not rendered under the QML, but under the Label, and on top of a Tab [21:55] awesome :) [21:56] nik90: found the problem - 25ms for updating the visibility of 139 items (on desktop). With 530 pages on phone they become much more... need to optimize the code. [21:57] \o/ [21:57] ah [21:57] sverzegnassi: nik90 I am still of the opinion that the pdf reader on the phone will mostly be used for displaying 2 page airline boarding cards sent via email. [21:57] rather than 60 page full colour magazines :) [21:58] popey: true, but on a tablet for instance ppl might open bigger pdfs and we are targetting for convergence [21:59] nik90, i've got this up :) lp:ubuntu-weather-app/reboot ... the cmake doesn't do anything yet though lol just a copy from the old app [21:59] ahayzen: oh nice [21:59] * nik90 needs to bookmark new weather app links [22:00] popey, what about my 90 page lectures notes i want to read on my phone? ;) [22:01] ahayzen: we can start building on top of this....if we can get it to build and run on the phone, that's good enough for the time being [22:02] nik90, note there isn't a .qml file yet :P just the click stuff .desktop etc [22:02] ahayzen: well me and popey will call you the biggest nerd :P [22:02] ahayzen: yeah yeah I saw the source.. [22:02] it was more just to get a branch up :) [22:02] nik90, so how are we going todo this until we get jenkins?... still propose mps and one of us manually merge it in? [22:03] ahayzen: yup the person who top-approves manually merges it [22:03] cool [22:03] just need to make sure they include the full commit message included in the MP for clarity [22:03] and set the right author of the commit :) [22:05] how do you do that? [22:05] time to go guys! good night! [22:05] popey, t1mp: If you want to see something really crazy, pull the squircle repository again, start the app and wait for a couple of seconds [22:05] bzr merge lp:branchname && bzr commit -m "commit message" [22:05] ..check author and type the name .... (in bzr explorer ;) ) [22:06] sverzegnassi: nite [22:06] sverzegnassi: Good night! [22:06] nik90, read the custom authors bit of bzr commit --help [22:06] rpadovani: thnx for the review [22:06] nik90, so bzr commit --author "John Doe " [22:06] with your -m as well obviously [22:07] ah sweet [22:07] I haven't used that argument before [22:07] * ahayzen uses the GUI [22:07] ahayzen: have you used --fixes lp:12304234 to automatically pull in a launchpad bug? [22:07] yeah the gui does that for me as well :) [22:07] oooh! [22:07] wait what? gui!? [22:08] bzr explorer is the best ever! [22:08] I've been using the command line all this time like a freaking cave man! [22:08] *highly* recommend [22:08] i haven't touched cmdline bzr in years [22:08] * nik90 has already started installing it [22:08] gosh [22:09] ...it was written by canonical as well ;) http://doc.bazaar.canonical.com/explorer/en/ [22:09] in the past it seems [22:10] yeah still works though :) [22:10] is it brown? [22:10] no ;) [22:11] SturmFlut: [22:11] I mean... SturmFlut \o/ [22:13] popey: It has to be noted that the effects are controlled by QML transitions and are then applied to the canvas by Qt. The OpenGL code doesn't even know what happens [22:18] popey: let me know when you contact QA tomorrow for clock, I can be there in case they have any questions about the release. [22:18] ok! [22:21] popey, hey :) sorry if I wasn't at the calculator meeting today, I was studying :( could you please see if this https://code.launchpad.net/~gcollura/ubuntu-calculator-app/swipe-copy-button-improvements/+merge/247357 fixes the bug with the landscape keyboard? thanks a lot! :) [22:22] gcollura: no worries, of course! [22:23] popey, thanks! [22:23] thank you! [22:26] gcollura: http://popey.mooo.com/screenshots/device-2015-01-22-222330.png [22:26] do you think the date should be fully on screen or off screen, or being cut in half like that is okay? [22:27] i think it needs design input perhaps. [22:44] popey, we could guess the button size from the view ratio [23:08] popey, I've updated my branch with this particular behavior, if you want tomorrow take a look :)