=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk [04:59] Hello [04:59] I have few basic queries.. [04:59] Please let me know the correct forum to ask these queries for ubuntu touch.. [05:00] http://askubuntu.com/questions/511259/porting-ubuntu-touch-filesystem [05:02] daker: I answered a specific question. It works fine on PC... === chihchun_afk is now known as chihchun [05:58] hi all [05:58] im looking to get ubuntu touch set up on a tablet and possibly a phone [05:58] any recommendations on what hardware to use? [05:58] hi everyone [05:58] something that wont break the bank [05:59] my nexus 4 arrived today and the developer version went on straight away [05:59] wow... just wow [05:59] can you actually call with it and use it like a regular phone? [05:59] phone, text, sms, mms, email? [06:00] botnut: for about a year now. No email though. [06:00] I haven't tried yet, but it should be working since a few months ago [06:00] is the email app still under development? [06:00] Actually, everything but mms has been working for over 18 months. [06:00] how about for a tablet? [06:00] which one should i go with for this? [06:00] MMS has been sort of working (should be 100% now) for about three months. [06:00] nexus 7 2013 [06:00] thelionroars: the email app is not part of Ubuntu. [06:01] botnut: I wouldn't go with a tablet at all until there's a retail one. But Nexus 7 2013 is the only supported tablet. [06:01] nhaines - how stable is it on the phone and the tablet? [06:02] No idea about the tablet. The phone barely crashes, assuming you stick with only promoted builds. [06:02] yes [06:02] just want to go strictly ubuntu across everything i use [06:03] but ive been waiting to hear its stable on the phone and tablets [06:03] Then I suggest waiting until you can walk into a store (or website) and buy one. [06:03] Everything available now is for OS and app developers. [06:04] which i am both lol [06:04] but i also want it to work without me having to code something up [06:04] Oh, well, that's been around for 15 months now. :) [06:05] You can also use the emulator on your computer. [06:05] nah thats not what i want [06:05] i use phones, tablets, workstations and laptops daily [06:05] laptops, workstations and servers i use are all linux based [06:06] would like to move my phone an tablet to that as well [06:06] and im not fond of the android based phones [06:06] Well, it's stable but apps don't exist. [06:06] ahh dont care about apps [06:07] as long asi can do phone, text, mms, sms and basic email [06:07] So if you load up the emulator and like what you see, you'll know whether or not to buy hardware. [06:07] tbh I was really starting to enjoy android, once I knew about f-droid [06:07] if i have to whip up an email client i will [06:07] Well, like I said, there is no email. [06:07] but touch so far looks far superior [06:07] it has a browser though right? [06:07] will see how I go after a few days [06:07] Yup. [06:07] which one? [06:07] Ubuntu browser. [06:08] its "own" or some firefox or chromium derivative [06:08] Which you can try in the emulator. [06:08] can i set it up in vm ware player or virtual box? [06:08] (The Ubuntu 14.04 LTS version of Ubuntu Browser is less than impressive but doesn't reflect what's in the phone builds.) [06:08] No, you can set it up using the Ubuntu SDK and the included emulator. [06:09] http://developer.ubuntu.com/apps/sdk/tutorials/using-the-ubuntu-emulator/ [06:09] hrmmm ill check that out actually [06:09] good idea [06:10] If it had maps, working email, and Ingress (and the screen turned off on my phone) I *might* use it every day. [06:10] Instead, it's dual-boot only for me now. Although when it didn't destroy batteries I could leave it running Ubuntu over the weekends. :) [06:25] sergiusens: ping (about untappd) [06:26] good morning [06:26] dholbach: moin moin! [06:26] hi nhaines [06:27] dholbach: I'm just installing r197 to see if it breaks anything since I tried r187. :) [06:29] is this a suitable channel for talking about touch architecture on desktop Ubuntu too? === diddledan_ is now known as diddledan [06:32] ecloud: I think so. But it's still a bit early in the morning. [06:32] yeah it is [06:34] Well, it's 23:34 for me, but for the core developers, it's early. :) === anpok_ is now known as anpok [08:10] is it a known problem that the clock in the top right corner getts stuck at 00:00? (The clock app still shows the right time though) [08:11] tbr, yeah, thats a new bug in the last ~8-10 images [08:11] ok [08:16] hi guys, i found two apps i developed with simple webview of qml are broken in recent builds. i guess something changed for policy_group but i'm not sure it's by design or i should submit bug to lp. anyone can confirm? [08:16] shuduo, webkit based ? [08:18] ogra_: what i used is 'import Ubuntu.Components.Extras.Browser 0.1' and specify a url [08:18] ogra_: here is my code: https://github.com/sangshuduo/doubanfmunofficial/blob/master/DoubanFMUnofficial/DoubanFMUnofficial.qml [08:19] ogra_: I'm on image 197 now (with wiped data, getting first-time wizard now), but adb shell is still root [08:19] shuduo, right, 0.1 was the old webkit stuff ... [08:19] ogra_: that's an upgrade though, not a fresh install; does that make a difference? [08:19] shuduo, there were probs with webkit based apps in the recent unreleased images [08:19] ogra_: (I was going to adjust autopkgtset for the new way of enabling ssh) [08:19] pitti, yes, many moving parts there ... the switched adbd has not landed yet [08:20] ogra_: what version i should use now? :) [08:20] i need to make sure to neither regress the SDK nor CI nor the smoke tests [08:20] ogra_: ah, you said "as of image 189", so I thought this was active already [08:21] shuduo, you shouldnt need to change a thing (as long as we have not dropped the old framework) .... it is a bug in the image that needs fixing [08:21] pitti, i think you misunderstood me :) [08:22] ogra_: oh, you mean calling PropertyService landed, and that shoudl be used now [08:22] pitti, as of image 189 you can manage sshd on/off via dbus ... so you dont need a sudo password ;) [08:22] ogra_: ack, thanks; sorry for the misunderstanding [08:22] i need to land a bunch more of these things first [08:22] then i can switch adbd [08:23] shuduo, but if you want to port i think daker wrote a nice tutorial for the 0.2 browser stuff [08:23] long term you will inded have to do that anyway [08:23] ogra_: so that'll enable ssh permanently, not just for the current run; but I guess we have to live with that [08:23] ogra_: where i can find the nice tutorial? [08:25] ogra_: i think i already found it. ;) thanks [08:28] pitti, right ... phablet shell needs it (it disables it on disconnect though) [08:29] shuduo, somewhere on http://daker.me/ i think :) [08:30] ogra_: ack, works fine; thanks! [08:37] ogra_: yes [08:39] ogra_: I replied on the ML for the other problematic bits [08:51] I noticed in the latest build, the power menu lost the restart option. What package do I file a bug report against? [08:58] nhaines, unity8 [09:00] pitti, there will be dbus properties to put something like: http://paste.ubuntu.com/8078389/ in place [09:01] ogra_: hm, that easily allows circumventing all that protection, though [09:01] ogra_: create a package with a suid root bash, add-apt-repository it, call it, done [09:01] which protection ? [09:02] pitti, before you can do any of that you have to enable dev mode with a password [09:02] ogra_: not giving root privs to adb (to avoid tinkering with the device for random computers you plug it into) [09:02] before you can access the device you will have to cofirm dev mode with the password [09:02] you always have sudo ... [09:03] and nothing stops you to call "passwd -d" after logging in and use sudo passwordless [09:03] ogra_: ah, so "sudo " with the "ubuntu" password won't go away? [09:03] not the ubuntu password, no [09:03] we already ship without password [09:04] we will also ship with disabled adb by default (soon after all these bits landed) .... [09:04] adbd wont start if there is no password set ... and you will need to set it to enable dev mode [09:04] ogra_: so what does --enable-developer-mode in ubuntu-device-flash do there? [09:05] it will toggle the switch [09:05] but it will soon be bound to a --password option ;) [09:05] for automated testing we'll need that [09:06] btw, answered your mail [09:06] yeah, automated testing does not quite fit what a "developer" would want to do; we probably want an --enable-testing-mode for that [09:07] well, even developers would want to flash with enabled dev mode ... [09:08] imagine your icecc build farm that you want to flash daily with the latest image before building :) [09:08] you dont want that with a ton of autopilot bits enabled ... but just in a normal dev more [09:10] ogra_: right, we don't want to ship autopilot (or enable the apparmor profiles for that) by default; maybe for developers, but that should all be hidden/done by phablet-test-run or adt-run [09:10] which just calls phablet-config ... [09:11] and for the bits in phablet-config i cant shield better there are the sudo snippets [09:11] Is this the place to ask for help on getting ubuntu-touch running on a Nexus 10 (I’m stuck in a boot loop) :\ [09:11] (namely the package install bits and the aa-clickhook calls) [09:12] jibel: thanks! [09:12] ogra_: yeah, I mostly use these; the things that adt-run does on its own are powerd-cli (but that seems to work as phablet), the factory reset, and saving/restoring wifi connectinos [09:13] pitti, http://people.canonical.com/~ogra/ubuntu-touch/android-tools-adbd_4.2.2+git20130218-3ubuntu24_armhf.deb in case you want to try out the adbd with phablet default [09:14] i plan to land the last proprty service bits today ... [09:14] ogra_: ah, that's useful, thanks [09:14] and the phablet-tools changes during the rest of the week [09:15] Good morning all; happy Monday and happy Bad Poetry Day! :-D [09:20] Am I right in assuming that if ubuntu installs correctly you don’t get the Normal (4 colour squares) google bootup sequence? [09:21] squares = circles* [09:21] volpe: typically you just get the Google logo until you get the Ubuntu bootsplash (currently a rotating Ubuntu logo, although I've been told this is not final.). [09:22] nhaines: right, thanks. I’ve done something wrong then. :\ [09:23] volpato1 === volpe is now known as volpato1 [09:27] “Mon 18, Aug” [09:27] — the Clock app [09:28] So after doing a: ubuntu-device-flash --wipe --channel=devel --bootstrap — from recovery, I reboot into recovery mode (ubuntu logo in the middle) then reboot with a ubuntu logo spinning (for a bout a minute) then reboot again with the google boot sequence. (Nexus 10, manta) — Don’t suppose anyone knows any obivous solutions? [09:28] volpato1: try reflashing from recovery. [09:30] nhaines: Recovery is the Android fallen over screen or the screen with wipe cache, factory reset options? [09:32] volpato1: it's the Android with the access patch open. :) [09:32] This is actually "Fastboot Mode". [09:33] nhaines: I’ve tried that multiple times (with —channel=devel, stable, trusty) same result. Is bootstrap significant? [09:33] Yes, it's required. [09:33] tried that each time as well - just wondered if I should try without. [09:34] Only when it's already working. [09:34] What device are you running? [09:34] Oh, there it is... Manta. [09:34] Yeah manta. [09:36] volpato1: I did some brief research, but I don't have any further suggestions, sorry. [09:36] thanks anyway - I’ll keep messing about :) [09:40] Good luck. :) [09:51] Saviq: I shake my fist at your design decision! [09:51] :-) [09:52] nhaines, no but really, why would you reboot your phone? [09:52] Saviq: because Ubuntu doesn't have any power management and I have to boot back into Android to get battery life over an hour (or get anything useful done). [09:53] nhaines, the reboot dialog doesn't fix that does it [09:53] (On Android, it's because sometimes Android L breaks everything, but for Android 4.4.3 it wasn't too bad.) [09:53] Saviq: it fixes that I can reboot my phone. [09:53] So there's that. [09:54] On Ubuntu, rebooting is less useful, although every so often apps or updates completely break, and then I need to reboot. [09:54] Noteably if one webapp breaks, that's usually the end of webapps for the rest of the session, although I have noticed that occasionally other apps refuse to start, and then I can't use them until my next boot. [09:54] nhaines, that's not a "real life" situation, let's just fix the power management (which btw I don't know of a bug about, people have been using their Ubuntu phones daily and I don't know of any particular battery draining problem (although we obviously need to improve, but it's not *tragic*) [09:55] nhaines, but adding a reboot button really does not help that situation which needs to be fixed regardless [09:55] nhaines, on Ubuntu *desktop* the only real reason to reboot is upgrades, which on phone happen with a forced reboot anyway [09:55] A 10% drop in battery charge every 10 minutes is hardware damaging, since it stresses the (non-replaceable) battery in my phone. [09:56] nhaines, is there a bug about this? [09:56] Nope, it would be wontfix. [09:56] Although there might be one anyway. [09:56] And I reboot my computer all the time to test an Ubuntu live CD or run Windows. [09:57] nhaines, why would a 10% drop in 10 minutes be a wontfix? [09:57] What's going to end up happening is I'm going to stop testing Ubuntu because it's damaging my phone and it's a hassle to get back to Android when I'm done. [09:58] nhaines, again, understand that's not real-life situations [09:58] Saviq: no idea. Hammerhead was supposed to be a new supported target starting around June, but now Canonical claims they've never seen their own spreadsheets. [09:58] Saviq: I do it constantly. [09:59] nhaines, I don't mean to be blunt, but we're not doing the phone for *you* but for the general user [09:59] Unfortunately I was on vacation when the change happened, so I couldn't try to bisect the power management problems. [09:59] nhaines, who does not switch between Ubuntu and Windows, or test Ubuntu live CDs [09:59] Well here's a real world problem. Every time I change a setting with my graphics card, I have to reboot before the change takes effect. [10:00] nhaines, bug#? [10:00] And I promise you there's not a single person who dual-boots who doesn't switch OSes occasionally. [10:00] Saviq: no bug. I presume it's the intended behavior of Linux kernel modules. [10:00] nhaines, and you consider dual-booting a phone a common use case? [10:01] nhaines, presumptions like that gets your bug not looked at [10:01] Saviq: no, but I consider broken apps refusing to launch a reasonable scenario. [10:01] Which project/package is responsible for the “wants to access your current location” prompts? Is it trust-store? [10:02] nhaines, sure, that needs to be fixed on the platform, rebooting shouldn't be necessary [10:03] Okay, but I don't have much confidence that it will be. [10:03] mpt, location-service I believe [10:03] nhaines, you know that logic is flawed? [10:04] Saviq: please explain. [10:04] nhaines, if you not file a bug because you "don't have confidence" in it being looked at [10:04] nhaines, and then complaining about that bug not being looked at... [10:05] I haven't filed a bug because I haven't ben able to identify non-random conditions under which it is reproducible. [10:05] thanks Saviq [10:06] nhaines, unless you're the only person that's affected by this, which is unlikely, maybe others have ideas, workarounds, anything [10:08] Saviq: possibly, but a lot of bugs are neglected, and with nothing solid to present and very little time to troubleshoot because Ubuntu is harmful to my phone and now even more difficult to work with, I'm not comfortable presenting nebulous bugs with no information to go on. [10:08] There are surely enough nonsense whining bugs on LP as it is. [10:09] nhaines: we never said hammerhead was a target [10:09] popey: yes you did. [10:09] people speculated [10:10] [citation needed] [10:10] popey: it was in your roadmap in February. [10:10] Google Docs doesn't let itself to citations. [10:10] nhaines, we've drifted away from the original point though, I still don't think your usecase warrants a reboot button in the dialog [10:11] nhaines, if you could state your case on the bug, I'll get our UX designers to look at it [10:11] Saviq: that's as fair as I can ask, although less than I hoped for. [10:14] nhaines, we all (me as well, most of the Canonical developers) have to understand we're not the main targets for the phone [10:14] nhaines, and live with some design decisions that improve usability for the majority [10:14] Saviq: I'm 100% for that. But I don't think that the option to reboot a phone is unreasonable. Especially with a system that isn't very stable. [10:15] (If everything were very stable, that might be a different scenario.) [10:15] nhaines, again, let's not fix instabilities by adding temporary reboot buttons [10:15] nhaines, let's instead fix the instabilities [10:15] nhaines, fortunately it's all open source, there's nothing stopping you from rolling nhaines's version of the phone that adds the reboot button [10:16] Saviq: I think it's irresponsible to take out such options before the instabilities are fixed. [10:17] And as a Python programmer, yes, I'm prevented from rollling my own version of the phone. [10:18] But I'm not stomping my feet because my favorite feature was removed and I'm special. [10:18] Actually, that's why I don't file bugs that I can't reproduce, either. [10:18] nhaines, I don't think being a Python programmer prevents you from anything [10:19] I definitely hope not [10:19] Saviq: Unity8 is C++ if I understand correctly. That prevents me from contributing or forking. [10:19] (This is not a failure of Unity 8) [10:21] Although I would suggest it's not a failure of me, either. :P [10:21] nhaines, there's actually much more QML code than C++ [10:22] nhaines, I don't think a project being in *any* language or a person knowing *any* language (or not knowing one, for that matter) can be considered a fault [10:22] Saviq: well then we agree on that. [10:25] Ohhh, I love how the icons rotate inside the Camera app’s buttons [10:25] That’s classy [10:27] Looks like I'll reboot my phone again (hypotheticaly twice but actually only once since Ubuntu doesn't allow it) to check that out. [10:29] mpt, hmm, is the missing reboot button in the shutdown dialog wanted ? [10:29] ogra_: see previous 3 hours of conversation here [10:29] * ogra_ had annoying moments on the weekend trying to get hos phone rebooted [10:29] oh [10:29] sorry,, i didnt read that :P [10:29] * ogra_ does so [10:29] nhaines: looked through all plans, no mention of hammerhead [10:30] i think we speculated about it repeatedly [10:30] but never committed to actually porting to it, which is why there's only like 3 of them in the company [10:30] mpt: a little jerky but a very nice touch! [10:30] if we'd committed we'd have bought a _lot_ of them [10:30] popey: It was mentioned in a roadmap, since Nexus 4s haven't been made for two years. [10:31] mentioned != commitment [10:31] as I said. [10:31] shuduo: http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Web.WebView/ [10:31] earlier in the year there were many conversations about "what do we do after nexus 4" and a few options were mooted, no commitment is my point [10:32] I've always presumed that once retail phones it, all developer builds are going to be deprecated very, very quickly. [10:33] I can't seem to find the right emails, and it's no longer in my Google Drive (which probably means it was replaced or deleted) but the roadmap I saw was very clear that it was, at one time, planned. [10:33] Not that plans don't (or shouldn't!) change, but it's surely annoying to have people say hammerhead was never mentioned. [10:34] hmm, interesting, it seems like ubuntu touch for some reason changes its IPv4 address very often in combination with my local DHCP server [10:34] My actual anger is directed at HUD being abandoned. [10:34] * tbr suspects a bug but doesn't have the time to investigate it further [10:35] nhaines: i didnt say it was never mentioned! [10:35] nhaines: I specifically said it was discussed but not a commitment [10:35] wait, what? we've gone from reboots to hammerhead to hud.. [10:36] reboots and hammerhead are mere annoyances. HUD is a betrayal. :P [10:36] Or at least really disappointing. [10:37] nhaines, it will be back, when we get time to redesign it proper [10:37] Saviq: that will be nice to see. [10:38] Mostly people were getting an answer more like "there are no plans to work on it in the future." Which is annoying. [10:38] * ogra_ finds reboots annnoying enough that we should leave the button in place til final landing of unity8 [10:39] it eats my time to try to get out of the battery animation for 5mins ... really not development friendly [10:39] yesterday I made a script which takes screenshots on the device.. works quite well, even if I did have to build all of imagemagick to do it [10:39] Saviq, popey: trust me, if I had any proficiency at hardware programming, I'd be harassing with patches instead of opinions. :) [10:39] popey, try to use gstreamer ;) [10:39] * ogra_ was playingwith that a bit but other stuff got in my way [10:39] this works, i need to wrap it in a qml app [10:39] along with 76MB of libs ⍨ [10:40] right, but you need to ship a static imagemagick [10:40] could probably trim that down ☻ [10:40] yes [10:40] gstreamer is already there [10:40] plus a load of other libs [10:40] and ships a pngsrc and pngenc sink [10:40] can gstreamer convert rgbas to pngs? [10:40] hmm [10:40] will have a play with that later, thanks [10:41] problem then is the app wont be able to put the pictures in ~/Pictures where I'd want to [10:41] i was trying that for capturing videos though ... but stills shouldnt be much different [10:42] gst-launch-1.0 ximagesrc remote=1 num-buffers=1 \! videoconvert \! pngenc \! filesink location=blah.png [10:42] or something [10:42] * popey hugs Laney [10:43] Laney, wont work with Mir i fear [10:43] ogra_, I assume you're getting the battery animation because your phone is connected to your laptop? adb reboot not working for you? :P [10:43] or does ximagesink read from /dev/fb0 [10:43] dunno [10:43] gst-launch-1.0 filesrc location=image.raw ! videoconvert ! pngenc ! filesink location=screenshot.png [10:43] that migh work though [10:43] what is image.raw? [10:43] captured by mirscreencast [10:44] raw rgba data [10:45] we dont shil gst-lauch though ... you need to actually have a C++ wrapper or some such [10:45] *ship [10:45] yeah, gstreamer1.0-tools isn't installed ☹ [10:46] yo uwouldn't actually use that [10:46] but construct the pipeline in code [10:46] well, you can test the pipe on the desktop [10:46] this should of course be baked into mir/unity [10:46] just grab the raw mirscreencast image from the phone and fiddle with it until you got the right runes [10:50] yeah, thats what I did for imagemagick [10:52] you could write a mirimagesrc :-) [10:58] yes, long term that is what we need [11:00] mardy pong [11:04] sergiusens: I suggest you to start from the facebook account plugin, which you can find in lp:account-plugins [11:04] sergiusens: the first steo is to create the .provider file, and see that you can create the account on the desktop [11:05] sergiusens: after that is successful, you can continue by adding a QML plugin for Ubuntu Touch, which would get the username [11:14] wifi/usb tethering is not implemented yet? [11:15] thelionroars: https://lists.launchpad.net/ubuntu-phone/msg09388.html [11:17] ta [11:17] please file bugs (against dbus-property-service) if you see any issues [11:18] thanks, will do [11:31] mardy: I'll pick it up later today as it is not work related :-) But I did setup a service-type, service and provider; I used the facebook one as a template and when clicking on the account to enable it (on my trusty desktop) I get an error back saying that the request is missing the client id [11:31] mardy: I'll write something more elaborate with pastebins and such closer to my eod [11:32] want to land something before the possible traincon 0 I heard might happen today [11:32] thanks! [11:32] sergiusens: OK :-) === alan_g is now known as alan_g|lunch [11:46] jhodapp: ping (unable to play sounds in the clock app) [11:49] t1mp: ping [11:57] nik90: hello [11:57] t1mp: Hi, [11:58] t1mp: I am using a ListItem.Standard with a control element (checkbox). Since I need to change the color of the text, I use a Label{}. However I am unable to anchor this label to the checkbox to avoid text elide etc. [11:58] t1mp: it says cannot anchor to something which is not parent. [11:58] t1mp: how may I fix this? [12:00] nik90: you can make the Label anchors.fill: parent maybe? [12:00] to anchor it to the checkbox you'd need to use a ListItem.Empty and add both the Label and the CheckBox there :( [12:00] hmm :/ [12:01] we were using ListItem.Empty before, but the issue with that is that we need to add onClicked signals to both the checkbox and the listitem which is counterintuitive. [12:01] nik90: we'll have new list items coming up, but not this week [12:01] nik90, pong [12:01] t1mp: for now this is okay. [12:01] hmm [12:02] zsombi: did you have a look at adding a foreground/text color to the old list items? [12:02] jhodapp: hi, I have a branch which plays a ringtone. it works on the desktop but not on the phone. let me grab the MR link for you [12:02] nik90, of the clock app? [12:02] jhodapp: https://code.launchpad.net/~nik90/ubuntu-clock-app/play-sound-preview/+merge/230959 [12:02] jhodapp: yes [12:02] t1mp: no, not this time... [12:03] jhodapp: at first I thought it was an apparmor issue which it was. But jdstrand fixed that apparmor issue and still I don't hear the sound being played by the clock on the phone [12:03] t1mp: but if someone does, should use the ColorUtils.luminance() to check the theme's background color [12:03] nik90, yeah I have a pretty good guess of what it is, one sec [12:03] jhodapp: yay :) [12:03] nik90: is the tone in part of the clock apps directory space [12:04] jhodapp: might be the same issue we had with paths? [12:04] sergiusens, exactly [12:04] sergiusens: directory space? as in does clock have permission to read that folder? [12:05] jhodapp, sergiusens: Btw the ringtones i am playing are in /usr/share/sounds/ubuntu/ringtones [12:05] nik90, no, as in media-hub won't play that sound for clock-app because of permission policy within media-hub [12:05] jhodapp: but wasn't it fixed in https://bugs.launchpad.net/media-hub/+bug/1357348 [12:05] Ubuntu bug 1357348 in mediascanner2 (Ubuntu) "Cannot play sound files due to apparmor permission issue" [Critical,In progress] [12:05] nik90, yep, I can almost guarantee that's the issue now...technically an app is only allowed to play something from its own click *home dir* [12:06] jhodapp: so how do I fix that in the clock app? [12:06] nik90: click pkgdir com.ubuntu.clock that is [12:07] sergiusens: ah no we don't ship that folder with the clock app [12:08] nik90, you can check what's going on with media-hub by tailing the log while it tries to play that sound: "tail -f /home/phablet/.cache/upstart/media-hub.log" [12:09] * nik90 checks that now [12:09] you should see a line like "client pkgname: com.ubuntu.music [12:09] uri: file:///home/phablet/Music/01 - Gobbledigook.mp3 [12:09] Client can access content in ~/Music or ~/Videos"" [12:09] nik90, but it should say client not allow access... [12:10] jhodapp: yup http://paste.ubuntu.com/8079472/ === alan_g|lunch is now known as alan_g [12:11] jhodapp: so what would you advice me to do? Ship that folder internally with the clock app? [12:11] nik90, so please ping jdstrand about this and if he is ok with adding another app exception to the media-hub policy [12:11] jhodapp: ah ok [12:12] jdstrand: ping [12:12] nik90, he probably won't be online yet...he's on central US time [12:13] jhodapp: ack. I will check with him later === pete-woods is now known as pete-woods|lunch === MacSlow is now known as MacSlow|lunch [12:58] jhodapp: rather than adding an app exception, can we jus say that all apps who can contact the media-hub can access /usr/share/sounds? [12:58] jdstrand, yep, was thinking that'd be the solution as well, but wanted to make sure you're ok with that [12:59] jhodapp: this is yet more policy in the media-hub, but remember, that will go away once tha apparmor query interface allows media-hub to query an app's access to files [12:59] jhodapp: I'm ok with that [12:59] jdstrand, awesome...will that query be answered from the trust store? [13:01] jhodapp: no, this is for playback, so the truststore wouldn't be involved [13:01] jhodapp: but we'll cross that bridge when we come to it [13:01] jhodapp: the audio policy group already has: [13:02] /usr/share/sounds/** r, [13:02] /custom/usr/share/sounds/** r, [13:02] jdstrand, ok, but I'm just curious what is adding that functionality...what needs to be implemented and where? [13:02] jhodapp: so apps are intended to have playback access to those [13:03] jhodapp: basically you big if/else statement turns into: if (app_can_read_file(fn)) { ... } else { EPERM } [13:03] the tust-store bit is separate [13:04] jdstrand, right, but what's implementing the app_can_read_file(fn) function call? [13:04] jhodapp: the libapparmor API [13:04] jhodapp: the query interface [13:04] jdstrand, ok...who's working on that and any idea of what the timeline might be? [13:04] so, it would be more like 'app_can_read_file(pid, file)' or something [13:05] jhodapp: jjohansen/tyhicks. not for rtm, possibel for 14.10. I don't know what the actual api will look like [13:05] kenvandine: hi, do you happen to know how can i give my app permission to read pictures from ~/Pictures/camera ? [13:05] jdstrand, ok awesome, thanks for the info [13:07] nerochiaro, you don't [13:07] that's what content-hub is for :) [13:08] jdstrand, jhodapp: Should I create a separate bug report for the above? [13:08] kenvandine: ok, so if I put an Image { source: "foo.jpg" } in my QML app, where does it look for foo.jpg on the file system ? [13:08] nik90, sure, assign it to media-hub [13:08] current dir [13:08] jdstrand, jhodapp: /me and tyhicks are working on the query interface, it is largely done, the kernel interface is fully updated there is a little more to do in the library and there needs to be testing and regression tests written. [13:08] nik90, and assign me as well [13:08] kenvandine: i'm just doing some quick testing and i need a simple app to load a random image [13:08] or rather relative to the app [13:08] jjohansen, nice...do you expect to land it for rtm then? [13:09] jhodapp: I don't think I have permission to assign you. I will ping you with the bug number [13:09] nik90, ok thanks [13:09] jhodapp: as jdstrand said not for rtm (even if it did there wouldn't be enough time to use it), there are other things being worked on for that atm. It should land for 14.10 [13:10] jjohansen, alright, awesome [13:11] jdstrand, ping [13:11] cwayne: hey [13:11] jjohansen, let me know if you want to use media-hub as an early test of it...I'd be happy to make it be a beta tester :) [13:12] jhodapp: of course we want to use naive victims^W^Wbeta testers :) [13:12] lol [13:12] jjohansen, count me in ;) [13:12] jdstrand, err actually de-ping for now, sorry :) [13:14] cwayne: did you find that bug? to unblock your work, you could add policy to your /var/lib/apparmor/profiles/click_*flickr* file for the path the scopes api is currently giving the app [13:14] kenvandine: just out of curiosity, where is any random app allowed to save its own data ? [13:14] jhodapp: Bug 1358278 [13:14] bug 1358278 in Media Hub "Media-hub does not allow clock app to play sounds in the /usr/share/sound/** folder" [Undecided,New] https://launchpad.net/bugs/1358278 [13:14] nik90, thanks [13:14] jhodapp: yw [13:15] pete-woods|lunch: hi! what is the bug number for the scopes api incorrectly adding appname to the path? cwayne wants it, and I'd like to add the 'application-confinement' tag (so I can find it :) [13:15] nerochiaro, to it's datadir [13:15] or cachedir [13:15] ~/.local/share/APP_ID/ [13:15] kenvandine: and where would they be ? [13:15] nik90, I'll hopefully add that quickly sometime later today [13:15] or ~/.cache/APP_ID/ [13:15] jhodapp: thnx a lot :-) [13:15] np [13:18] daker: got it. thanks [13:22] charles: ping [13:24] so. RTM get's released soon? nice... [13:25] so -you can say - things are getting pretty serious. === _salem is now known as salem_ [13:27] nik90: and this is a clock app you wanted to land today right? ;) [13:28] davmor2: shush you [13:29] popey: I'm just pointing out it's just as well we broke the image for him to have the extra dev time ;) [13:29] davmor2: go away...you are taking away my optimism :P [13:30] nik90: hahaha, ah come on dude the clock reboot rocks :) [13:30] nik90: was that more supportive of your optimism :) [13:31] davmor2: lol :D yes [13:37] seb128: please keep me posted about the icons thing, as there are two other branches in two other projects that were writ to enable notifications to use the symbolic icon for those apps [13:38] Chipaca, the warnings issue you mean? [13:38] seb128: the symbolic icon thing i mean, https://code.launchpad.net/~chipaca/webapps-core/theme-icons/+merge/230968 [13:38] oh [13:38] seb128: wrong person :) [13:38] Chipaca, k, I was wondering what you were talking about there ;-) [13:38] dbarth: please keep me posted about the symbolic icons thing, as there are two other branches in two other projects that were writ to enable notifications to use the symbolic icon for those apps [13:43] does anyone know if phonesim supports lockPin in SimManager? [13:46] i'm getting operation failed errors when trying it in phonesim [13:46] Chipaca: yes [13:46] but that could be my code :) [13:47] Chipaca: waiting for matthieu to reply === pete-woods|lunch is now known as pete-woods [13:50] jdstrand: I don't know. could you raise a bug against unity-scopes-api with the output? [13:57] hello [13:57] how do I create a rootfs for ubuntu touch? [14:01] from scratch === kyrios is now known as Guest29518 [14:06] felipealmeida, have a look at project-rootstock-ng [14:07] ogra_: doesn't that just flashes a prebuilt rootfs? === zbenjamin_ is now known as zbenjamin [14:07] felipealmeida, bzr branch lp:project-roostock-ng ... it had a scritp to build a rootfs from the ubuntu archive like we do in production [14:07] pete-woods: oh, I thought I saw you did that already [14:07] (welll at least pretty close to that) [14:08] I would like to build the projects, not just the rootfs from prebuilt debs [14:08] jdstrand: oh, I thought that was just the actual scope trying to create something it wasn't allowed to create (it's the job of an unconfined process) [14:08] felipealmeida, there is also rootstock-touch-install, yeah ... but was referring to the other script in that tree [14:08] is there any tool to do that? [14:08] Hello everyone [14:08] pete-woods, cwayne: here it is: https://bugs.launchpad.net/unity-scopes-api/+bug/1356409 [14:08] Ubuntu bug 1356409 in unity-scopes-api "Confined scopes are using the wrong path for the writable directory" [High,Confirmed] [14:09] pete-woods: no, the unconfined check was silenced already [14:09] * jdstrand adds tag [14:10] ogra_: btw, is there any serial tty in nexus 4? [14:10] jdstrand: can you paste me a link to exactly which error you mean? [14:10] pete-woods: ? that bug you filed is very clear [14:10] felipealmeida, there are hhardware hacks out somewher on the internet to get one enabled afaik [14:10] (i never needed one9 [14:10] (1356409) [14:10] ) [14:10] ogra_: how do you debug? [14:11] jdstrand: okay. so it's the "cache" path we're talking about? [14:11] felipealmeida, i rarely have to debug pre-boot stuff ... from initrd on i have adb [14:11] jdstrand: sorry. my brain farted when reading your earlier comment. I read version number, instead of appname [14:11] I see, that's exactly what I wanted to debug :) === everbrew_ is now known as everbrew === VargaD_ is now known as VargaD === Dazzozo` is now known as Dazzozo [14:12] pete-woods: I'm not sure what you call it in the scopes-api, but it is XDG_DATA_HOME by the xdg spec ($HOME/.local/share/...) [14:13] pete-woods: ah, ok. I think we are on the same page now then? [14:13] Sony Xperia Z rooted locked boot loader no recovery I....possible to dual boot Ubuntu and Android? [14:13] jdstrand: yeah. was just being stupid [14:13] heh [14:13] jdstrand: that bug is on my radar. either me or michi will fix it soon [14:13] ack, thanks [14:14] I don't know if it is the cause of cwayne's issues, but he is seeing the denial with his scope [14:14] cwayne may contact you about that [14:14] yepyep === MacSlow|lunch is now known as MacSlow [14:16] cwayne: if you need me to help you with temporarily adding the rule that works around that bug to unblock you, let me know [14:16] jdstrand, will do, thanks man [14:17] np === dandrader is now known as dandrader|lunch === Guest29518 is now known as KyriosBrastianos [14:51] hello, I'm having errors with crc32 on project-rootstock-install, any ideas? [14:51] adding android system image to installation ... computed crc32 of 0xa901ce14, expected 0x00000000 [15:48] Saviq, I added a test case to bug 1295623 . Symptoms are the same but the test case it specific to u-s-s. [15:48] bug 1295623 in Unity 8 "Sometimes input breaks and only edges are responsive" [Critical,Triaged] https://launchpad.net/bugs/1295623 [15:48] s/it/is [15:54] if you're interested in a discussion about ubuntu app frameworks, we are going to have a hangout in 5m on http://ubuntuonair.com [15:54] let mhall119 or myself know if you want to join in [15:56] * ogra_ is only interested in getting rid of them :P [15:57] mardy, ping [15:59] jdstrand, were you interested in the frameworks discussion as well? === chihchun is now known as chihchun_afk [16:02] jibel, unfortunately that's bug #1355263 [16:02] bug 1355263 in qtmir (Ubuntu) "If foreground app exited, app below is not resumed" [Undecided,New] https://launchpad.net/bugs/1355263 [16:02] Saviq, too bad. I'll continue searching. [16:03] jibel, thanks [16:09] mardy, was there ever a silo for that suspected oxide crash when adding an account? [16:09] dholbach: I'm interested, but I don't need to drive it [16:10] dholbach: more general interest and awareness for click-apparmor and click-reviewers-tools [16:10] jdstrand, ok [16:11] jdstrand, we're having the discussion right now, and on the agenda are: 1) where to store info about frameworks, 2) having an API feature changelog, 3) implementing an API scraping tool (for multiple purposes) [16:12] yeah, I don't need to be there for that [16:12] ok cool [16:12] for '1' we just need to adjust the url in the click-reviewers-tools [16:12] dholbach: ^ [16:12] yep [16:12] and that is obviously pretty easy :) [16:13] dholbach: it might be good to also store the apparmor json and the upcoming platform-api json in the same place (ie, the equivalent of the frameworks file for apparmor and platform-api) [16:13] cause the apparmor one is currently temporary as well [16:14] interestingly, it points at the click-reviewers-tools branch [16:14] which is fun to think about from a dog chasing its tail point of view :) [16:14] haha :) [16:15] but I don't care where this stuff is store so long as it is documented and easy to update [16:15] simg2img is giving me error of crc [16:16] he expects crc 0 === dandrader|lunch is now known as dandrader === dholbach_ is now known as dholbach === chihchun_afk is now known as chihchun === alan_g is now known as alan_g|EOD [17:23] hi [17:26] hi [17:31] ng. [17:32] ..... [17:42] if I want to find out how long an ubuntu handset will run, is there already a test I could look at? [17:42] ie, run test, get handset battery duration in hours? [17:45] john-mcaleely: I can't think of any test. [17:45] john-mcaleely: I see some tests in http://ci.ubuntu.com/bootspeed/arch/mako/ which tests the bootspeed of every image released [17:46] thanks nik90 [17:46] john-mcaleely: there is also memory results in that link [17:46] john-mcaleely: yw [17:47] nik90, I will take a look [17:48] you could run the test that just keeps constantly swiping and tapping on things randomly, on a device, and time it [17:48] problem is you can't test how long the battery is alive, programmatically [17:48] I think I'm more interested in a 'maxium duration' type test, so doing something fairly minimal [17:49] and wait for the thing to die :-) [17:49] because if it's connected to usb, it's charging, and you don't know how long it's alive until after it's dead :) [17:49] dobey, aha, fair point [17:49] hmm [17:49] well, you need to calculate averages under different conditions [17:50] ie, in the same way that google tests the Nexus phones with Android, to determine the advertised battery life times [17:50] dobey, yes, that makes sense [17:50] and i think some of those tests are run in radio isolationg [17:50] err, isolation [17:51] which might be hard to do at home :) [17:51] yes. I wonder if we have a way to configure the handset into some sort of radio-off-but-screen-on mode, and let it sit there [17:51] hmm [17:52] you could write a tool to do that, yes [17:52] but just turning the radio off on the phone is a different from radio isolation [17:53] dobey, true. It would be a good first attempt though [17:54] the main problem is logging an accurate time [17:54] dobey, yeah. someone would need to watch. Maybe a camera? [17:55] yeah, you'd need a camera rig [17:56] why wuld you need a camera to see when the device dies ? [17:56] anyway, i expect that Bq/Meizu probably already have the testing setups for that, and will be doing testing for battery life [17:56] ogra_: because you need to log it [17:56] it vanishes from adb too at that point :) [17:57] ogra_: maintaining an ssh connection over the network doesn't work in radio isolation [17:57] adb is using usb ;) [17:58] ogra_: usb is charging the phone, so it will never die :) [17:58] you can avoid that [17:58] if you want to make a custom cable i guess [17:58] or try to find a data cable that doesn't do charging [17:58] that should also be possible via the usb driver ... but yeah, worst case you just use a cable without power [18:00] ogra_: also, the phone needs to be already running to use adb, so it changes the results a bit, as ideally you'd want to start from total power off state, log start time when power button is pressed, and log end time when phone dies [18:01] yeah, you might be unprecise in the margin of minutes ... [18:01] anyway, i'd just let Bq/Meizu do the work of testing battery life on their phones :) [18:02] if it is out of context yes ... [18:02] if it is supposed to bein context with our software i wouldnt expect them to do it [18:02] well [18:02] our job is to write software that doesn't kill battery life [18:02] right [18:02] their job is to verify battery life for their marketing materials [18:03] how do you prove it doesnt ;) [18:03] profiling :) [18:03] which is different from testing for marketing data [18:04] and also a good bit device-dependent [18:05] yes [18:06] although apparently my nexus 5 gets better battery life on ubuntu with the backlight never turning off than others with stock android; and i think the battery life is horrible :) [18:07] why does the backlight not turn off? [18:14] w00t: if i knew, it wouldn't be turning off, because i would have fixed it already :) [18:14] err, it would be turning off, rather [18:15] but for some reason on the n5, the backlight will stay on even with screen off [18:15] i think it's a kernel issue. it also stays on when phone is powered off and plugged in to the wall charger === dandrader is now known as dandrader|afk [18:16] well, presumably wall charger on utouch is still meaning "is booted up", so you can display charging UI and such [18:18] no, powered off and on wall charger has the same stuff as android. but i did a quick search about it and found some complaints from other people using cyanogenmod and such, with similar problems [18:18] and it seemed to be related to something in the kernel [18:19] it might be "booted" in the sense that it's running the minimal android bits, not sure. but it's definitely not booted into the ubuntu bits [18:21] ok [18:23] dobey: https://github.com/nemomobile/mce/blob/master/mce-hybris.c#L380 <- mce is how sailfish is dealing with this stuff at least (though there's also an interesting dance to coordinate shutdown & stopping of rendering with the QPA plugin in control of the display, assuming ubuntu has something similar for its mir compositor) [18:25] well i don't think mir is running in the powered off state when on wall charger [18:26] no [18:26] we are in charge when in charging mode also, so.. the situations are quite different [18:27] 'we' being sailfish.. :) [18:32] so what does powered off and on wall charger look like on sailfish on a nexus 5 when you tap the power button to see the battery charge state icon? [18:35] dobey: the same as any other device: it'll have our charging screen [18:36] dobey: we're booted into a minimal cut of the OS at that phase (no compositor, just running the charging animation and some other services like mce at that point) [18:36] has anybody seem simg2img returning errors with checksum? [18:36] w00t: video or picture of that? [18:39] dobey: our current one is pretty boring. it's a static image and a battery percentage, so not much to show :-P [18:39] hm, actually, it works even with the error [18:39] w00t: sure. i was just wanting to see something that's actually different from android [18:40] dobey: I don't have an n5 yet. I may be getting one soon, if so I'll be happy to oblige :-) [18:41] ah ok === oSoMoN is now known as oSoMoN|afk [19:00] which rootfs should I use with phablet-4.4.2_r1 ? [19:11] i wonder why n5 is so slow at installing new images, too. n4 seems to be magnificently faster at that for some reason, which is weird, given the n5 is a fair bit mroe powerful. [19:15] dobey: nand speed? [19:16] stgraber: i think more likely something changed in later ubuntu images/recovery. i recall it used to be quite a bit faster than it is today [19:16] nothing that I changed anyway, I haven't touched the main upgrader script in months [19:16] i don't know what the nand speed is on the devices, but seems like it would be wrong for it to be slower on the n5 than the n4 [19:17] stgraber: yeah, not blaming. just wondering out loud. i just flashed both my n5 and n4 at the same time, and the n4 was done and running a couple minutes before the n5. and the n5 is staying at the "Google" logo much longer as well [19:18] the upgrader will typically have to read every file that's part of the update between 2 and 3 times, so nand speed is the main factor there, way over CPU (and yes, it's ridiculous having to read those big files so many times, but busybox tar is a bit limited ;)) [19:19] like, it will sit at the "Google" logo screen for well over a minute sometimes :( [19:28] dobey, Flash it again, it's been known to fail, better that than trying a fix to start with. === dandrader|afk is now known as dandrader [19:30] Beldar: it didn't fail [19:30] dobey, So it boots just sits on the splash? [19:31] Beldar: like i said, it's just incredibly slow [19:31] when it gets around to actually booting into ubuntu, it does, and the apps and stuff work fine (as well as they work on n5 anyway) [19:32] could be a bad load fail has a wide meaning, like I said. ;) [19:33] Is it me or scrolling through history in messaging app is very jerky and slow. had look at #1356539 but i do not think its related. [19:38] Beldar: and how would one determine that then? it eventually boots and is running the new image, which does not seem like a "fail" to me === mibofra_ is now known as mibofra === dandrader is now known as dandrader|afk [20:36] * dobey wonders what the best way to force having a corrupted click package installed, is [20:42] jgdx, i'm building armhf debs for libqofono with the valid property on QOfonoSimManager, i'll post them in a bit and email you a link to try whenever you have time [20:42] dobey: turn off wifi will it's downloading ? [20:42] while* [20:46] daker: i don't want the .click itself to be corrupt. that would probably be uninstallable. i want the installed package to havea corupt manifest or something [20:47] daker: ie, something that will cause "click list" to print stuff other than package names and versions [20:47] so i can test this bug [20:48] and see how "click list" will fail exactly [20:48] i shouldn't have told you how to fix your broken phone :) [20:49] dobey: maybe install a package then corrupt the manifest manually? [20:50] yeah, i guess. tring to find the easiest way to do it on my workstation, rather than poking about in adb on a phone [20:58] ah i dont have anyidea how this can be done [20:58] yeah, i'm thinking [20:58] and istringstream is such a pain too === oSoMoN|afk is now known as oSoMoN [21:36] kenvandine, wee. Wonderful news! [22:05] hi! [22:10] jhodapp: hey, do you care much if a particular website with streaming video works or not? === Cimi_ is now known as Cimi === dandrader|afk is now known as dandrader [22:29] barry, hey, we're looking into refreshing data in the launcher, for clicks we'll have a click hook, can you tell us what's the state-of-the-art approach for running something after image updates? [22:30] Saviq: oh interesting. there really isn't anything because all system updates end in a reboot [22:31] barry, yeah, we might need to just do it @ unity8 startup, was just wondering if this was solved otherwise [22:31] barry, like an upstart task ran only after OTA or something [22:32] Saviq: it might be something to think about as we extend s-i to non-mobile environments though. i.e. if your server was updating via images, you wouldn't always need to reboot to apply the update. then it wouldn't be difficult at all to run a post-installation hook [22:32] Saviq: or something like that, yeah [22:33] anyway, it's not currently solved by system-image [22:33] barry, shall I file a bug to track? [22:33] Saviq: please do. i'll triage it [22:36] popey, streaming from the browser or streaming from the mediaplayer-app? [22:36] jhodapp: browser [22:36] popey, I don't care, but the web team will [22:37] jhodapp: hah ☻ I thought underneath it used your media bits [22:37] popey, not yet, the web team is in the works of adding that [22:37] ok [23:01] barry, bug #v [23:01] bug #1358528 [23:01] bug 1358528 in Ubuntu system image "We need a hook system for OTA upgrades" [Undecided,New] https://launchpad.net/bugs/1358528 [23:13] Saviq: got it, thanks === salem_ is now known as _salem === RAOF_ is now known as RAOF