[06:25] i am trying to test a scope in an emulator to take a screenshot, but building gives the error `unity-js-scopes-tool: Command not found` [06:26] the desktop build is successful [06:27] the kit with the above error is i386 15.04 [07:02] does anyone know how to make a full screen app on ubuntu phone? [08:28] chesedo: the emulator doesn't have unity-js-scopes-tool. You need to install the click in it (via the Publish tab of the SDK). Alternatively, I don't mind taking a screenshot for you on my phone if you provide the click. [08:29] davidcalle: thanks just figured that... am not trying to get the click running in the emulator [08:29] davidcalle: will send you the click if i get stuck to much [08:30] chesedo: ok :) [08:31] davidcalle: ty for the reply [08:32] davidcalle: the error I currently have is "Timeout waiting for response from server" with emulator from the devel channel [08:33] the emulator from the bq-stable channel had an error about custom something not supported at the moment [08:35] chesedo: right, this last one is because the sdk doesn't support running non-installed JS scopes directly to a phone/emulator, you need to install the click there first. [08:35] (chesedo, it will be supported in the future, still wip) [08:35] ok, so how to install the click? [08:36] * chesedo thinks he might have read something about this and phablet-tools [08:37] chesedo: "Publish" tab on the left pane of the SDK. "Build and validate" -> Wait until validation passes -> "Install on device" -> Wait for install [08:39] davidcalle: lol, missed the install button after building it. ty [08:53] does anyone know how to get the QtQuick version on the Ubuntu phone? [09:04] davidcalle: new error with install on device - Framework "ubuntu-sdk-15.04.4" not present on system [09:05] that for both emulators [09:06] chesedo: alright, in the manifest.json file at the root of your project, change the framework to 15.04.3 (you must be using an more recent version of SDK packages than what's expected, which is fine! But phones don't know about it yet :) ) [09:10] davidcalle: ok, *.3 not present either, so am now trying earlier ones [09:34] davidcalle: got that working. the emulator is now just not using the network from the host (which i understand should happen)... so it has no network connection [09:36] chesedo: you can try to fix this in the Devices tab, you can check for developer mode and network connection [09:37] davidcalle: there it show network connection is off (and it is not clickable) [09:37] developer mode is on [09:38] bzoltan_: zbenjamin : maybe you can help chesedo? ^ [09:38] (SDK devs) [09:38] chesedo: is the wifi enabled on the device? [09:39] bzoltan_: there is no toggle to enable it [09:40] bzoltan_: it is an emulator (i386 from bq-stable channel) [09:44] chesedo: Ohh, emulator. That should use the network by default [09:48] bzoltan_: that's how i understand it too, but does not seem to atm (browser has network error, store and scopes blank) [09:55] chesedo: you could adb shell into the emulator and look around. [09:58] bzoltan_: ok, i guess the eth0 interface is the one that should have the connection === JMulholland_ is now known as JMulholland [10:43] davidcalle: can i pm you about making a screenshot for me [10:44] chesedo: sure! === _salem is now known as salem_ [13:34] Could someone give the Deezer Scope another shot? Is it working? (Giving results with and without a search) Someone with a deezer account would be even better. Would be very much appreciated. [14:01] labsin: I can give it a shot in a short moment [14:02] davidcalle: ok [14:32] balloons: https://core-apps-jenkins.ubuntu.com/job/docviewer-app-autolanding/ - can we get the no caching option added to the build for docviewer? I had a look but couldn't see how to make it unique for that app... === Saviq_ is now known as Saviq [15:14] lasbin, so, I've added my account, but I don't see it in System Settings -> Accounts [15:17] labsin: without a search, I see the login button, then an Artists category (top artists apparently, not from my account) [15:18] I can search without issues and get song previews [15:34] davidcalle: thank you. That's all I needed to know. I'll try at my work to get an emulator running to debug it. Hoped it would have worked without. === javiercrowsoft1 is now known as javiercrowsoft === jdstrand_ is now known as jdstrand [16:59] * popey pokes balloons [17:00] balloons: any chance we can get docviewer cmake parameter done? [17:00] *bang* [17:00] hah [17:00] popey, ohh, right.. You want uniquenss [17:00] that's not something we do, heh [17:00] ugh [17:00] can we pass additional parameters to the script that does the build? [17:01] We can do a one-off for it if we have to, but I'm guessing we can just have a think about how to do it generically [17:01] like a CMAKE_OPTION? [17:01] right [17:01] that's my first thought [17:01] we need to do the same for unit tests for each app [17:04] so popey, just tell me how it needs to be built and we'll just change that job to do it, while we figure it out [17:04] balloons: add "-DNO_CACHE=on" to the cmake line. [17:04] that's it [17:05] I guess I can let you do it, heh. Just copy the script into the shell box, rather than calling it [17:05] ack [17:05] i'll have a look [17:05] thanks. === ljp is now known as lpotter === javiercrowsoft1 is now known as javiercrowsoft === javiercrowsoft1 is now known as javiercrowsoft [21:31] chrisccoulson, ping about Oxide. Specifically, my Readability app is broken with the latest OTA, and debugging it suggests that onLoadingChanged never fires with "false" when loading is complete, and onLoadingProgressChanged never fires at all. (I have not changed the code, so it's still using Oxide 1.0, which should not have been affected by an OTA release.) [21:32] daker, you might know about this stuff. (I'd examine it in the devtools, but the devtools aren't working, afaict, despite me using http://www.kryogenix.org/days/2014/12/30/enabling-the-devtools-inspector-when-using-oxide-in-an-ubuntu-sdk-qml-app/ to turn them on.) [21:33] (also xchat-gnome just crashed, to improve my mood further, but that's not the appdevs team's fault) [21:36] aquarius: irssi ftw, #justsayin [21:36] * balloons hands aquarius smiling cookie [21:37] I can't find any actual docs for the Oxide QML object itself, either; am I looking in the wrong place? [22:09] (onLoadProgressChanged. Which I am now using, and which does work. Had to port the "is it loaded yet" stuff to that. So, this seems like a breaking change to me, which version numbering the components is specifically designed to prevent. Annoyed.) [22:12] hi aquarius [22:12] hey chrisccoulson [22:13] My Readability app broke; Oxide 1.0 used to fire the loading signal with true when one started loading a URL, and then fire it again with false when the URL finished loading. Now, it seems, it doesn't. [22:13] onLoadingStateChanged is what you want if you're monitoring WebView.loading. The old signal (onLoadingChanged) has always been broken - it's generated from the wrong place, and wasn't possible to fix as it was also used for delivering LoadEvents [22:14] I have a little complaint and a big one. The little one is: that seems like annoying behaviour. But, y'know, fine, i can live with it; I'm all for making better API, as you obviously have done. [22:14] It's been deprecated for a while. The breakage is caused by a subtle ordering change in Chromium, which is why it was deprecated in the first place [22:14] The big one is this: I am not using any newer Oxide. I had not changed the app at all. [22:14] So, it should not have broken. [22:15] I'm cool with API changing... but that means changing the version number too. Otherwise, what are version numbers even for? [22:16] Unfortunately, the API was always broken - the signal was generated from a completely different part of the navigation stack to WebView.loading. There were already cases when it was broken (particularly when cancelling loads) [22:17] that ain't a reason in my opinion to break it worse ;) [22:17] I get why it happened; I mean, I've been on the inside of this process too :) [22:18] There wasn't really a way for it not break like this, other than us not taking a newer Chromium [22:18] but... that's a breaking change to a really obvious property. Anyone embedding Oxide at all basically would have needed it :( [22:19] It caught a few things out, despite the fact there's been a working API to replace it for over 18 months [22:19] heh [22:20] Question: where's the Oxide documentation? I couldn't (and still can't) find it, but that's likely because I'm rubbish at looking. But it's not listed in https://developer.ubuntu.com/api/qml/development/ afaict? [22:21] There's an Ubuntu.Web object, but (a) I'm not using that, I'm just using com.canonical.Oxide, and (b) that object explicitly documents the loading property and doesn't mention that it's deprecated at all :( [22:22] I'm trying to work out how I should have known this was going to happen so I could avoid it, because "re-test every app I've ever released, every six weeks" is not high on my priority list of stuff I wanna do :) [22:22] and "permanently hang out on IRC and track platform development" is even lower on the list :-) [22:26] aquarius, documentation is still a bit lacking due to manpower issues [22:26] :-( [22:26] That's a bit of an understatement really [22:26] yeah. I understand the situation. [22:26] However, this does not make it any easier to live with :) [22:26] WebView.loading isn't deprecated btw - it works ok, as long as you're using WebView.onLoadingStateChanged to listen for changes [22:27] I still think the policy ought to be: nobody is allowed to release anything unless it has docs. The same as how you can't release stuff without tests, after Rick's Big Drive To Quality [22:27] I'd love a policy like that. Unfortunately, people keep asking for features and coming to me with bugs that always seem to be higher priority :/ [22:28] is OK; I am now using loadProgress anyway :) [22:28] I could go to onLoadingStateChanged instead, but I've done a release now ;0 [22:28] aquarius, what are you using it for anyway? [22:29] (loadProgress / loading) [22:29] Readability loads a URL in an invisible webview, then injects the Readability bookmarklet JS into it; that then does (something) and ends up opening the page content at Readability.com [22:30] and so at that point, once the page is showing, all nice and readable, I then make the webview visible. [22:30] So I need to track "has the page loaded fully" so I can inject the JS, and then track "has the new page loaded fully" so I can know when to show the webview. [22:32] So the underlying issue here, really, is: Oxide made a breaking change (for understandable reasons) and didn't bump the version number... and I assume that that's because version numbers don't really apply to Oxide because you always get "the latest version" because you can't or won't parallel-install multiple versions, for size reasons? [22:32] so, all understandable, and I'm not sure I can see a *better* way out of this than what you did, but that doesn't make it any less frustrating :( [22:35] (really, the solution here is: give you more resources to write documentation.) [22:36] Yeah :) [22:36] wish I could make it happen for you, pal :) [22:37] Although, we still need to work out a way to notify app developers of changes that could potentially break apps [22:37] And there's plenty of those outside of the QML API (eg, web platform features being removed from blink) [22:37] there is a better option, which is: don't break their apps. :) [22:37] but I get that that may not be on the table for something like Oxide. [22:39] but "sometimes we have to break the API" does not mesh at all well with "we do a release every month and a half", I gotta say [22:40] I'm OK with the iOS approach of "yeah, you get to retest web stuff when we roll a new iOS to confirm it all still works", because they only release yearly (and have a long testing beta period beforehand) [22:41] or the Ubuntu approach of "wow new stuff on your phone every five minutes, and we roll out bugfixes really fast" [22:41] but they don't go well in combination :( [22:43] perhaps a trivial doc patch to mention in the description of the loading property that one should use onLoadingStateChanged to watch for changes? that might help a little at least? [22:43] I'd do it myself but I have no idea where docs live. [22:43] so it'll take me hours to make the change :) [22:48] aquarius, we're not the only ones with this issue btw - the comments on https://codereview.chromium.org/1485973002/ are interesting [22:48] particularly https://codereview.chromium.org/1485973002/#msg62 [22:51] Heh. I'd disagree with that comment. I am fine adapting to changes in the APIs of HTML/CSS/JS etc inside a webview, but changes to the *embedding* API don't seem to me to be a thing which ought to rev as fast, at least partially because there are a bunch of things in place to help devs deal with this in JS -- first there were vendor prefixes, now there are flags to enable new stuff. But nobody ever breaks how [22:51] , say, Array.filter() works and then says "well it's the web, you ought to be used to it by now".