=== xiinotulp is now known as plutoniix [03:42] anyone use ubuntu phone === chihchun_afk is now known as chihchun [04:30] Is there any news on ubuntu touch being able to be installed on tablets? I realize there are a few projects for select devices. but I mean to be installed on tablets in general [06:00] Hello [06:04] Hello , ubuntu aquarius 5 phone entered boot loop , any possible solution? [06:07] lesamourai: well, did you try reflash with the rom from bq? [06:08] reset to factory settings is only thing I tried and it didn't solve it [06:10] and now its constantly rebooting .. [06:10] lesamourai: ok, you can try reflash then, here's the tools http://www.bq.com/gb/support/aquaris-e5-ubuntu-edition [06:12] thanks , will go through them [08:39] * guest42315 they see me rollin' la la la [09:36] Good morning all; happy Thursday, and happy Punctuation Day! 😃 [10:02] JamesTait: woot woot! Happy Thursday to you too! [10:12] Ayyy === chihchun is now known as chihchun_afk === psivaa is now known as psivaa-lunch === alan_g is now known as alan_g|lunch === psivaa-lunch is now known as psivaa [14:33] jdstrand, i'm working on surfacing some apps installed inside libertine containers in the peer picker, how would you feel about adding a rule like this to the content_exchange policy to allow read access to the icons? [14:33] @{HOME}/.cache/libertine-container/*/rootfs/usr/share/icons/* === dandrader_ is now known as dandrader [14:37] kenvandine: that would all untrusted apps to enumerate installed apps on the system [14:38] well, the themed icons [14:38] they might not be provided by the apps... but i see your point :/ [14:38] jdstrand, they already have access to the themed icons... in /usr/share/icons/ [14:41] kenvandine: yes, that's true. perhaps I don't understand what is in @{HOME}/.cache/libertine-container/*/rootfs/usr/share/icons/* [14:42] I don't care at all about access to themed icon sets [14:42] in general [14:42] that's the directory for themed icons inside the containers [14:42] however, iiuc, anything that is installed via apt-get might get themed icons [14:43] yes [14:43] which means an untrusted app could enumerate what the user installed in the container [14:43] just by finding the icons, but quite a few of those are there without matching apps [14:43] they could potentially compare what's inside the default sets of icon themes and look for extras [14:44] to deduce the delta [14:44] yes. like I said, any system supplied ones are fine because that doesn't leak anything about the user [14:44] right [14:46] jdstrand, so since they could try to compare what icons are there, i need to find another way to show the icons in the peer picker, right? [14:47] getting the image data from a themed icon requites a qguiapplication :/ [14:47] and i really don't want to turn content-hub-service into that [14:47] kenvandine: that is what I'm thinking yes. I might suggest that the out of process picker either displays it, or opens it and passes the fd [14:48] it isn't an out of process picker right now [14:48] that's the issue, the picker is a qml component in process [14:48] oh [14:48] we use the service side to marshal the icons for click apps [14:48] hmm [14:48] the ones we get full paths to the icons for [14:48] but we can't get that for themed icons [14:49] it's a hard problem :/ [14:49] i could get a pixmap if the service was a qguiapplication [14:49] and marshal it over dbus as well [14:49] but i really don't want to do that [14:52] kenvandine: I'm not clear on what makes qguiapplication different. in that case it will talk to some out of process other service? [14:53] is that the thumbnailer? [14:53] it would essentially be a gui app without a window [14:54] right, but why does that work? [14:55] QIcon::fromTheme will load a pixmap for the icon [14:55] nothing out of process [14:55] but maybe something like the thumbnailer could help us [14:55] i hadn't considered that [14:55] maybe we can generate thumpnails for icons in the container [14:56] why does QIcon::fromTheme not also need access to those icons? because it is guaranteed to be FromTheme? [14:58] if thumbnailing is fine, we can stop talking. I just am trying to understand why clicks get dbus marshalled data container apps don't. perhaps it all works for click because /usr/share/icons is guaranteed to not have user installed data but the container's /usr/share/icons does? [15:00] the clicks have paths to the files for the icon [15:00] so i can read those in as iconData and marshal it [15:01] so i don't use QIcon for that [15:01] jdstrand, but to get a themed icon i have to use QIcon which doesn't work as a non-gui service [15:02] i'll look into thumbnailer [15:02] oh I see. installed apps in the container don't have any sort of hooks so that you know what to marshal [15:02] right [15:02] just .desktop files with icon names [15:02] gotcha [15:03] kenvandine: keep in mind (and you probably realize this already), generating the thumbnails and giving access to all thumbnails in the directory is just pushing the problem. but seems creative use of the thumbnail service might be able to get you there [15:03] i was hoping we could provide access to that path since /usr/share/icons is accessible on the device [15:04] yeah [15:04] but those directories are managed differently unfortunately [15:04] but that just exposes the icons for what's installed on the device by default, users can't change that [15:04] oh right [15:04] you only waant the themed ones [15:04] yeah [15:04] yes, that's totally fine [15:05] same as in the container [15:05] kenvandine: perhaps add a comment somewhere strategic in the code so we don't forget why that's fine :) [15:05] so you're ok with @{HOME}/.cache/libertine-container/*/rootfs/usr/share/icons/* [15:05] right? [15:05] since it's just the themed icons? [15:06] ok, now I'm confused again [15:06] ok... nevermind [15:06] i think i was briefly confused by what you said :) [15:06] so it's fine to allow access on the default system [15:06] but not in the container [15:06] because they could deduce the delta [15:06] when I install via apt-get an application in the container, do icons get put in /usr/share/icons? my understanding is 'yes', so that is not an ok path [15:07] they get installed in /usr/share/icons of the container [15:07] which is something like @{HOME}/.cache/libertine-container/*/rootfs/usr/share/icons [15:07] 10:06 < kenvandine> so it's fine to allow access on the default system [15:07] yes [15:07] 10:06 < kenvandine> but not in the container [15:07] 10:06 < kenvandine> because they could deduce the delta [15:07] correct [15:07] ok, so i do need to look into the thumbnailer :) [15:07] for the themed icons [15:08] so, if you can tease out the system themed icons in @{HOME}/.cache/libertine-container/*/rootfs/usr/share/icons in some manner (eg, generate thumbnails of those and put them somewhere), that is fine [15:09] and i can add a rule to allow access to where those get cached [15:09] exactly [15:09] like ~/.cache/content-hub/icons/* [15:09] or use an existing path. whatever makes most sense [15:09] sure [15:10] perhaps it would make sense to use ~/.cache/content-hub/themed-icons/* [15:10] or something so that people understand that app icons won't go in there [15:12] jdstrand, noted [15:12] i hope the thumbnailer can do theme lookups [15:13] i bet it has the same problem... not a gui app [15:14] i'd hate to have to make the thumbnailer cache all the installed icons [15:19] I bet the thumbnailer will work fine [15:19] but, the trick will be can the app ask the thumbnailer for an icon that is an app icon and get a result [15:20] ie, it can enumerate apt-get installed apps by trial and error [15:20] kenvandine: ^ [15:20] no... [15:20] this would be done from the service side [15:20] which already has a list of installed apps in the container [15:20] in the peer list [15:20] for the peer picker [15:21] so the service side will need to hand a icon name for a themed icon to the thumbnailer to have it cache it [15:21] then our image provider in the qml (app) side could use that cached icon [15:21] if the thumbnailer can cache an icon with just a theme path and icon name === vrruiz_ is now known as rvr [15:28] jdstrand, thumbnailer requires a path to the file, and if i could get that for the themed icon i could marshal the iconData like i do for the clicks :/ [15:29] jdstrand, back to exposing what's installed inside the container... any app with content_exchange will be able to see what apps are installed by requesting a peer list [15:30] so i don't think allowing access to @{HOME}/.cache/libertine-container/*/rootfs/usr/share/icons increases that exposure [15:37] kenvandine: I'm surprised by the peer list comment. that seems like maybe something that needs revisiting? either way, there is a difference though. with clicks apps opt into using content_exchange, ie, they want to be known to other apps. with apt-get in the container, there is no differentiation [15:38] that said, I thought one of the points of the content-hub was so that apps didn't know the other side [15:38] true... but it's a way to provide access to get content to those apps [15:38] they know the other side exists [15:38] but not direct access to their content [15:38] what we're doing is letting you do something like opening an image from the gallery in gimp [15:39] hrm, I thought that worked differently [15:39] so gallery shows a list of possible apps to send the content too [15:39] using the ContentPeerPicker component [15:40] like, user click share in the app, out of process helper whows user a list of choices, the user picks the choice, the out of process helper launches the choice, give the out of process helper the data which gives it to the app [15:40] the helper provides the list, but the component that shows the list is in the app's process [15:40] (so that is the reverse direction of what you are talking about, but rephrasing it for the other direction would be the same) [15:40] we've recently started talking about an out of process app for the picker that does an overlay [15:41] I think that is a problem [15:41] (not the overlay, the current display) [15:41] I thought the content picker used a tps like thing [15:41] there was plans for tps, but just to embed the other app inside the requesting app [15:42] not the peer picker itself [15:42] because, you are right-- there is no point in blocking access to /usr/share/icons in the container today if all of that is exposed in another way. but that shouldn't be exposed in any way [15:42] but we discussed that being tps too [15:42] bfiller, maybe we need to get the work for the out of process picker scheduled [15:42] * jdstrand doesn't care if it is tps or something else, but we are trying hard not to enumerate apps wherever possible [15:43] bfiller, that we talked about back in austin [15:43] getting that out of process solves a bunch of these issues [15:43] jdstrand, so until we get that work done, can we add access to that icons dir for container apps? [15:44] that'll be a big task, and we need the container apps for pd [15:44] kenvandine: yes, but we need to file an appropriately prioritized bug for getting the other bits fixed [15:47] kenvandine: out of process as in trust session right? [15:48] yeah, the overlay thing [15:48] we had talked about something that runs and fills the same space as the keyboard rectangle [15:54] bfiller, the tough thing is going to be deprecating the existing ContentPeerPicker that apps are using [15:55] actually, maybe we can just make ContentPeerModel private... so apps can only show peers inside our UI, not programatically list them [15:55] kenvandine: yup, going to have to think about planning for this in upcoming sprint [15:56] i don't know of any apps using the model directly [15:57] it'll be tricky to do that... anyway, we need to start planning it [15:57] getting that out of process solves all of these themed icons problems i have :) [15:57] but it isn't a short term fix :) === not_phunyguy is now known as phunyguy === alan_g|lunch is now known as alan_g|EOD [17:20] how do i find out what kills my "powerd-cli active" ? === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader [22:36] Does Ubuntu phone have SElinux or apparmor running by default please? [22:36] pdanek: apparmor by default, and you can configure selinux and use that if you prefer [22:37] jjohansen: thx [22:37] oh hrmm, actually you can't use selinux on the phone, that is for the desktop. Eventually you might be able to use it on the phone, but that would require work that has not been done [22:38] pdanek: ubuntu phone apps are very locked down [22:39] makes sense [22:41] pdanek: https://developer.ubuntu.com/en/start/platform/guides/app-confinement/ [22:42] i doubt we'll implement selinux [22:42] we use apparmor [22:44] popey: right, at first I missed the phone bit, you can install selinux for the desktop, its more work and community supported [22:44] for the phone however, someone would have to do a lot of work [22:50] Can Ubuntu Touch run Android apps already? [23:26] pdanek2: no (not yet, at least)