=== aaron is now known as ahoneybun === _salem is now known as salem_ === salem_ is now known as _salem === aaron is now known as Guest26610 === Guest26610 is now known as ahoneybun [03:41] Hi all [03:41] Im trying to develop a game with SDL [03:41] on ubuntu [03:41] is SDL the right lib to use for this? [07:00] good morning === sturmflut-work is now known as sturmflut2 [07:21] Good morning all === chihchun_afk is now known as chihchun === avi is now known as Guest51819 === chriadam is now known as chriadam|away === tsdgeos_ is now known as tsdgeos === ondra_ is now known as ondra [11:38] oSoMoN: quick question: why is there a need to check if actualUrl.toString() when dealing with AddressBar.internal.simplifyUrl ? [11:47] nerochiaro, where exactly? this is done in two places, which one do you refer to? [11:48] AddressBar.qml in onActiveFocusChanged (around line 325 in my branch) [11:49] 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] 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] 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] oSoMoN: can you confirm that my understanding of how the simplification logic should work is correct, as written above ? === _salem is now known as salem_ [12:26] nerochiaro, « we want to simplify the text only when the addressBar has active focus » : that’s precisely the opposite [12:27] nerochiaro, if the page is loading, we’re not simplifying [12:27] otherwise we use the actualUrl [12:28] oSoMoN: so when do we use the requestedUrl ? [12:28] onRequestedUrlChanged: { [12:28] if (!activeFocus) { [12:28] text = internal.simplifyUrl(requestedUrl) [12:28] } [12:28] } [12:34] 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 ? === salem_ is now known as _salem === _salem is now known as salem_ [13:19] nerochiaro, nothing special should be needed, what errors are you getting? [13:20] 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] nerochiaro, well if there are failures can you paste them somewhere so I can investigate? run the tests with ctest -V [13:24] 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] oSoMoN: hold on, something wrong with the failures file i uploaded === mzanetti is now known as mzanetti|otp [13:27] 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] 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] balloons, I think it's great [13:46] I'm just not sure about adding another ppa :-/ [13:47] 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] 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] 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] 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] 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] DS-McGuire, what do you think about https://daniel.holba.ch/blog/2015/05/rfc-help-app-design/#comment-2048027884? === mzanetti|otp is now known as mzanetti [13:57] 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] oSoMoN: makes sense. thanks [13:58] zsombi: https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDepNoteForComponents/+merge/260302 [13:58] it's not catching a 100% of the warnings but very very close [13:58] balloons, for now I think it'd be good to just add the foundations for more functional tests [13:58] kalikiana: wow, nais!!!! [13:59] balloons, I'm not quite sure which ones we need [13:59] balloons, maybe just navigate to a page and back again... [13:59] 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] dholbach, I suggested nagivating to every page to start [14:05] cool, sure - why not? [14:06] 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] kalikiana: good stuff in there, it's fine for me [14:10] 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] 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] kalikiana: much better :) [14:18] sverzegnassi: Great job on the new Document Viewer! [14:21] sturmflut2, thank you! Hope to add SD card write support soon... :) [14:27] 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] heh, i use Linux Voice as my tests too [14:30] 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] sverzegnassi: Very nice! [14:33] it's _really_ hard to get all those cores to wake up [14:45] published https://developer.ubuntu.com/en/blog/2015/05/26/keeping-track-evolving-qml-components/ [15:12] oSoMoN: i think that https://code.launchpad.net/~uriboni/webbrowser-app/find-in-page/+merge/258225 should be good now [15:25] popey: ping [15:26] nik90: hello! [15:26] popey: Hi :) [15:26] nik90: am on a hangout, but type at me :) [15:26] 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] popey: as always i have kept the clock-app changelog updated at http://pad.ubuntu.com/clock-app-changelog [15:27] nik90: you bet! [15:27] 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] popey: thnx [15:34] 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] nik90, lucky guy, I've just 5 minutes, on it :-) [15:35] rpadovani: ;) [15:47] 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] STEiN__: hi there...what kind of project is it (qmlproject, cmake, qmake)? [15:49] I just hit new HTML5 project, because I couldn't find a project that said that it was compatible with phones [15:49] 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] I normally write apps for Android/Mac (Odd combo but eh..) [15:50] STEiN__: I presume, you have run through the initial ubuntu-sdk configuration like creating chroots, kits etc? [15:50] Nope, I just followed the Wiki to install the Ubuntu SDK haha [15:51] It jumps right from Installing the SDK --> Create an App Project [15:51] STEiN__: I would recommend reading through https://developer.ubuntu.com/en/start/ubuntu-sdk/ to get you acquainted. [15:51] STEiN__: and after the create an app project, it links to running apps from the sdk [15:51] which shows how to run your app on the desktop, phone and any other device for that matter [15:52] Cool, thanks :) [15:52] yw [15:53] 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] 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] and code has been approved by zsombi, so its bound to be correct. [15:56] nik90, I like that theory.. bound to be correct [15:56] sure, give me a few mins I'll have a look [15:57] ;) [15:57] well I trust zsombi's judgment when it comes to alarm code === chihchun is now known as chihchun_afk === rickspencer3_ is now known as rickspencer3 === chihchun_afk is now known as chihchun [16:23] nik90, the location fixes landed [16:24] balloons: yup..I have requested popey to ask QA to test clock-app and push out a release [16:25] I kicked off a re-run of https://code.launchpad.net/~nik90/ubuntu-clock-app/fixed-bottomedge-status/+merge/253998 [16:25] balloons: quick question, which ubuntu version is jenkins running on? [16:25] and I'll have a look in a moment [16:26] 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] more specifically the unit tests are failing because QtQuick 2.4 and Ubuntu.Components 1.2 are not found === chihchun is now known as chihchun_afk [16:41] mzanetti: ping [16:41] sverzegnassi, hi [16:44] mzanetti, o/ do you have some spare time for talking about tweakgeek and uttt? [16:47] sverzegnassi, sure [17:15] nik90, indeed, it's on utopic [17:16] let's get that fixed [17:29] hey nik90, are you still here? [17:30] How do I force landscape orientation for an app? [17:34] 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] 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] iirc you can only forst the change of orientation to off ... [17:41] but if your portrait app gets started while the phone is in landscape it will come up in landscape [17:41] that's not great news [17:42] shell rotation support will likely fix that ... if that ever lands [17:42] For normal apps, fixed rotation is evil. But for games... [17:43] dont tell me :) [17:45] yeah [17:46] kalikiana: one comment on https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDepNoteForComponents/+merge/260302 [17:51] 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] 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] mcphail: like bacon2d? [17:53] 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] mcphail: depends on what you want of course. you can also use quake in js [17:58] in that sense 'tied to' is relative [17:58] kalikiana: being stuck with emscripten is not great. SDL2 _works_, but needs shell support for things like rotation and fullscreen [18:00] 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] note I'm not trying to convince you of anything - I was mostly curious about what you were after [18:02] 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] kalikiana: simply having the equivalent of the Android manifest, where you can force landscape mode, would be great [18:03] nik90, in the interim, here's a test run on vivid: http://91.189.93.70:8080/job/generic-mediumtests-vivid/1121/ [18:04] balloons: which MP is this run for? [18:05] mcphail: that's already in the works, using the .desktop file [18:06] zsombi: updated https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDepNoteForComponents/+merge/260302 [18:06] kalikiana: That's great news! Cheers me up, 'cause I'm getting a bit grumpy [18:07] kalikiana: happroved [18:08] kalikiana: I still cannot find th ereason why the AP fails on tests... [18:09] 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] zsombi: hrm [18:11] 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] zsombi: that's because you're typing then [18:13] er wait [18:13] kalikiana: wow, if the test tyes to delete the inpu tcontent with the cross button, that doesn't work [18:13] hmmmmm [18:14] zsombi: which one is that exactly? lemme run it here [18:14] kalikiana: ubuntuuitoolkit.tests.components.test_textinput.CaretTextInputTestCase.test_caret_hidden_if_empty === oSoMoN_ is now known as oSoMoN [18:26] kalikiana: weird... the test assumes the text input is empty... but the test shows it is not... [18:26] zsombi: interesting, fails in the header one for me as well [18:28] 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] kalikiana: if I remove the text from the test, it passes....! [18:30] zsombi: odd indeed, the others don't have text, and the test would basically make no sense if there was any.... [18:31] 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] I'm quite sure it passed at one time, otherwise it wouldn't be in staging [18:32] kalikiana: but that's wrong anyway, as the caret should be shown if there's text... [18:32] zsombi: hm? [18:33] this case is about an empty field where there is no text and thus no handler [18:33] kalikiana: well, the test HAS text :) [18:33] kalikiana: and noone deletes that text [18:34] zsombi: it does. but that would never pass. my only explanation is that a merge went wrong and it changed [18:34] kalikiana: so if I remove the text from the test file, it passes [18:34] yes [18:35] kalikiana: lemme check staging... but the prob is that my MR doesn't show any change there [18:39] kalikiana: ok, staging has the same, everything is the same [18:42] kalikiana: and fails on staging as well!!!!! [18:42] * zsombi eod [21:02] 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] jdstrand: seen https://myapps.developer.ubuntu.com/dev/click-apps/2744 ? [22:06] popey: I haven't, but we can't allow that === salem_ is now known as _salem