/srv/irclogs.ubuntu.com/2015/03/16/#ubuntu-touch.txt

randy1I've built ubuntu-touch for my Galaxy Nexus. Upon booting, logcat says "failed to connect socket for 'dev/socket/upstart-text-bridge'". Why wasn't that socket created while booting?00:16
mariogripis adbd running? are the android container running?00:17
randy1adbd is running. i can adb shell and adb logcat. How do I access the container to know it is running?00:18
mariogriplxc-info -nandorid00:19
randy1lxc-info -nandroid -> android doesn't exist00:21
mariogripHumm, then it looks like it didn't setup the lxc correctly... do you have a last_kmsg that i can read? (and did you run that command in adb shell btw)00:23
randy1yeah. I initially did run lxc-info in adb shell. oops. within adb, it can't find lxc-info00:24
mariogripthat fine, i was just confirming that you wasn't running it on you host computer.00:26
mariogripyour*00:27
mariogriprandy1 do you have a last_kmsg or syslog i can read? paste it to pastebin.com or something00:31
randy1http://paste.ubuntu.com/10607342/00:32
mariogriprandy1 it looks like you rebooted it before everything was loaded.00:34
mariogripremember last_kmsg is for the reboot that was before you pulled, if you want the current kmsg do adb shell dmesg > log.log && adb pull log.log00:37
mariogripor do a reboot and then pull last_kmsg00:37
randy1http://paste.ubuntu.com/10607377/00:39
randy1that is my current log00:39
mariogripinit: untracked pid 2259 exited00:41
mariogripthat is the only thing i can find... humm00:41
randy1yeah, but that is a long time after the kernel booted. what should be happening in the kernel? After around 19sec, nothing seems to happen.00:43
randy1at some point the kernel should mount the ubuntu container, right?00:43
mariogripyeah00:44
mariogripbut it should mount system.img too00:44
mariogripinitrd: mounting system.img (user mode)00:44
mariogripthat's form my dmesg00:45
mariogripfrom*00:45
randy1that's what I thought00:45
mariogripcan you check is system.img is even existing? in /data00:45
randy1yep. /data/system.img00:46
mariogripis it mounted? what do you get when do ls in shell?00:47
randy1where is it supposed to get mounted?00:49
randy1it doesn't appear to get mounted. there is no /var dir, for example.00:50
mariogripbtw there is two system.img one induces ubuntu root system (/data/system.img), and the other one is android (placed inside data/system.img in var/lib/lxc/android)00:51
mariogriptry to mount it manually, mkdir cache/system && mount -o loop data/system.img cache/system00:52
mariogripcd cache/system00:53
mariogripls00:53
randy1alright, had to add the fs type, but it is now mounted at cache/system00:54
randy1it's all there.00:55
randy1is it possible to kick start it now that it is mounted?00:55
mariogripno, it's not mounted in root00:56
mariogripor maybe, but i don't think so00:56
mariogripokey, so the kernel is not mounting system.img, now we need to find out why :P00:57
mariogripcan you try with a kernel already build and see if that works?00:58
randy1yeah, I probably messed up the kernel somehow.00:58
randy1i don't think there's a prebuilt kernel for the galaxy nexus00:58
randy1i attempted to boot with one of the other kernels (maybe mako) but it wasn't successful00:59
mariogripyeah, i don't think that will work00:59
mariogripare you compiling with a mac? I don't know, I don't think that will make any different, but you never know01:00
randy1no, it's ubuntu, just running on my mac01:01
mariogripah, okey01:01
mariogripdid you edit the kernel config?01:02
randy1while compiling my kernel, I applied the update for the kernel config that is mentioned in the porting guide01:02
mariogripah, this is port01:02
mariogripthen, did you use this tool? https://github.com/mariogrip/phablet-porting-scripts/blob/master/kernel/check-config01:03
randy1well, that's the only place that mentions editing the kernel config01:03
randy1yeah01:03
randy1i defintely read that without those kernel configs, the ubuntu container wouldn't start.01:03
mariogriptry to add debug to kernel command line, the you get more outputs01:05
randy1after runnning that script (check-config), I just ran make, which I'm pretty sure should have used the updated .config file, but this is pretty new to me.01:05
randy1ok01:05
mariogripbtw, did you ran check-config with -w config?01:06
randy1yeah01:06
mariogripok01:06
randy1darn. so I just ran check-config again on my .config file, and it didn't 'pass'. It must have written to the config file elsewhere, but I guess I need to copy that file onto .config01:09
randy1let me rebuild my kernel. :)01:09
mariogrip:)01:10
randy1mariogrip thanks for the help. I'll be back on after I build the kernel again.01:11
mariogriprandy1, you'r welcome, btw i will be going to bed soon, so if i'm not online i will tomorrow01:13
mariogripyou're*01:13
GerowenSo now that my device has detected what time zone I'm in, how do I get it to accept alarm times as this time zone?  Whenever I create an alarm in the "clock" application, it defaults the time to UTC instead of my time zone.05:57
=== marcusto_ is now known as marcustomlinson_
=== marcustomlinson_ is now known as marcustomlinson
GerowenHow would I go about pasting my wifi password in Ubuntu Touch?06:31
GerowenI can copy it from my router web page, or from a text document I have placed on the device, but when I press and hold in the wifi password box there's no option to "paste".06:32
AskUbuntu_Get Wifi Password Into Ubuntu Touch | http://askubuntu.com/q/59733307:20
=== chriadam is now known as chriadam|away
dholbachgood morning07:58
rpadovanioSoMoN, o/08:28
oSoMoNrpadovani, \o08:30
rpadovanioSoMoN, seen your last reply to the new tab view. I don't get how you plan to achieve the same behavior with column and flickable.. How could you fix the position of the section header and push it out when bump the next section?08:32
oSoMoNrpadovani, I don’t think we could, indeed… But the design spec doesn’t strictly specify this behaviour as required either08:33
rpadovanioSoMoN, oh, well, if isn't specified by design I can totally simplify that page08:35
rpadovanioSoMoN, thanks, I'll try during the week08:36
oSoMoNrpadovani, given the numerous issues you’ve bumped into with the current implementation, I think that’s the easiest solution08:36
rpadovaniindeed08:37
=== chihchun is now known as chihchun_afk
zzarrhello! have anyone ported Ubuntu to Motorola xt894 (Droid 4/maserati) with the new guide?09:50
g105bI've just received a phone call from my bank's fraud dept. alerting me to some prepay phone transactions from Europe on my account... As the only thing I've purchased from Europe is the bq phone, I'd like to let everyone in here know to check their bank statements for small transactions they didn't make... I'm not being accusational, just being safe.09:51
JamesTaitGood morning all; happy Monday, and happy Freedom of Information Day! :-D09:59
Isotop7I have problems with setting up a porting env for s4 jfltexx...can somebody help me10:24
lotuspsychjeIsotop7: maybe check the XDA forums for porting your device10:26
Isotop7thanks :)10:27
Isotop7well...on xda there is no info for s4 or porting in general...just people pretending to have working ports but none of them tells how...i did the basic structure but i have errors while make -j4 saying that values where overriden...i did some research on these errors but i found nothing which leads me to a conclusion...the porting guide is nice, but without further informations on which files out of aosp or cm tree are exactly needed10:34
Isotop7, noobs like me are pretty much screwed...10:34
Isotop7does anyone know where i can get more informations regarding porting to another device and problems with it?10:49
=== chihchun_afk is now known as chihchun
Isotop7111:20
=== chihchun is now known as chihchun_afk
Isotop7i need help regarding porting ubuntu touch to my s4 jflte(xx)...are there any further sources of information besides the porting guide?11:34
=== chihchun_afk is now known as chihchun
=== MacSlow is now known as MacSlow|lunch
=== chihchun is now known as chihchun_afk
=== Guest36153 is now known as vik
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
kenvandineElleo, can i get a review when you have time? https://code.launchpad.net/~ken-vandine/content-hub/lp1429899/+merge/25244813:14
Elleokenvandine: sure, is there any apps using this that I can test against? iirc it was being used in messaging app? is that actually landed or is it still in a branch somewhere?13:19
kenvandineElleo, not really :)13:19
Elleoheh13:19
kenvandinethe apps don't use it anyway, it was really for the sdk13:19
kenvandinethe sdk is going to filter that out13:20
kenvandineso apps don't even see it13:20
kenvandinebut it'll be used to get the uri signal13:20
Elleokenvandine: presumably without the sdk part it still should fix the statesaver issue though? since its now going through the uri dispatcher path13:20
Elleokenvandine: so if I write a quick test app that uses statesaver I should be able to reproduce issues without this branch and not see them with this branch?13:21
kenvandinenot really13:21
Elleooh :/13:21
kenvandineElleo, turns out that was working out of luck13:21
Elleoheh13:21
Elleoin that case I guess I'll just run it through the test plan and make sure it doesn't break any existing behaviour13:21
kenvandineyeah13:23
kenvandinejust make sure it doesn't cause regressions13:23
kenvandinewhich is all i did13:23
kenvandineit'll be up to the sdk guys to make sure their change fixes the problem13:23
Elleookay13:24
seb128kenvandine, so ignoring my review comments and approving settings changes anyway? ;-)13:24
kenvandineseb128, i know... but i'm not going to block on that13:25
kenvandineit's one line13:25
seb128kenvandine, yeah, jgdx could also easily revert that 1 line in the mr :p13:26
kenvandinemaybe he'll fix it before i actually land it :)13:26
kenvandinejgdx, ^^13:26
* jgdx runs around franticly13:26
kenvandineseb128, but i'd rather it be on the approved MP list so i can more easily keep track of what i want to land... but it'll need the FFe13:27
kenvandineand it's a UI change13:27
seb128kenvandine, right13:27
jgdxI'm not sure I know what mr you're talking about.13:28
kenvandinethe other vibrate branch13:28
kenvandineyou had a spurious change in it, just white space that seb128 had wanted fixed13:29
jgdxseb128, you want it back to WRONG? :p13:29
seb128jgdx, kenvandine, no big deal, but random spacing changes in unrelated mrs screw bzr blame and logs13:29
seb128jgdx, I would rather have that line associated with a "fix spacing" commit than with a "add other vibration"13:30
jgdxseb128, I can do that. kenvandine?13:30
seb128jgdx, because associating code with unrelated changes leads to confusing history logs13:30
kenvandineyeah, that'd be better13:30
kenvandinesame MP is fine, just separate commit13:30
seb128+113:30
kenvandinejgdx, you probably have a plugin for that don't you?13:30
seb128I usually uncommit; revert unwanted change; commit; change, commit; push --overwrite13:31
seb128if you overwrite make sure to do it on your branch though :p13:31
seb128not on trunk13:31
kenvandineoh sigh... facebook is dropping xmpp too?13:32
kenvandinewhat is the world coming to!13:32
kenvandineseb128, lol13:32
jgdxseb128, Haaaha13:32
seb128;-)13:32
jgdxseb128, I'll do another branch. Is that OK? So we get the blame right.13:35
seb128jgdx, wfm13:35
seb128jgdx, feel free to run your intender on all the sources maybe while you are at it13:35
jgdxseb128, indentations are untouched I believe, it's only trailing spaces. But sure, I remove trailing spaces for all files.13:36
seb128jgdx, oh, right, thinko ... thanks ;-)13:37
=== MacSlow|lunch is now known as MacSlow
jgdxseb128, err, it transforms tabs into spaces as well. Was that what you meant?13:41
seb128jgdx, no, I was just wondering if you had more "trailing spaces" changes to commit because we can as well batch them in one mr13:42
jgdxyap, coming13:42
seb128but I guess it's your editor doing it for you want you edit a file?13:42
jgdxseb128, yes13:55
=== dandrader|afk is now known as dandrader
Elleokenvandine: approved :)14:01
kenvandineElleo, thx14:01
=== chihchun_afk is now known as chihchun
=== alan_g|lunch is now known as alan_g
charleszsombi, nik90, I'd like to land something for https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1426519 and https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1431384 this week14:30
ubot5Ubuntu bug 1426519 in indicator-datetime (Ubuntu) "Need a mechanism for specifying what happens when an ical menuitem is clicked" [Medium,Confirmed]14:30
ubot5Ubuntu bug 1431384 in indicator-datetime (Ubuntu) "Need a mechanism for specifying an ical event's icon" [Medium,Confirmed]14:30
charleszsombi, nik90 mentioned that you might want to give some feedback on the former, relating to https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/142636114:30
ubot5Ubuntu bug 1426361 in ubuntu-ui-toolkit (Ubuntu) "Alarms API should expose a unique permanent alarm ID that clock app can use to open an alarm" [High,In progress]14:30
charlesdo you two have time to talk about it today?14:30
nik90charles: Yeah I have time to discuss this today14:32
nik90zsombi: If you can let us the time when you would be free, we can organize a hangout to discuss this quickly14:37
charlesnik90, zsombi, I'll be free from meetings & errands in ~90 minutes and will be open for this any time after that14:38
=== salem_ is now known as _salem
=== dandrader is now known as dandrader|lunch
=== salem_ is now known as _salem
=== dandrader is now known as dandrader|lunch
charleszsombi, ping17:05
=== _salem is now known as salem_
zsombicharles: nik90: sorry guys, I had some business today afternoon, I'm here for a short time17:36
charleszsombi, nik90, I'd like to land something for https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1426519 and https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1431384 this week17:36
ubot5Ubuntu bug 1426519 in indicator-datetime (Ubuntu) "Need a mechanism for specifying what happens when an ical menuitem is clicked" [Medium,Confirmed]17:36
ubot5Ubuntu bug 1431384 in indicator-datetime (Ubuntu) "Need a mechanism for specifying an ical event's icon" [Medium,Confirmed]17:36
charleszsombi, nik90 mentioned that we should talk to you about the former, relating to https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/142636117:36
ubot5Ubuntu bug 1426361 in ubuntu-ui-toolkit (Ubuntu) "Alarms API should expose a unique permanent alarm ID that clock app can use to open an alarm" [High,In progress]17:36
zsombicharles: yes, I started some code for that, but then I saw your post, so I'll assign an ID to some tag to the alarm which you can consider as ID17:37
zsombicharles: so far I thought I could use teh QtOrganizerItem ID, but that one you don't see17:37
zsombicharles: and that si not future proof enough - thinking of the new backend we wil have17:38
zsombis/si/is17:38
zsombicharles: but Alarm service will not launch the app17:38
charleszsombi, ?17:39
zsombicharles: nik90: we have the UriHandler, Clock app could use that to intercept the call from i-dt17:39
zsombicharles: so you can launch the app with upstart, right?17:39
charleszsombi, yeah it'll be launched through calling url_dispatch17:40
charleszsombi, that's why I'd prefer that datetime be fed a url rather than an ID, so that the same code will work for clock, and for calendar, and for reminders17:40
* nik90 reads the backlog17:41
charleseg, the app-id plus the alarm id as a parameter to the url17:42
charlesI'm sure tedg has some ideas how a url to launch clock-app via url_dispatch should look17:42
zsombicharles: uhm... I'm not sure we woudl need to specify any special URL...17:43
dobeyit should be calendar://<something> (the same thing evolution already uses)17:43
charlesdobey, not for alarms it wouldn't?17:44
dobeycharles: well you could make it alarm://<uuid> or whatever instead17:44
charlesyou'd need some mechanism to differentiate from alarms to calendar to reminder17:45
zsombicharles: what if there would be a separate tag specifying the app as well? you then build this URI and amen17:45
zsombi:)17:45
nik90zsombi: I think the url should be something like alarms://<app-id><alarm-id> and then that launches the necessary app as required17:45
dobeycharles: an event is an event. if you tap on the event it will go to the event in the calendar i presume, regardless of whether it has a reminder or not, no?17:46
nik90although I am not sure how urldispatcher would know if it is clock app, calendar app or any other 3rd party app to open17:46
dobeywell evolution is kind of lame in that regard it seems17:46
tedgNo, we don't have a way to parse the URL17:46
charlesdobey, language is confusing here because the words are so overloaded :-)17:46
dobeyonly goes to the calendar view, and not the event itself17:46
tedgIt needs to be in the protocol really.17:47
charlesdobey, if we're talking about a reminder that was created in the reminders app, tapping on it should launch that instead of the calendar app17:47
dobeycharles: i think if you want to treat (actual) alarms specially in this regard, then it should be alarm://foo, and events/dates/whatever should be calendar://foo to get to that event/date/whatever in the calendar app17:47
dobeycharles: i thought the reminders app was notes (aka evernote)?17:48
nik90tedg: then how does one handle multiple apps handing alarms created by them? we dont want i-dt launching the clock app regardless of which app created that alarm17:48
tedgExactly, each target should probably have it's own protocol.17:48
charlesdobey, if a URL is missing, we'd probably want to assume the default is calendar-app, e.g. events imported from google17:48
tedgnik90, One would be "clock:///" and one would be "myapp:///"17:48
dobeycharles: evernote (reminders-app) should probably be the https://evernote.com/whatever URL17:48
tedgdobey, Depends on the app author, some of basically taken the "whatever" and put their own protocol on it to simplify the routing.17:49
dobeycharles: that's how i'd do it for meetup/trello/etc… if i could provide backends for the calendar, or events to the indicator somehow17:49
nik90charles, zsombi: Then we assign one of the alarm tag url values as "app-id:///alarm-id"...this way i-dt can just pass that to the urldispatcher which would then open the correct app17:49
tedgnik90, Then it would open the app, but not the item in the app.17:50
dobeytedg: sure, but in general i think if it's an app that implements a native interface for a web service, it should handle the http(s) urls and parse them17:50
tedgdobey, App author's choice :-)17:50
charlesdobey, that would be mzanetti's call17:50
dobeyso that when i click a link in irc, it opens the app instead of the browser, or if i have event and not the app, it opens the browser17:50
nik90tedg: well we are also passing the alarm-id, which the app can then parse and take it to the correct page17:50
dobeytedg: yes, some make bad choices17:50
tedgnik90, You can't pass the alarm-id in an appid:/// URL17:50
charleshere, I just want to agree on the general structure so that it's something url_dispatch() can handle and that clock app et al can consume17:50
dobeytedg: we should document this as the recommended way i think :)17:51
nik90hmm17:51
charlestedg, so alarm://${alarm-id} ?17:53
tedg+117:53
tedgWait, you need three slashes17:53
dobeyno you don't17:53
tedgDepends on the format of the alarm ID.17:54
nik90charles: but that won't allow 3rd party apps to handle their alarms (which was the issue we started with)17:54
tedgYou WANT three slashes.17:54
tedgnik90, They'd use a different URL. "myapp:///$myid"17:54
dobeyyou don't NEED any slashes17:54
=== chihchun is now known as chihchun_afk
charlesnik90, I think you're right17:54
tedgdobey, Correct, but you really want 3 or zero here.17:54
charlestedg, what would be a url-dispatch friendly way of letting 3rd party apps work here?17:55
* tedg is confused.17:55
dobeytedg: i'm not sure why you're insisting on three.17:55
tedgYou want the app setting the alarm to provide it's own URL.17:55
tedgFor clock app, it can use alarm:///$(alarm id)17:55
tedgFor calendar, it can use "calendar:///$(event id)"17:56
charlested, how does the protocol get resolved to $app in the case of 3rd parties?17:56
tedgFor foo-app, it can use "foo:///$(foo id)"17:56
tedgcharles, Each app will have to register its protocol in its package.17:56
=== chihchun_afk is now known as chihchun
tedgcharles, That's done with a url-dispatcher hook.17:56
charlesok17:56
dobeyit should be calendar://<calendar_id>/<event_id>17:56
dobeyi think17:56
tedgdobey, I find it's easier to talk about that way. People don't think things are URLs without a few slashes for better or worse.17:57
tedgdobey, App author's choice :-)17:57
dobeytedg: the only reason file:// needs the third slash is because on sane file systems, / is the root of the path. we're not talking about filesystems here, so the third slash is not relevant/useful17:58
charlestedg, partially. I think in the specific case of calendar://, dobey is talking about making it play nice with evolution as well17:58
tedgdobey, The data after the second slash needs to conform with domain name naming requirements.17:58
dobeycharles: exactly, it should use the same thing we've been using for N years for this already :)17:59
tedgdobey, For instance, QtURL won't let you use capital letters there.17:59
dobeytedg: domain names can't start with a slash17:59
charlesdobey, +117:59
charlesevolution uses things like "calendar:///?startdate=%s&enddate=%s"17:59
tedgSure, but from datetime's perspective it's all opaque.18:00
tedgString from iCal entry passed to URL Dispatcher.18:00
dobeyi was trying to find exactly what evolution was already using, but my search-fu is failing me18:00
charlescursory ag'ing looks like startdate, enddate, source-uid, comp-uid, and comp-rid are what evolution can handle as url parameters18:00
charlestedg, ideally this will be opaque to datetime18:01
dobeyah so evolution just does everything as a parameter to /?18:01
charlestedg, but in the case of a missing url we'll want to fall back to calendar-app for reasons mentioned above, so datetime can't escape knowing calendar://18:02
dobeyi guess that's what we get with 17 year old software18:02
tedgcharles, Sure, makes sense, but I think we shouldn't admit it publicly :-)18:02
charlesdobey, that's how datetime launches evolution now, with "evolution \"calendar:///?startdate=%Y%m%dT%H%M%SZ\""18:02
charlestedg, :-)18:02
dobeycharles: yeah. that is a bit nasty/annoying though18:03
charlesdobey, what's the better way?18:03
charlesit would be great to shed the "evolution \"" substring but afaik url dispatch isn't working on desktop yet18:04
dobeycharles: well, i mean, when i click on an event in the indicator, it just opens the evolution calendar to that start time. it doesn't show me the event (which is what i wanted to see)18:04
dobeywell, xdg should be able to handle calendar:// fine i think18:04
charlesoh, i see your point. Yes it would be better to use the id18:04
zsombitedg: how can I register an app to be able to handle uris dispatched? - just a side Q18:04
dobeyah, but it doesn't18:05
dobeybut that's just the fault of whomever failed to register calendar:// as a uri scheme for xdg-open18:05
=== dandrader|lunch is now known as dandrader
charlesevolution, presumably18:05
tedgzsombi, https://developer.ubuntu.com/en/apps/platform/guides/url-dispatcher-guide/18:06
zsombitedg: dobey: I need in one test to launch a test app with a special URI, which disables the StateSaver18:06
zsombitedg: ah, brilliant!!18:06
dobeyzsombi: an autopilot test?18:07
zsombidobey: an AP test, yes, which should launch a simple test app, created otf18:07
tedgzsombi, Don't you want to restore the state and then sent the signal for a URI?18:08
tedgzsombi, The URI response could be state specific18:08
dobeyzsombi: if it only has to work on >= vivid, maybe look at using ubuntu-app-test to launch such an app instead18:08
zsombitedg: well, the issue is with teh ContentHub - we agreed with kenvandine that he will launch the app with content-hub:///true, so when taht comes, that should disable the state restoration18:09
tedgkenvandine, ? Did we drop the having a specific exec line?18:10
tedgSeems like it shouldn't be a URL really.18:10
zsombitedg: dobey: here's the bug, and the MRs linked https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/142989918:11
ubot5Ubuntu bug 1429899 in ubuntu-ui-toolkit (Ubuntu) "StateSaver should not restore when app launched from content-hub" [High,In progress]18:11
kenvandinetedg, not decided yet18:12
zsombitedg: there was no exec line, but kenvandine added this URI, we want to keep the UITK cleen from dependencies18:12
kenvandinebut the uri is just so the sdk can see it18:12
kenvandinetedg, did you see i got the trust session to work?18:12
=== om26er_ is now known as om26er|food
tedgkenvandine, It seems like it'd be better to pass as a parameter than trying to parse a URL.18:13
tedgkenvandine, I did not, where can I see it?18:13
zsombitedg: by parameter you mean argument?18:14
zsombi+t18:14
tedgYes, foo-app --no-restore-state18:14
=== alan_g is now known as alan_g|EOD
kenvandinetedg, nothing you can see yet :018:15
kenvandinei had mentioned it to you on irc the other day18:15
zsombikenvandine: ^^ what do you think of that?18:15
tedgYou'll need to be able to implement the same thing on other toolkits. And passing I URL is silly.18:15
kenvandinethat's fine with me18:15
tedga18:15
tedgkenvandine, Spring break :-)18:15
tedgkenvandine, Super exciting though.18:15
zsombikenvandine: ok, let's do it so. We have components for apps to parse the Arguments, so disabling can also be done in the app18:16
zsombikenvandine: however I can also handle that in the StateSaver backend, so it'll be global disabled if that si specified18:17
tedgzsombi, Seems like something we could do for app developers, no? Seems like a sane default.18:17
tedgAh, okay.18:17
* tedg was hasty18:17
zsombi:)18:17
kenvandinezsombi, so just change it to --no-restore-state ?18:19
zsombikenvandine: yep, just commenting on the bug18:19
=== om26er|food is now known as om26er
=== dandrader is now known as dandrader|afk
kenvandinezsombi, so i'm still just going to be passing that arg as an uri to ubuntu-app-launch, but later when/if we change to have a separate exec line we'll do it there18:33
kenvandinei think we'll only have separate exec lines for imports18:33
kenvandineso this way we can still pass it18:33
kenvandineand you want to get the arg change when we focus the app if it was already running18:34
tedgkenvandine, What about exporters that don't have applications?18:34
tedgi.e. my package of scope, importer, exporter18:34
tedgRemember, applications are dead :-)18:34
kenvandinethey don't need a separate exec line18:35
tedgWhere do I put any exec line?18:35
kenvandinethey'll just get the signal and arg passed18:35
tedgi.e. I don't have a desktop file.18:35
kenvandinetrue18:35
kenvandinewe'll need to figure that out :)18:36
kenvandinebut hopefully we'll still be using UAL for that, so that'll be your problem18:36
kenvandine:)18:36
charlesheh18:36
kenvandinei only need to figure out the exec line for imports18:36
kenvandinetedg, so scopes will already be running anyway, so we just need to make it focus18:37
kenvandineand since they are running they'll get the signal18:37
tedgkenvandine, but in both cases you could start from a running app. For example in messaging attaching a picture, or gallery exporting a picture. You need to overlay in both directions, so you can't use UAL.18:38
tedgkenvandine, Scopes are almost never running.18:38
kenvandinethey will be when they get focused :)18:38
tedgkenvandine, Default idle timeout is 10 seconds.18:38
tedgNo, they get refreshed and killed.18:39
kenvandineso we can't use UAL to start the scope?18:39
kenvandineso you're saying the scope will provide a real app too right?18:39
kenvandinethat doesn't die after refreshing18:39
tedgNo, you can pass a URL, scope://scopeid18:39
tedgkenvandine, No, why would it?18:39
kenvandineto handle the content request18:39
tedgI'm specifically thinking of pinboard.in. I'd have a scope that shows my book marks. And then I need a way to pull and push them via content hub.18:40
tedgI don't need an app that lists them.18:40
tedgThe scope does that.18:40
kenvandineso saving one and getting one18:40
kenvandinebut you would need to pick one right?18:40
kenvandineit would need to keep running until the user picks one?18:40
tedgSure, so those would be QML "apps" but they'd not have an app icon. Only brought up when someone asks for a URL.18:41
tedgYes, by content hub in the trusted session.18:41
kenvandineyeah, so they'll have a desktop file :)18:41
kenvandinejust hidden18:41
tedgWe don't hide desktop files18:41
kenvandinewhy not?18:41
kenvandineand yes we do...18:41
tedgBecause it's broken by design.18:41
kenvandinesignon-ui does18:41
tedgIt's not using UAL.18:41
kenvandineor at least it use to18:41
kenvandinetrue18:42
kenvandinebut it won't show up as an app in the dash18:42
kenvandineapps scope18:42
tedgSomething needs to be an app or not. Apps being "hidden" means they end up in a grey area of bad design.18:42
kenvandinewell a way to figure out the exec line18:42
kenvandinewe need some way for apps to define APP_EXEC18:42
kenvandinewhy not use the same format we use elsewhere18:43
tedgI don't care what the format is, I care that it doesn't have a desktop hook.18:43
tedgI'm happy for the file format to be a desktop file.18:43
kenvandinesure18:43
kenvandineas long as UAL can handle the smarts for me :)18:44
kenvandinewe don't want everyone to have to write code for figuring that out18:44
tedgNo, but it'll probably be your untrusted helper exec helper, not UAL specifically.18:44
tedgIt's content-hub specific18:45
kenvandinewe are only going to be using the trusted session for imports18:45
kenvandinebut i guess i could have my own helper for the others too18:45
kenvandinethe "open with" and "share with" implies you probably want to stay in the other app when complete18:45
kenvandineopen a document, then read it instead of switching back18:46
kenvandineso not tied together18:46
kenvandineand those should be the full versions of the apps, not a custom UI for handling it18:46
=== dandrader|afk is now known as dandrader
tedgIt seems to me that the exporter should decide if it's the full app or not. Not you :-)18:47
kenvandinesure18:47
tedgThey could be optimized for the task.18:47
kenvandinethey could already do that though18:47
kenvandinecreate a separate app in the click package18:47
kenvandinethat does it18:47
kenvandineit'll be the one that gets registered18:47
tedgSo in that case they use the same Exec line. But having the choice is kinda critical.18:47
dobeyi guess we don't support actions in the .desktop files yet?18:52
kenvandinethat's what i had originally wanted18:54
kenvandinebut not sure that really helps with the concern tedg has18:55
dobeywell it would be much better than having multiple "apps" in a package18:55
kenvandineindeed18:55
kenvandinebut if one of them is a scope and one is a qml app18:55
tedgI do want to support actions, but I think those'll end up on the launcher. So you don't want "Import" on the launcher :-)18:55
kenvandinethe scope doesn't have a desktop file18:55
kenvandineyeah18:56
dobeyscopes do have .desktop files18:56
tedgThey have ini files, but not desktop ones.18:56
dobeyno, they have .desktop files too18:56
dobeythey get generated though18:56
tedgThe important thing is that they don't have a desktop hook.18:56
tedgAh, yes. The OA hack.18:57
dobeybut scopes don't have any UI either18:57
kenvandinetedg, aren't you just happy that i love UAL so much that i don't want to give it up?18:57
tedgBut I could have a scope that would have content hub exporter/importers that had UI.18:57
dobeyand having an app that only exists to export data to content-hub would be awful18:58
kenvandinewell, i want to rely on UAL to make it easier for me 4ever :)18:58
tedgkenvandine, UAL is so good I'm not allowed to bring it within 500 feet of elementary schools.18:58
kenvandinedobey, yeah... that's what i think18:58
kenvandinetedg, lol18:58
kenvandinetedg, we need to discuss this at a sprint so we can properly duke it out :)18:59
tedgkenvandine, Heh, rumor has it we're going to do an API thing at the end of April.19:00
kenvandinetedg, similar rumor for my team19:00
tedgkenvandine, Oh, oh, maybe we can get a better location than London then!19:00
kenvandinebrazil?19:01
kenvandinethat's my vote :)19:01
tedgSure, works for me. !London is my request.19:01
kenvandineso my trust session branch works except it doesn't kill the participant when it's done19:02
tedgThough Brazil's policy of treating visitors as their citizens are treated when visiting their country doesn't work out for us Americans.19:02
kenvandinesince i use UAL to stop it, but i need to stop it by instanceId instead of app_id19:03
kenvandineso i need to add tracking for the instanceId19:03
tedgAh, that's pretty close.19:03
kenvandinei should get to that sometime this week19:03
tedgstd::map solved ;-)19:03
kenvandinefor the current sprint iteration, it's a spike for me19:03
kenvandineso probably next one i'll polish it up and make it real :)19:04
kenvandinetedg, i just want to keep this simple for app developers, the 90% case19:08
kenvandinewhich i think is providing just one app that provides the handlers too19:09
tedgkenvandine, Personally, I think that's harder until you get to a certain complexity of app.19:10
tedgkenvandine, You have to have the context switching internally and handle the cases.19:10
kenvandinei disagree19:10
tedgkenvandine, Vs. having a single QML file for each case.19:10
kenvandineit's really not that hard, we do it in a bunch of apps already19:10
kenvandineit's not going to be a single QML file though19:11
kenvandineusually19:11
tedgI've read the docs three times and haven't figured it out :-)19:11
kenvandineit's too easy for tedg19:11
tedgPerhaps, could you update the docs to cover the register usage and memory management aspects?19:11
tedg:-)19:11
kenvandinehuh19:12
kenvandineyou lost me already :)19:12
tedgI haven't seen an app using content hub except those by QML experts.19:12
kenvandinenot true :)19:12
kenvandinehave you seen the doodle app?19:12
kenvandinenot saying he isn't a QML expert19:13
tedgNope, me searches.19:13
kenvandinelots of apps have been starting to use it19:13
kenvandineit provides a picker19:13
kenvandineso you can go into say telegram, and click the image picker icon19:13
kenvandinechoose doodle19:13
kenvandinedraw something and it'll post it :)19:13
tedgAnd you open it and it does nothing :-)19:14
tedgUhg, MMS still doesn't work when Wifi is connected :-(19:17
kenvandinetedg, check g+19:21
tedgkenvandine, I tried to reply, but Google... "Sorry, we are temporarily unable to post your comment. Please try again in a few minutes."19:23
kenvandinehaha19:24
kenvandineanyway, that uses doodle as the picker with content-hub19:24
kenvandinesame app, just the UI gets tweaked a little in pick mode19:24
kenvandineit would suck to have 2 versions that handle that, since all the functionality is the same, just slightly different UI19:25
tedgSure, and you wouldn't *have* to.19:26
tedgI think you could do something like fall back to the desktop exec line if one wasn't specified.19:26
kenvandineyeah, well i think that's how it'll usually be used19:26
kenvandinebut we could support other use cases19:26
kenvandinei just want to optimize for the simplest case19:27
kenvandineto keep it easy for apps to use, or as easy as possible19:27
tedgMake easy things easy, but make everything possible.19:27
tedg:-)19:27
* dobey wonders how people actually use online accounts to do anything in qml19:29
AskUbuntu_Dynamic object creation im QML | http://askubuntu.com/q/59761319:54
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
kenvandinejgdx, this libqofono branch looks interesting20:49
kenvandinehttps://github.com/nemomobile/libqofono/pull/7420:49
kenvandinejgdx, it makes me believe we should be able to hot swap SIMs?20:49
ahayzenHey, i'm trying to flash from vivid back to rtm, but when I run u-d-f i get "Cannot push /home/andy/.cache/ubuntuimages/gpg/image-signing.tar.xz.asc to device: free space on /cache/recovery is 542M" how can I make more space?20:50
ahayzen...i cleared /cache from recovery all seems good now ignore me :)20:58
=== _salem is now known as salem_
=== chihchun is now known as chihchun_afk
=== chihchunl is now known as chihchun
cwayneerm, how come i dont have a syslog in latest vivid-proposed?22:05
=== chihchun is now known as chihchun_afk
OerHeksThis guy found no bugs in ubuntu-phone on nexus https://www.linkedin.com/pulse/ubuntu-touch-privacy-default-alexander-hanff23:15
AskUbuntu_UbuntuListView ListItem.Expandable example? | http://askubuntu.com/q/59767223:26
randy1mariogrip, I ran into issues trying to rebuild my kernel.23:56
mariogriprandy1 any errors?23:56
randy1upon running the check-config script (https://github.com/janimo/phablet-porting-scripts) (with the -w flag). everything is fine.23:57
randy1but when I go to run make, or make oldconfig, the config file gets completely re-written23:57
randy1i can't for the life of me figure out how to keep the changes.23:57
mariogripoh, what file are you editing?23:58
randy1i tried running the script on arch/arm/configs/cyanogenmod_tuna_defconfig, which is the config I'd use to build android.23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!