[03:41] <shank_> Hi all
[03:41] <shank_> Im trying to develop a game with SDL
[03:41] <shank_> on ubuntu
[03:41] <shank_> is SDL the right lib to use for this?
[07:00] <dholbach> good morning
[07:21] <davidcalle> Good morning all
[11:38] <nerochiaro> oSoMoN: quick question: why is there a need to check if actualUrl.toString() when dealing with AddressBar.internal.simplifyUrl ?
[11:47] <oSoMoN> nerochiaro, where exactly? this is done in two places, which one do you refer to?
[11:48] <nerochiaro> AddressBar.qml in onActiveFocusChanged (around line 325 in my branch)
[11:49] <nerochiaro> oSoMoN: ^ the reason I ask is because I need to refactor the code there and I am not sure I understand the intent
[11:50] <nerochiaro> oSoMoN: my current understandind is that we want to simplify the text only when the addressBar has active focus. and if the page is loading we want to use the requestedUrl, if it has loaded we want to use the actualUrl
[11:50] <oSoMoN> nerochiaro, I guess the reason is that there is no point in trying to simplify an empty URL. Try removing the check and run the unit tests. If they pass it should be safe to remove.
[11:53] <nerochiaro> oSoMoN: can you confirm that my understanding of how the simplification logic should work is correct, as written above ?
[12:26] <oSoMoN> nerochiaro, « we want to simplify the text only when the addressBar has active focus » : that’s precisely the opposite
[12:27] <oSoMoN> nerochiaro, if the page is loading, we’re not simplifying
[12:27] <oSoMoN> otherwise we use the actualUrl
[12:28] <nerochiaro> oSoMoN: so when do we use the requestedUrl ?
[12:28] <nerochiaro>     onRequestedUrlChanged: {
[12:28] <nerochiaro>         if (!activeFocus) {
[12:28] <nerochiaro>             text = internal.simplifyUrl(requestedUrl)
[12:28] <nerochiaro>         }
[12:28] <nerochiaro>     }
[12:34] <nerochiaro> oSoMoN: also, unrelated, is there anything special that I need to do when running unit tests with a modified oxide branch ? when running webbrowser-app manually with the modified branch I set the env variables you suggested some time ago to point to the oxide build, and everything works. but if i run ctest from the same shell, a number of QML tests fail. how do you do it ?
[13:19] <oSoMoN> nerochiaro, nothing special should be needed, what errors are you getting?
[13:20] <nerochiaro> oSoMoN: no errors, just tests failing that don't fail when i run them from a shell that does not have any oxide-specific env vars set
[13:21] <oSoMoN> nerochiaro, well if there are failures can you paste them somewhere so I can investigate? run the tests with ctest -V
[13:24] <nerochiaro> oSoMoN: failures are here: http://termbin.com/0pnp and I prepare the shell where I run ctest -V by going to oxide/build and running 'source' on this file: http://termbin.com/huin
[13:25] <nerochiaro> oSoMoN: hold on, something wrong with the failures file i uploaded
[13:27] <nerochiaro> oSoMoN: they seem to fail only when i launch them manually (using tst_QmlTests) but not with ctest -V . I will investigate further and update you. sorry for the noise
[13:42] <balloons> dholbach, so we should talk about https://code.launchpad.net/~nskaggs/help-app/functional-test-template/+merge/260206. I threw that together quickly for someone who wanted to help out with writing some tests.
[13:46] <dholbach> balloons, I think it's great
[13:46] <dholbach> I'm just not sure about adding another ppa :-/
[13:47] <balloons> it's not permanent, but yea, it kind of needs a ppa. If you make it part of the build, that complicates things
[13:48] <balloons> if you leave it as -is until it can be a proper build depends, we can still modify the jenkins job to add the ppa
[13:49] <balloons> the other thing I wanted from you is a list of user stories to automate; aka, what functional tests need to be written specifically. Steps and expectations would help those looking to write the tests
[13:50] <balloons> also, I found a bug and I want to make sure it's not a dupe. Internal linking seems broken. Clicking on the 'scopes' internal link puts you in a browser window with no theming, menu, or controls
[13:54] <kalikiana> t1mp: loicm: zsombi I'll leave it as-is now https://developer.ubuntu.com/en/blog/2015/05/26/keeping-track-evolving-qml-components/ let me know if you like it, and I can publish it later today
[13:54] <dholbach> DS-McGuire, what do you think about https://daniel.holba.ch/blog/2015/05/rfc-help-app-design/#comment-2048027884?
[13:57] <oSoMoN> nerochiaro, the failure is most likely because tst_QmlTests needs an -import parameter to locate oxide, see tests/unittests/qml/CMakeLists.txt for how the test is run
[13:57] <nerochiaro> oSoMoN: makes sense. thanks
[13:58] <kalikiana> zsombi: https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDepNoteForComponents/+merge/260302
[13:58] <kalikiana> it's not catching a 100% of the warnings but very very close
[13:58] <dholbach> balloons, for now I think it'd be good to just add the foundations for more functional tests
[13:58] <zsombi> kalikiana: wow, nais!!!!
[13:59] <dholbach> balloons, I'm not quite sure which ones we need
[13:59] <dholbach> balloons, maybe just navigate to a page and back again...
[13:59] <kalikiana> zsombi: crossing one out on the list of things I s/always/NEVER EVER/ wanted to achieve in life. get deep into the qml type system....
[14:05] <balloons> dholbach, I suggested nagivating to every page to start
[14:05] <dholbach> cool, sure - why not?
[14:06] <balloons> I listed a few others I thought of on the bug. But yes, I'd like the mp to go as-is.. no tests, just foundation
[14:06] <loicm> kalikiana: good stuff in there, it's fine for me
[14:10] <loicm> kalikiana: the construction of that sentence could be better IMO "It's designed to be used a way to serialize the public QML API in a way that is human readable as well as easy to process in a pogrammatic fashion."
[14:12] <kalikiana> loicm: how about "It's designed to serialize the public QML API in a way that is human readable as well as easy to process in a pogrammatic fashion."
[14:12] <loicm> kalikiana: much better :)
[14:18] <sturmflut2> sverzegnassi: Great job on the new Document Viewer!
[14:21] <sverzegnassi> sturmflut2, thank you! Hope to add SD card  write support soon... :)
[14:27] <sturmflut2> sverzegnassi: Since when does it render PDFs so fast? I just put a "Linux Voice" issue on the SD card of my bq and it rendered the first page within five seconds. This document is very complex, even my high-powered desktop sleeps for two seconds before anything is displayed.
[14:30] <popey> heh, i use Linux Voice as my tests too
[14:30] <sverzegnassi> sturmflut2, the rendering happens in multiple threads (at the moment the number of threads is hardcoded at 4). Each page is rendered in a single thread, in order to use all the power of the SoC.
[14:31] <sturmflut2> sverzegnassi: Very nice!
[14:33] <popey> it's _really_ hard to get all those cores to wake up
[14:45] <kalikiana> published https://developer.ubuntu.com/en/blog/2015/05/26/keeping-track-evolving-qml-components/
[15:12] <nerochiaro> oSoMoN: i think that https://code.launchpad.net/~uriboni/webbrowser-app/find-in-page/+merge/258225 should be good now
[15:25] <nik90> popey: ping
[15:26] <popey> nik90: hello!
[15:26] <nik90> popey: Hi :)
[15:26] <popey> nik90: am on a hangout, but type at me :)
[15:26] <nik90> popey: sure, it looks like https://code.launchpad.net/~brendan-donegan/ubuntu-clock-app/disable_location_prompt/+merge/242682 is going to be merged at which point clock-app should be free of release blockers. Can you get QA to test it and get out a release when possible?
[15:27] <nik90> popey: as always i have kept the clock-app changelog updated at http://pad.ubuntu.com/clock-app-changelog
[15:27] <popey> nik90: you bet!
[15:27] <nik90> popey: once this release goes through, I am going to migrate clock-app to the new 15.04 framework in preparation for OTA-4
[15:28] <nik90> popey: thnx
[15:34] <nik90> rpadovani: hey would you have time to review https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-empty-state-warnings/+merge/260173 today? It is a harmless MP
[15:35] <rpadovani> nik90, lucky guy, I've just 5 minutes, on it :-)
[15:35] <nik90> rpadovani: ;)
[15:47] <STEiN__> Really silly question, I'm trying to write an app for Ubuntu touch- but I can't seem to find a way to select phone for build (It all says Desktop Desktop) I read the Convergence page online, does that mean I can just install my app to my phone even though it's not written for phone?
[15:48] <nik90> STEiN__: hi there...what kind of project is it (qmlproject, cmake, qmake)?
[15:49] <STEiN__> I just hit new HTML5 project, because I couldn't find a project that said that it was compatible with phones
[15:49] <nik90> STEiN__: either way, click on Projects in the sidebar on the left and then choose the phone kit. That should build it for the phone.
[15:49] <STEiN__> I normally write apps for Android/Mac (Odd combo but eh..)
[15:50] <nik90> STEiN__: I presume, you have run through the initial ubuntu-sdk configuration like creating chroots, kits etc?
[15:50] <STEiN__> Nope, I just followed the Wiki to install the Ubuntu SDK haha
[15:51] <STEiN__> It jumps right from Installing the SDK --> Create an App Project
[15:51] <nik90> STEiN__: I would recommend reading through https://developer.ubuntu.com/en/start/ubuntu-sdk/ to get you acquainted.
[15:51] <nik90> STEiN__: and after the create an app project, it links to running apps from the sdk
[15:51] <nik90> which shows how to run your app on the desktop, phone and any other device for that matter
[15:52] <STEiN__> Cool, thanks :)
[15:52] <nik90> yw
[15:53] <nik90> balloons: hey, I'd like some help with debugging the jenkins issue in https://code.launchpad.net/~nik90/ubuntu-clock-app/fixed-bottomedge-status/+merge/253998
[15:54] <nik90> balloons: manually testing it on the desktop and phone, I can't hit the issue that AP seems to face when run by jenkins
[15:54] <nik90> and code has been approved by zsombi, so its bound to be correct.
[15:56] <balloons> nik90, I like that theory.. bound to be correct
[15:56] <balloons> sure, give me a few mins I'll have a look
[15:57] <nik90> ;)
[15:57] <nik90> well I trust zsombi's judgment when it comes to alarm code
[16:23] <balloons> nik90, the location fixes landed
[16:24] <nik90> balloons: yup..I have requested popey to ask QA to test clock-app and push out a release
[16:25] <balloons> I kicked off a re-run of https://code.launchpad.net/~nik90/ubuntu-clock-app/fixed-bottomedge-status/+merge/253998
[16:25] <nik90> balloons: quick question, which ubuntu version is jenkins running on?
[16:25] <balloons> and I'll have a look in a moment
[16:26] <nik90> balloons: I just proposed https://code.launchpad.net/~nik90/ubuntu-clock-app/migrate-to-15.04-framework/+merge/260336 where I use Ubuntu.Components 1.2 which I know for sure has landed in vivid, but it fails complaining that it cannot be found.
[16:29] <nik90> more specifically the unit tests are failing because QtQuick 2.4 and Ubuntu.Components 1.2 are not found
[16:41] <sverzegnassi> mzanetti: ping
[16:41] <mzanetti> sverzegnassi, hi
[16:44] <sverzegnassi> mzanetti, o/ do you have some spare time for talking about tweakgeek and uttt?
[16:47] <mzanetti> sverzegnassi, sure
[17:15] <balloons> nik90, indeed, it's on utopic
[17:16] <balloons> let's get that fixed
[17:29] <STEiN__> hey nik90, are you still here?
[17:30] <mcphail> How do I force landscape orientation for an app?
[17:34] <kalikiana> t1mp: still around? wanna have a look at a small review? https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/unitTestApiCheck/+merge/260348 nothing added, just a little test case for what we have
[17:40] <mcphail> Is it even possible to force orientation? I thought it was, but can't find a reference in the API. I note cuttherope uses rotation:90 in the WebView, but I don't want to use a webview
[17:41] <ogra_> iirc you can only forst the change of orientation to off ...
[17:41] <ogra_> but if your portrait app gets started while the phone is in landscape it will come up in landscape
[17:41] <mcphail> that's not great news
[17:42] <ogra_> shell rotation support will likely fix that ... if that ever lands
[17:42] <mcphail> For normal apps, fixed rotation is evil. But for games...
[17:43] <ogra_> dont tell me :)
[17:45] <mcphail> yeah
[17:46] <zsombi> kalikiana: one comment on https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDepNoteForComponents/+merge/260302
[17:51] <kalikiana> zsombi: hmm that is a good point. but if I hard-code lib that makes it impossible to run out of the builder folder...
[17:51] <zsombi> kalikiana: perhaps just detecting that Ubuntu/Components is in the path would be enough
[17:51]  * mcphail is feeling grumpy. Getting the infrastructure in place for a games platform is rather difficult
[17:52] <kalikiana> mcphail: like bacon2d?
[17:53] <mcphail> kalikiana: bacon2d seems nice enough, but rather limiting. Would be nice to get something like the quake engine running. Being tied to Qt/QML or webviews for all games is not great
[17:57] <kalikiana> mcphail: depends on what you want of course. you can also use quake in js
[17:58] <kalikiana> in that sense 'tied to' is relative
[17:58] <mcphail> kalikiana: being stuck with emscripten is not great. SDL2 _works_, but needs shell support for things like rotation and fullscreen
[18:00] <kalikiana> there are javascript APIs for rotation and fullscreen, if anything you have an advantage because you don't need to implement it from scratch
[18:00] <kalikiana> note I'm not trying to convince you of anything - I was mostly curious about what you were after
[18:02] <mcphail> kalikiana: the platform is 90% capable of running most open-source (hence able to be compiled for armhf) games with little modification. But I really need that other 10%
[18:03] <mcphail> kalikiana: simply having the equivalent of the Android manifest, where you can force landscape mode, would be great
[18:03] <balloons> nik90, in the interim, here's a test run on vivid: http://91.189.93.70:8080/job/generic-mediumtests-vivid/1121/
[18:04] <nik90> balloons: which MP is this run for?
[18:05] <kalikiana> mcphail: that's already in the works, using the .desktop file
[18:06] <kalikiana> zsombi: updated https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDepNoteForComponents/+merge/260302
[18:06] <mcphail> kalikiana: That's great news! Cheers me up, 'cause I'm getting a bit grumpy
[18:07] <zsombi> kalikiana: happroved
[18:08] <zsombi> kalikiana: I still cannot find th ereason why the AP fails on tests...
[18:09] <zsombi> kalikiana: if I run the QML files, and try to invoke the funcs, they seem to show up... no idea why the AP doesn't bring them up...
[18:11] <kalikiana> zsombi: hrm
[18:11] <zsombi> kalikiana: though test_caret_hidden_if_empty seems not to delete the text, and if I run test_textinput.header.qml, and if I delete the text from the header's input, the caret is still visible...
[18:12] <kalikiana> zsombi: that's because you're typing then
[18:13] <kalikiana> er wait
[18:13] <zsombi> kalikiana: wow, if the test tyes to delete the inpu tcontent with the cross button, that doesn't work
[18:13] <kalikiana> hmmmmm
[18:14] <kalikiana> zsombi: which one is that exactly? lemme run it here
[18:14] <zsombi> kalikiana: ubuntuuitoolkit.tests.components.test_textinput.CaretTextInputTestCase.test_caret_hidden_if_empty
[18:26] <zsombi> kalikiana: weird... the test assumes the text input is empty... but the test shows it is not...
[18:26] <kalikiana> zsombi: interesting, fails in the header one for me as well
[18:28] <zsombi> kalikiana: yes, the assert is for the carret not being visible, but it is, as th einput has text... how the heck was this working before?!
[18:29] <zsombi> kalikiana: if I remove the text from the test, it passes....!
[18:30] <kalikiana> zsombi: odd indeed, the others don't have text, and the test would basically make no sense if there was any....
[18:31] <zsombi> kalikiana: yes... so just wonder how th eheck was this working before? it wasn't my MR which got this test, and I didn't change the test either
[18:31] <kalikiana> I'm quite sure it passed at one time, otherwise it wouldn't be in staging
[18:32] <zsombi> kalikiana: but that's wrong anyway, as the caret should be shown if there's text...
[18:32] <kalikiana> zsombi: hm?
[18:33] <kalikiana> this case is about an empty field where there is no text and thus no handler
[18:33] <zsombi> kalikiana: well, the test HAS text :)
[18:33] <zsombi> kalikiana: and noone deletes that text
[18:34] <kalikiana> zsombi: it does. but that would never pass. my only explanation is that a merge went wrong and it changed
[18:34] <zsombi> kalikiana: so if I remove the text from the test file, it passes
[18:34] <kalikiana> yes
[18:35] <zsombi> kalikiana: lemme check staging... but the prob is that my MR doesn't show any change there
[18:39] <zsombi> kalikiana: ok, staging has the same, everything is the same
[18:42] <zsombi> kalikiana: and fails on staging as well!!!!!
[18:42]  * zsombi eod
[21:02] <SvenBo90> Hello, can somebody help me? When I try to create an emulator on qtcreator I go to Devices and click on the +-button. But nothing happens. When I have a look on the console it says QQmlComponent: Component is not ready PopupUtils.open(): Failed to create the popup object.
[21:48] <popey> jdstrand: seen https://myapps.developer.ubuntu.com/dev/click-apps/2744 ?
[22:06] <jdstrand> popey: I haven't, but we can't allow that