=== chriadam|away is now known as chriadam [01:25] mcphail: pong [01:26] hm bit late sorry, but did you get a verbose log? [02:31] nemo: if it is helpful, http://paste.ubuntu.com/12412453/ is all I got. Off to bed now [02:40] kk [02:40] gn [07:10] good morning [08:01] appdevs, I'm trying to build an app and am having problems with cmake stuff; http://paste.ubuntu.com/12416080/ shows the error, and indeed "/var/lib/schroot/chroots/click-ubuntu-sdk-14.10-armhf/usr/lib/arm-linux-gnueabihf/qt5/bin/moc" does not exist. What do I need to install to get it? [08:30] ah, fixed [08:30] what was the problem? [08:31] (I'd have thought moc would be installed by standard in the chroots...) [08:31] so would I [08:32] apt-get install qtbase5-dev-tools:armhf got what was needed [08:32] maybe worth a bug report? [08:34] no idea whether it's a bug, or my setup, or what. A bug report would be useless; I can't report back on whether a fix fixed it [08:35] currently being frustrated by: "lint_hooks_multiple_apps: more than one desktop app specified in hooks" [08:35] which is a stupid error because it's preventing me from building a package which works fine! [08:35] aquarius: yes - these appear to be banned [08:35] yes, I'm specifying more than one desktop app because I have more than one desktop app in my package, which works fine and is allowed! [08:37] aquarius: I did work out an exploit for the multiple apps thing, so they are probably banned for good reason [08:39] aquarius: http://themcphails.uk/leakytrust.njmcphail_0.1_armhf.click is an example where you can leak information from one trusted app to another which has network permissions [08:41] (open the trusted one then the malicious one and look at the logs) [08:42] indeed. The point of having multiple apps is that they can share information. [10:00] aquarius: yes, but the problem is the multiple apps don't have to have the same security permissions, hence information can leak/be leaked from an app the user trusts [10:47] what should happen when an app changes the height of the header? should it always show? [10:49] t1mp, I don't think I can see why changing the header height should change its behaviour? [10:52] aquarius: well there are some corner cases, for example to expose the header you have to drag the linked flickable for at least half of the header's height [10:53] aquarius: so increasing the header height might bring you in a state where you cannot easily expose the header by dragging any more [10:53] I could just check for that case [10:53] You can legitimately limit the header's height so it can't be any more than, say, 50% of screen, I would think [10:53] and in other cases keep the header hidden/exposed as it was before changing the header height [10:53] since a header which is 60% of my screen is in no meaningful way a header :) [10:54] aquarius: I'm working on a new Header component that app developers may want to abuse in ways that I did not consider useful [10:54] also, I think that the amount you drag the flickable down to show the header ought to not vary with the header's height but with the screen's height, myself [10:55] aquarius: currently when you drag the flickable, the header will move the same amount as the flickable [10:55] yup [10:55] aquarius: and when you release, the header will show/hide depending on whether it is more or less than half open [10:55] and when a certain amount of the header has been pulled on screen, it will then be in "I get shown" mode when you let go, agreed [10:56] but I think that the "certain amount" should be min(header.height/2, screen.height/10) [10:56] aquarius: currently the certain amount is header.height/2, and nobody complained about it yet [10:56] so I don't have to pull a large header further onto screen before it shows [10:56] yeah, but nobody sets the header to be large, at the moment :) [10:56] I didn't even know you *could* set the header height! [10:57] and this is only a concern for large headers, right? [10:57] aquarius: you cannot now, the new Header will be an Item that you can size the way you want [10:57] *nod* [10:58] aquarius: another issue is that if the flickable contentHeight is not much bigger than the flickable height, then its amount of flicking is limited, maybe less than header.height/2 or screen.height/10 [10:58] t1mp, and there's also a problem if the flickable is not the screen height [10:58] that is: you have a header, then a flickable, then a static thing at the bottom of the screen [10:59] that should work fine [10:59] if the flickable can't be flicked the amount needed to make the header appear, then I'd say: the header always shows :) [10:59] the header should not be above the flickable in y-direction though, but overlay it (in z-direction) [10:59] mm... sorta [10:59] I *constantly* have issues with that because the stuff at the top of my flickable ends up under the header :( [11:00] brb, meeting === chriadam is now known as chriadam|away [11:33] aquarius: the header supposedly sets the topMargin of the Flickable to avoid that. When do you have problems with it? [11:52] t1mp, next time I run into the issue I'll ping you about it and see what I'm doing wrong [11:53] aquarius: ok, thansk [11:53] *thanks [11:53] Is it actually the truth that multiple apps in one click package are banned? [12:01] popey: in the reminders app you setup for testing can you switch to local storage and try and set a reminder on a note please, I get a blank time and date wheel [12:03] davmor2: ok, let me try [12:06] http://people.canonical.com/~alan/screenshots/device-2015-09-15-130552.png [12:06] wfm [12:07] popey: cool might just be an issue here then I'll do a fresh install and see if something got screw up after Lunch [12:07] aquarius: don't think so, i've got some in the store like that (well, a scope and a webapp in one click) [12:08] cwayne, scope + app works, but two apps throws a lint error :( [12:09] *and* there's no way to hide an app from the apps scope, either :( [12:09] yeah, thats obnoxious [12:31] cwayne, hence asking :) [12:32] i hadnt realized of the lint errors, just that we couldnt hide apps :) [12:39] mzanetti, i pushed another revision of my twoeleven branch that updates all the sdk usage to 1.3 and fixes the UbuntuShape deprecation [13:00] kenvandine, thanks! [13:03] kenvandine, cann you please propose a MP with that branch? [13:04] mzanetti, i can't for +junk branches [13:04] i tried that last night :) [13:05] mzanetti, you should create a project for that [13:05] oh... right [13:05] :D [13:40] popey: Meh fresh install and I still get this http://people.canonical.com/~davmor2/no-date.png [13:41] popey: works in the clock app I assume it is the same element? [13:42] hmmm [13:44] davmor2: you're right, I had the wrong version of the click. [13:45] mzanetti: ^ [13:46] davmor2: its only a problem on rc-proposed, on retail device it's fine [13:47] wat? [13:48] popey, is this a real problem? [13:48] well, I can only reproduce it on rc-proposed which says it's probably a UITK issue [13:48] fwiw, don't see it here [13:48] it's fine on my retail phone [13:48] I use rc-proposed [13:49] davmor2: what you using? [13:49] rc-proposed [13:49] ubuntu-device-flash touch --bootstrap --channel ubuntu-touch/rc-proposed/meizu.en --recovery-image recovery-arale.img [13:49] I'm on krillin [13:49] * mzanetti on bq [13:50] does this onlyhappen with the qs-submitted click package or also with the publised one? [13:50] no idea let me reflash [13:51] lemme downgrade it on my phone to see [13:53] version from the store on my rc-proposed phone is fine [13:56] mzanetti: so the version on rc-proposed works as expected [13:59] and if you upgrade, it breaks? [14:02] popey: yeap [14:02] davmor2: any chance you can file a bug and paste the app log file? [14:03] popey: sure let me try stable first though [14:03] kk [14:04] if you could finish the QA and let us know if there's any other issues or if that's the only issue, that would be magic [14:04] popey: will do [14:08] thanks! [14:12] popey, mzanetti: so it is working fine on stable. I have a theory is rc proposed using 1.3 of the uitk and stable using 1.2? [14:14] i see same version on both devices [14:15] popey: so not that then [14:31] davmor2, it is using 1.3 [14:31] davmor2, but on stable too ;) [14:31] davmor2, might mean 1.3 broke on rc-proposed [14:32] mzanetti: yeah figured that out now it was just the only difference I could think of [14:35] davmor2, there's an upgrade to my phone... doing that now [14:35] let's see if I start hitting this [14:36] mzanetti: I'm on image 113 [14:36] those numbers are random to me [14:38] mzanetti: http://paste.ubuntu.com/12417883/ [14:39] still not happening for me [14:41] davmor2, I might have spotted an issue from that log you pasted [14:43] mzanetti: \o/ [14:52] popey, can you please test it with this branch on a device where you can repro the issue: https://code.launchpad.net/~mzanetti/reminders-app/align-imports/+merge/271139 [14:52] davmor2, ^ [14:56] mzanetti: yes. [14:56] just building now [14:56] thanks [15:00] meh sorry screen had blanked while I looked at the rest of the app, thanks popey [15:11] mzanetti: nope, same issue [15:12] ok... I'm lost them... can't repro... [15:12] file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Pickers/1.3/DatePicker.qml:592: TypeError: Cannot call method 'resetPicker' of null [15:12] that's an issue in the Picker itself [15:12] ok === javiercrowsoft1 is now known as javiercrowsoft [15:33] check out my project IntelligentSecurity on github!! https://github.com/charslab/IntelligentSecurity [15:33] its for ubuntu! [15:33] facial recognition for security :D [15:51] ahayzen, ping [15:51] balloons, pong [16:48] popey: I just realised it is the same on desktop already :( [16:58] davmor2: "yay" [17:12] davmor2: so, do we get a pass then? [17:13] popey: nope can't create an account from the app, you tap the button nothing, was stuck in meetings so picked up again now [17:14] popey: infact it crashes the app I can't do anything now :( [17:14] back after tea [17:18] kk [17:55] popey: there is definitely something screwy going on here. Because I selected no to the initial asking of setting up an account, when I go into the menu and select the add account button the ui hard freezes all I can do is close the app [18:41] popey, mzanetti: https://bugs.launchpad.net/reminders-app/+bug/1496084 https://bugs.launchpad.net/reminders-app/+bug/1496086 [18:41] Ubuntu bug 1496084 in Ubuntu Notes app "0.5.490: Can't connect to reminders account from inside the app" [Undecided,New] [18:41] Ubuntu bug 1496086 in Ubuntu Notes app "0.5.490: UI element around setting time for reminder fails to display anything" [Undecided,New] [18:44] popey, mzanetti: oooohhhhh that's interesting, I just noticed checking against my ota6 device, ON ota 6 if I goto settings→accounts evernote accounts shows notes, on 0.5.490 it shows as com.ubuntu.reminders_reminders I wonder if that is having any adverse effects on things like apparmor [18:51] rschroll, well... it all works, here, as far as I can tell. The basics, anyway. Rock. [18:53] popey, mzanetti: Bingo syslog is showing a load of apparmor DENIED's [18:55] popey, hey is the competition still on? I want to submit my app I've been working on [19:22] rschroll, also, the absolute-path-to-container-icon trick works too, although it is (again) rejected by lint, so we may not be actually able to do it [19:31] rschroll, and they have semi-good reasons to reject it, too, admittedly. [19:48] aquarius: Even if we get it in place with the absolute paths, I suspect the UI does its own caching. Who knows when the updated image would actually be shown [19:48] rschroll, this is true, actually [19:49] rschroll, was nice to see that it worked, but I don't think it's a goer for us... [19:49] rschroll, I think you're right though that we should give them all distinct icons so visual recognition kicks in [19:50] annoyed that it can't be dynamic. It seems that people *want* dynamic icons -- the calendar and clock apps, for example -- and there may be some work going on to make that happen, and if it does we can take advantage of it [19:51] With Beru, I've already done work on generating sensibly spaced colors. We can probably use that to generate icons with the same pattern and different colors for all the containers. [19:52] Scopes question for the floor: Is it possible to alter a result in an ActivationQueryBase::activate, to change the URL to be activated? [19:53] Alternatively, is it possible to launch a URL from a scope programatically? [19:54] t1mp, do you know about scope stuff? or is that all michi? [19:56] mzanetti, do you know about the scope api? [19:57] depends on what [19:57] I have an idea... but not in detail [19:57] mzanetti, see rschroll's question above, which we're trying to do :) [19:59] hmm... I think altering the result set should be possible, yes. haven't ever tried myself [19:59] launching programmatically should be possible too I think. however your code is only triggered on user interaction... [19:59] I've tried result().set_uri(), but that doesn't seem to do anything [20:00] I worry that it's operating on a copy [20:00] What's going on in more detail: [20:01] I have a result with a URL to be launched. But when the result is activated, I want to run code in the activation handler to change that URL, to launch another app. [20:01] I haven't been able to alter the uri, as noted above. [20:01] erm... why not just give the real target in the first place? [20:02] We're planning an array of webapp containers, and we want to target a free one. [20:02] The list of free containers may change between when the results are prepared and one is activated [20:09] rschroll, I have had a thought. One can't start an app other than from the scope. So all that can happen in between the results being prepared and a result being activated is that the user kills one or more containers from the app switcher, right? But if that happens it doesn't invalidate the URLs because all that can happen is that the container we were targeting is now free? [20:11] Suppose we launch one bookmark, switch back to the scope, and launch another. I don't think the scope will refresh its results in between [20:12] So all bookmarks other than the 15 most recent will be trying to use the same container, and will clobber each other until the scope is refreshed [20:12] aah, yes. Unless we can command a refreshed query when an app is launched [20:13] (which would also involve "run code after a thing is tapped on", although it wouldn't need access to the chosen URL) [20:13] I've got code running as a result of the icon being selected. (That's the activation function I mentioned.) [20:14] ah, cool. Can that code clear the existing query or refresh it or something? [20:14] or does that have the same "you don't have access to it from there" issue that ovewriting the URL does? [20:15] We can perform a new query, which ought to refresh the list. But I don't think we can do that and have the existing URL still load. [20:15] Those are two different return codes for the function [20:15] darnit [20:17] mzanetti, who knows about this stuff in detail? I've sorta lost track. Is it just michi? [20:21] aquarius, alecu perhaps [20:22] good thought. [20:22] alecu, ping! also, long time no see :) [20:23] Hello! [20:23] heya alecu :) [20:23] Hey there, sil [20:24] aquarius: I don't know about scope stuff [20:24] t1mp, no worries -- we have summoned alecu :) [20:24] ok :) [20:24] alecu, see the scrollback for our question [20:25] kalikiana, zsombi: about the Header API https://docs.google.com/document/d/1wUUKtPmRmwbUELC1BUB9l0VOAwS_zAPRSCqMopUxR1c/edit# , [20:25] Sure, catching up with scrollback now [20:25] ^I think I can drop the locked property completely. You can simply not set a flickable.. [20:25] I don't see a use case where that doesn't work [20:26] anyway what 'locked' does now is disconnecting the flickable [20:31] t1mp: say you do have a Flickable but want it to be "locked" at one point, could interactive:false be sufficient? [20:31] kalikiana: flickable.interactive? then you cannot scroll the flickable any more [20:31] hmmm no forget that, that makes no sense [20:31] kalikiana: header.flickable = null will lock the header [20:31] yeah [20:32] an unlocked header means that it scrolls with the flickable [20:32] so what matters is there's a way to stop the header from knowing about it [20:32] having the unlocked property requires additional code (to disconnect from the flickable) and tests [20:32] kalikiana: just set header.flickable = null, or header.flickable = yourFlickable to enable scrolling [20:33] yeah, or even a simple binding if needed [20:33] that is pretty fine [20:34] cool :) [20:34] it will still need tests, though ;-) [20:35] kalikiana: I write the tests before I add the functionality :) [20:40] alecu, let us know if the question doesn't make sense :) [20:40] (I think we scared him off.) [20:41] I think I still owe him a pint from last time I was in Buenos Aires :) [20:41] lol [20:42] aquarius: I think rschroll is right: there's no way to update an existing result set so far. The only way is to force a refresh, but I don't recall if that's available for every scope [20:43] the click scope does so via a dbus signal to the scopes-shell, that ends up redoing the scope query [20:45] rschroll: aquarius: lines 68 and 69 here: http://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/view/head:/bin/install-helper#L68 [20:46] hm. [20:46] I bet we can't do that :) [20:46] this warrants a bit of explaining... [20:47] since scopes can be killed at any point, we can't do the download of the app from the click scope. So, we ask download manager to do it. And install-helper is a script that's run when the download is completed [20:47] and it also asks the click scope to refresh. [20:48] both the "installed apps" scope, and the "ubuntu store" scope. [20:49] Can that be done with arbitrary scopes, or are those two special? [20:49] rschroll: I've read the backlog, but I'm still not understanding your use case [20:49] how does the scope start the download manager? does the scope do it with code, or does the scope provide URLs for packages which look like magicdownloadmanagerurl://?package=http://click.ubuntu.com/whatever ? [20:50] rschroll: I don't know about that bit. I suspect that there might be some dbus apparmor limitation on that, and install-helper not being affected by that. [20:50] aquarius: with the download manager client library. [20:50] alecu: aquarius and I are working on a scope that launches webapps in their own containers [20:51] We have a collection of containers to use and want to launch into an empty (or recently idle) container on activation. [20:51] aquarius: startDownload here: http://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/view/head:/libclickscope/click/download-manager.cpp#L130 [20:51] rschroll: nice [20:51] The list of which are in use can change between query evaluation and result activation [20:52] So we want to change the uri at activation time to use the correct container [20:52] I can run code at activation with ActivationBase::activate(), but I haven't been able to alter the uri or trigger another uri to be opened [20:53] Another alternative to is to force a refresh of the query whenever a container is opened, so the container to be used isn't stale. [20:53] (Thus the questions about refreshing) [20:53] rschroll: what about not including the container id in the result set, and instead trying to find the available container in whatever is handing the opening? [20:54] That's another possibility, but it involves opening two apps (perhaps) [20:54] triggering the right one right away would be faster [20:54] alecu, the thing which handles the opening *is* the chosen container. If we had another app which handled the opening then you'd see that other app open and then immediately the chosen container would open, which looks horrible and doubles our container startup time ;) [20:56] what's a "container" in this context? a browser-like qml app? [20:56] yup [20:56] there are 16 of them pre-defined. [20:57] we want to choose one of them which is currently empty, or the least recently used one [20:57] we can work out which one is least recently used when the scope is opened [20:57] aquarius: and they will all be shown in the right-side spread? they are running apps after all [20:57] yup [20:57] that's why they are separate pre-defined containers. [20:58] if we work out which container is least-recently used when the user opens the scope (let's say it's container 6) so all the URLs look like container6://some-bookmarked-webapp.com, then that's fine -- choosing any web app will open it in container 6 [20:59] but if the user then switches *back* to the Dash and chooses *another* webapp, the query will not have been refreshed, so all the URLs will still be container6:// and we don't want them to be, because that container is in use now., [21:00] so what we want to do is decide which container is least-recently-used *after* an app is tapped, rather than when we get the list of apps to show. [21:03] aquarius: I'm going to assume this something you guys don't plan to upload to the store as a regular click. [21:04] aquarius: in that case, you may use a special apparmor profile to allow talking dbus and refreshing the query after each container is activated with a new url [21:07] How would that work? Does the scope need special code, or would the container be talking to unity8? [21:07] alecu, absolutely not. This is absolutely intended to be in the regular store, from my perspective at least. [21:07] We'd need an exception for multiple desktop files, but that's all right now. [21:08] yup [21:08] (and I am talking to people about that) [21:08] ah, I see. [21:08] saying "you can write an app which works like this, but actual normal people can't have it" is avoiding the problem ;-) [21:08] aquarius: there's always the open store... :-) [21:08] "actual normal people". :) [21:09] "The scope starts a helper app which then starts the appropriate container" will obviously work, it's just a terrible user experience [21:09] aquarius: I may have a work around. It's a little bit complicated, but shouldn't be too bad. [21:09] The scope would just code a fixed container for all but the recently-used apps. [21:09] unless it's possible to have a helper app which can be started by URL and which can itself start URLs but which presents no UI, which I bet it isn't :) [21:10] If a container is started, it just runs. [21:10] If a container receives a URL, it checks, using the same algorithm as the scope, if it was the right one to receive that URL. [21:10] If it was, it loads it. [21:10] * aquarius asks tedg the no-ui question :P [21:11] If it wasn't, then we chain to the right one. [21:11] This means only one app start-up per launch [21:11] There may be a flicker of the first container if we have to transfer [21:11] so... basically we have the helper app, we just build it into every container? [21:12] yeah [21:12] tedg says that if you have a helper app which itself starts the right container that it will probably start and pass on fast enough that you won't notice it [21:13] stress on *probably* [21:13] so that'd work, if an app can be url-dispatched but not have a .desktop file...? [21:13] alecu: I'm talking non-QML here :-) [21:13] :-) [21:14] aquarius: remember that you can set some flag on .desktop files so they are hidden from the app scope [21:14] ah, we need a desktop file so the urldispatcher knows which executable to start [21:14] and the helper app would have to explicitly quit after it sent out the new URL [21:14] which is a shame, because if it could stay running then it wouldn't incur any startup cost [21:14] but if it stays running, it'll appear in the launcher. [21:15] rschroll, so, we have two options there -- separate helper app, or helper app built into each container [21:15] aquarius: It doesn't have to quit explicitly, it'll just get suspended. [21:15] tedg, if it doesn't quit, it will appear in the launcher [21:15] aquarius: If it is small enough, it'll run forever. [21:15] but can't be switched to, because it has no UI [21:16] thus, a launcher button which doesn't do anything, which is horrid [21:16] If it gets switched to it could go to the scope [21:16] scope://webappsscope [21:16] yeah, but that's not a solution, that's "well, this bad thing has happened, so how can we make the best of it" :-) [21:16] but that's possibly a workable idea! [21:17] rschroll, is that (a) a neat little hack or (b) terrible? [21:17] Those are not distinct [21:17] * aquarius laughs [21:17] To get good startup time, this would need to be compiled [21:18] yup [21:18] Is there a C or C++ API for the URI handler? [21:18] Yeah, liburl-dispatcher is what the QPA uses. [21:18] thanks [21:18] Oh, and for the running app stuff you can use GApplication [21:19] Might be easier to export that one endpoint on your own though. [21:19] YMMV [21:19] rschroll, if we were going to do the absolute-icon-path thing then the helper app would be the thing which sets the icons :) But we aren't [21:19] here's how to hide all those 16 .desktop files from the apps scope: http://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/view/head:/libclickscope/click/interface.cpp#L110 [21:19] "NoDisplay: true" [21:20] alecu, we're setting OnlyShowIn=Old atm; is there a better way? [21:20] rschroll, huh. Our desktop file has NoDisplay in it, but commented out; did you do that? [21:20] yeah, that works too. [21:20] alecu: NoDisplay=true breaks the url-dispatcher [21:20] because obviously [21:20] :D [21:20] I see you guys are way deep into the hack :-) [21:21] let me know if I can help with anything else, and I'm definitely looking for suggestions on how to improve the scopes api, or the scopes api docs [21:21] way to improve the scope API: let us overwrite the chosen URL after click. :) [21:22] cheers for the help, alecu :) [21:23] what I think it's not clear from the docs is that the scopes are stateless, and that these kind of things go against their own nature :-) [21:23] we're stateless too! [21:23] hmmm [21:23] yeah, but the device isn't [21:25] tedg: Are there docs for liburl-dispatcher? [21:26] rschroll: It's only three functions: http://bazaar.launchpad.net/~indicator-applet-developers/url-dispatcher/trunk.15.10/view/head:/liburl-dispatcher/url-dispatcher.h [21:26] alecu: Thanks for your time! [21:27] hmmmm.... I wonder if we can have an extra optional step in the scopes api, where each scope would get an extra chance to massage the url [21:27] something similar to what you can do with scope previews [21:27] Yeah, that'd be dead useful to us here [21:28] rschroll: aquarius: perhaps you guys can open a bug in lp:unity-scopes-api or lp:unity-scopes-shell and I'll take it to michi, pstolowski and the other scope gurues. [21:28] still, it sounds like an ABI break, so I don't think I can promise anything before your hack is ready :-) [21:28] The helper app should work === AndChat-28784 is now known as aquarius-phone2 [21:29] Gnah. [21:29] rschroll: do you think the independent helper is better than having the container do it? [21:29] ok, I need to run. Great talking to you guys, and aquarius-phone2: it's me that owes you a beer :-) [21:30] tedg: Gotcha. I don't see anything for receiving URLs, though. [21:30] dunno offhand. [21:30] Cheers alecu :) [21:30] The nice thing about the independent dispatcher is that code only has to be in one place, not both in the scope and in the container [21:31] Agreed [21:31] But it means another moving piece [21:31] Also we can call the helper "Launching your web app..." :) [21:31] rschroll: No, for receiving we use the FD.o standard. So it's implemented by GApplication, I think QtApplication, etc. [21:32] rschroll: It is only one DBus endpoint if you just want to implement that though. [21:32] We can talk to D-Bus? [21:32] tedg: I see. Thanks! [21:34] I thought we were confined away from D-Bus. Cool. [21:35] I think DBus access is curtailed by not completely prohibited. At least based on my reading of the apparmor files [21:35] aquarius: aquarius-phone2: Everything is DBus or Mir [21:35] You should listen to my talk :-) [21:35] Ya, but I thought we were only allowed certain things; the URL stuff is on that list? [21:35] Yes. There is in fact a rather long list. [21:36] And anyone who is unconfined can send you anything, so in this case you just set yourself up to recieve the URL [21:36] Oh, it must be, or nobody could use URL dispatcher [21:37] You'll note that the full API isn't available to confined apps. Only 2 of the 3 functions. The otehr is for the push service and scopes. [21:37] (well dash) [21:38] Cool. [21:39] So, something else goes on the "the platform should do this, but we managed to work around the lack with this suboptimal but working approach" :) [21:40] This IRC app does not handle changing networks well :) [21:41] This is going to make for the world's best talk about how to get things done on new Ubuntu in the face of fierce opposition ;-) [21:43] But I think that's the last serious platform impediment we had to overcome. Now, in theory, everything that could work, we know how to do. I think. [21:43] Until the next existential crisis [21:46] Well, yeah. [21:46] But I'm being optimistic :) [21:50] tedg: question. When I ship an icon in my click package and the Icon desktop file key points to it, does everything reference that file, out does the install process take a copy of it to somewhere else? [21:52] aquarius-phone: Everything references it. For stuff that uses the desktop file in your click package it'll look relative to the click directory. For stuff that uses the desktop file in ~ the desktop file has the path expanded to be the absolute path. [21:54] rschroll: so, the container desktop file could have Icon=containerN.png and that... is a symlink to ~/.l/s/atd/container0.png ... [21:57] I'll test that at some point :) [21:58] Poking around a bit, I've managed to get the scope dispatch a URL from the activate() method. But it's blocked by apparmor [22:05] Huh. That's presumably because scopes themselves aren't allowed to despatch URLs? Only the scope framework is? [22:05] I suspect the security peeps will not wanna relax that requirement [22:05] I belive that you can return a URI as a response to an activate. [22:05] * tedg doesn't quite remember the scopes doc there [22:06] Nope [22:07] We spoke to alecu who _does_ know the scopes api and he says no :) [22:10] "# Scopes shouldn't use URL dispatcher directly" [22:25] aquarius: It works! If the scope is unconfined. [22:25] Somehow, I don't think that'll fly [22:25] Ha! [22:25] Yes. I think this is not the way forward :) [22:26] Well, dinner time now.... I'll look at your pull request eventually, I swear. [22:26] Is OK :) [22:26] It finds icons properly now [22:27] And everything works end to end: I added a web app from the browser and launched it from the scope in a container [22:27] We should talk about nomenclature at some point too; I think we should talk about apps, not bookmarks. But that's not important right now :) [22:30] Anyway, ttfn. I shall go too. Later!