**** BEGIN LOGGING AT Mon Sep 26 02:59:58 2016 Sep 26 06:02:54 morning Sep 26 06:36:55 Morning! Sep 26 07:04:42 morning Sep 26 07:33:01 Tofe: Got a question for the multiple notifications within a single app. We can have 1 person sending multiple messages (the notification should be updated with the latest message body and there should be a sequence after the senders name i.e. "Tofe (5)" Sep 26 07:33:02 indicating that you sent me 5 messages. I've got that working by basically applying some logics in LNC Sep 26 07:34:33 Then there's also the case when there's multiple senders and the icon should change + sender + body. I guess I can add a parameter there to the API call for a different icon "i.e. multiIcon or something". Sep 26 07:35:58 Just the tricky part will be when then the first sender sends a message again, because it's closed in the notificationManager since we replaced it by the 2nd sender. Not sure what would be the best solution here. Keep a temporary array in LNC or update th Sep 26 07:35:58 e notification handling code somehow? Sep 26 07:36:16 I think the array in LNC would suffice for now, but would like to get your input. Sep 26 09:11:31 But that solution might give some issues when you'd have rotating dashboard... I.e. where it would cycle between different emails for example. In that case we'd need to add a flag I guess to the notifications and only delete them properly when the app is Sep 26 09:11:31 launched... Sep 26 09:23:17 Herrie|Pre3: do you know how it was done in legacy ? was it up to the app to update the notification and its icon? Sep 26 09:23:52 Tofe: I know 3.00 Sep 26 09:24:12 We can't really put an app logic (multiple sms senders) in LNC (multiIcon), this will be a neverending issue Sep 26 09:25:17 3.0.5 had it by default and the email app and others had a "dashboard manager" themselves it seems. I'll see if I can dig up some sample code. For 2.x there was a patch to cycle the unread emails. Sep 26 09:25:58 Where it would show another unread email every 5 seconds. Sep 26 09:27:13 Tofe: We should be OK for the legacy apps since they all have their handling. The only issue is our new apps, specifically only Messaging & Update app now use the notifications API and phone will use it in the future when I get some time. Sep 26 09:30:02 I didn't follow closely what you did on that subject, but can't we propose an API to return all the notifications from a specific app? That way it's up to the app to know if the icon should change, and it can even loop on its notifications to know what to do Sep 26 09:35:51 Tofe: Pre 3 decided to reboot LOL :P Sep 26 09:37:16 Currently chatthreader does a call to org.webosports.notifications/create which would create multiple dashboards while we should have 1. I added some logics in LNC to deal with this. Which means we use replacesId which would close the previous notificatio Sep 26 09:37:16 n. Sep 26 09:37:36 And that's where the issue will eventually pop up when you have conversations with multiple people :P Sep 26 09:37:46 I didn't push this yet, since it's WIP Sep 26 09:42:40 I think replacesId should simply update the previous notification with the new data, and chatthreader should call something like org.webosports.notifications/list { owner: "chatthreader" } and manage himself the update of the notification, if it wants it that way Sep 26 09:44:09 Tofe: Let me see how this is done in legacy.... Sep 26 09:44:28 I.e. How email does it. Could be it keeps some flag in the db kind that we could use Sep 26 09:46:12 For a simple management, I don't think the app needs to remember the notifications it creates Sep 26 09:46:55 Tofe: No, this is for the more complicated cases when you have multiple conversations at the same time :P Sep 26 09:47:07 Which I don't have a lot, but I know others do :P Sep 26 09:47:51 Herrie|Pre3|2: even so, I think that the app can solve it just by comparing the current list of notifications and the notification it'd like to send Sep 26 09:48:18 ah, but mmh ok, I see Sep 26 09:48:55 Should we provide a "user field" for the notification, that the apps can use as they wish? Sep 26 09:49:51 With specifying the replacesId it closes the notification. I was trying to solve this in the notificationManager which seems to be the wrong place to do this. Sep 26 09:50:10 We should do this from chatthreader and using the db kinds instead it seems based on legacy code. Sep 26 11:17:43 * DougReeder checks in Sep 26 12:18:45 DougReeder: Hi Sep 26 13:33:51 i think i just bought my first house o.o Sep 26 13:34:27 HaDAk: In Sweden :P ? Sep 26 13:34:33 Or still US? Sep 26 13:34:33 i wish :( Sep 26 13:34:39 Congrats anyway :) Sep 26 13:34:40 until i can get custody, i'm stuck here Sep 26 13:34:52 but i figure...might as well build equity. i'm going to need money to move to sweden. Sep 26 13:40:06 HaDAk: Yeah rent won't bring you anything in long term... Just pissing away money :P Sep 26 13:57:58 right Sep 26 13:58:13 unfortunately, my lease and mortgage payments are going to overlap for a few months Sep 26 13:58:18 i wonder how that'll work out for me. Sep 26 14:00:06 HaDAk: Yeah that can be tricky... Here you can usually negotiate a transfer date to avoid those kind of things, not sure how that's in US. I.e. you sign today but agree the transfer is 2nd of Jan for example. Your mortgage payment would only start then. Sep 26 14:08:41 i did the best i could there. got it till jan Sep 26 14:08:44 but my lease is up in march Sep 26 14:53:40 Looks like we're ok http://xkcd.com/1738/ Sep 26 14:56:11 Tofe: LOL Sep 26 15:17:34 Tofe, Perfect! Sep 26 15:51:46 * DougReederPhone checks in Sep 26 16:18:29 i need to carve out time to get this background thing sorted. Sep 26 16:18:31 i want it. Sep 26 16:18:47 i've had the image on my phone as my background since i made it, and i still love it. Sep 26 16:49:02 HaDAk: Yeah we'd need a different crop somehow I guess Sep 26 16:58:21 there was some discussion about adjusting the background picker to let you choose the crop Sep 26 16:58:23 i think Sep 26 17:04:53 HaDAk: It's all about resources LOL Sep 26 17:08:15 i know :\ Sep 26 17:08:33 but part of the problem is this: Sep 26 17:08:47 if i cut one for the N4, it won't be the same on the N5 or the touchpad or the emulator Sep 26 17:08:58 so the *right* way to do it is to fix the background positioning thing like i said before Sep 26 17:09:31 HaDAk: Yeah.... Just no clue how to do that yet Sep 26 17:20:55 you mean, things like this ? http://doc.qt.io/qt-5/qml-qtquick-image.html#horizontalAlignment-prop Sep 26 17:21:31 combined to the fillMode, I think we get quite all the possible modes Sep 26 17:25:49 Tofe: Yeah thing is our image picker is in Enyo and we don't have possibility to crop currently I think ;) Sep 26 17:26:12 ah, yes, right Sep 26 17:30:58 Tofe: It seems our systemd bits are all over the place a bit. I.e. we have https://github.com/webOS-ports/webos-systemd-services and then also some in the individual components recipes. I'd prefer to have them in a single place. What are your thoughts? Sep 26 17:40:02 On my end, I would prefer having the service file with the corresponding app/module/recipe Sep 26 17:41:27 systemd is modular by nature; if we add a recipe, a corresponding service file may come with it. Sep 26 17:47:29 Just that it's inconsistent right now bothers me a bit. If they would be in the same component we could more easily put them side-by-side and tweak them, but then again that's not going to be needed that often. Sep 26 17:47:51 I'd just like some consistent way of doing it mainly. Sep 26 17:48:17 I can anyway pull it from an image so I have them in a single folder. Sep 26 17:48:26 If needed ;-) Sep 26 18:08:59 Tofe: Seems our build doesn't like the latest changes from openembedded-core: I'm looking into that now. https://github.com/webOS-ports/webos-ports-setup/commit/9b748079797429464fcbf6c2dc610936379d69cf Sep 26 18:09:21 Seems both systemd and gcc might be causing issues. Sep 26 18:09:40 I fixed the PulseAudio one already. Well it builds, nothing to test yet since the others fail... Sep 26 18:42:31 Herrie: the others don't even build ? Sep 26 18:51:23 Tofe: THey changed something in systemd Sep 26 18:51:52 This one seems to be the culprit: https://github.com/openembedded/openembedded-core/commit/9e040927957dd06b5d1a7974a355e21a8e36ade4 Sep 26 18:56:21 ah, mmh, maybe Sep 26 18:56:32 I don't fully understand what they did here Sep 26 19:07:01 Tofe: Me neither tbh Sep 26 19:07:03 This is the log: https://bpaste.net/show/e9eb3c9aad02 Sep 26 19:10:53 Seems it tries to do a useradd with empty params which fails? Sep 26 19:14:06 yes, I don't see any login name in the params Sep 26 19:14:45 Just there's quite some bits that do the useradd, so tracking it down isn't that easy Sep 26 19:14:47 but maybe it's just the log, let me have a look again at the commit Sep 26 19:18:03 It does seem to do the same as before, just not exactly at the same moment Sep 26 19:19:26 Herrie: do you have the definition of the useradd_sysroot function ? Sep 26 19:20:25 (maybe with a bitbake -e ?) Sep 26 19:20:48 Tofe: https://github.com/openembedded/openembedded-core/blob/krogoth/meta/classes/useradd.bbclass#L102 ? Sep 26 19:23:54 Pfeww, it tickles Sep 26 19:25:38 I can try the 230 from master maybe Sep 26 19:25:43 See if that would work Sep 26 19:25:52 maybe Sep 26 19:26:07 I'm a bit lost :p Sep 26 19:28:33 It's worth a try Sep 26 19:28:38 Though it migth give other issues Sep 26 19:28:44 Worst case I can always rever teh change Sep 26 19:30:28 Just it fixed some CVE's so those are good to tackle, so I thought to give it a try Sep 26 19:30:40 Usually these updates don't cause issues :s Sep 26 19:37:13 230 has the same issue Sep 26 19:38:25 I think we might need to add ROOTFS_POSTPROCESS_COMMAND += "systemd_create_users" to our bbappend trying that now Sep 26 19:56:04 Nope that doesn't solve it... Let me try the -e Sep 26 19:57:25 Tofe: https://bpaste.net/show/f9abbaf0cac1 Sep 26 20:16:46 Herrie: looking at line 12468, there seems to be some missing bits for the 2nd argument Sep 26 20:16:54 but it's hard to know why... Sep 26 20:20:54 Tofe: Yeah I'll ping JaMa when he's around Sep 26 20:21:03 He might have some ideas Sep 26 20:22:34 Tofe: We have the following USERADD bits: https://github.com/shr-distribution/meta-smartphone/blob/krogoth/meta-android/recipes-core/android-system/android-system_1.0.bb#L35 Sep 26 20:23:18 And this one it seems: https://github.com/webOS-ports/meta-webos-ports/blob/krogoth/meta-luneos/recipes-support/user-creation/xuser-account_0.1.bbappend Sep 26 20:27:40 doesn't look like it has been collected by the bitbake command; but it could be I just don't understand how this thing works. **** ENDING LOGGING AT Tue Sep 27 02:59:59 2016