**** BEGIN LOGGING AT Thu Feb 10 02:59:56 2022 Feb 10 07:23:56 Morning! Feb 10 07:25:17 Morning! Feb 10 08:02:37 Tofe: Did you build succeed now? Feb 10 08:05:10 Well it didn't finished before I went to bed :p Feb 10 08:05:20 So I'll finish it today Feb 10 10:41:08 Herrie: it's still building webruntime, but no issue so far Feb 10 10:46:35 Tofe: Well it's build time should be similar to QtWebEngine I guess Feb 10 12:52:25 morning Feb 10 13:40:17 morning! Feb 10 15:14:39 morning Feb 10 15:15:17 https://www.raspberrypi.com/news/network-install-beta-test-your-help-required/ is really nice for some use-cases Feb 10 15:18:01 pity that LGE doesn't even try (AFAIK) to be on the list of supported OSes here (nor our LuneOS rpi images in state good enough for this) Feb 10 15:40:46 my webruntime build is still going on........ ( 95%) Feb 10 17:33:59 Herrie: flashing now Feb 10 17:47:27 Tofe: Nice Feb 10 17:50:04 Tofe: Seems some of the luna-next issues we had before with WAM you also addressed with Waydroid so that saved me some patches Feb 10 17:50:34 WebAppMgr[2223]: [] [pmlog] WAM WEBPROCESSENV_FILE_READ_FAIL {"PATH":"/etc/wam/com.webos.wam.json"} JSON parsing failed <-- is that expected ?... Feb 10 17:50:52 Tofe: Not sure Feb 10 17:51:03 It could be some settings file but I couldn't find it Feb 10 17:51:06 let me see if I find it in the wam repo Feb 10 17:51:11 Could be it's not shipped Feb 10 17:51:14 ok, you already checked Feb 10 17:51:16 For OSE Feb 10 17:51:22 Well not in detail Feb 10 17:51:27 Quickly I recall Feb 10 17:51:40 I'll check also where it's used in the source Feb 10 17:54:44 looks like it can be used to define a per-app trust level and also specify if we want one process per app Feb 10 17:56:24 https://jira.automotivelinux.org/browse/SPEC-2838?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel they also have the issue there, so I guess we're fine for now Feb 10 17:57:45 Yeah maybe something for advanced ACG Feb 10 17:58:13 Doesn't seem critical for now Feb 10 17:58:31 Issue mainly seems to be missing id in the LS2 call from what I can tell Feb 10 17:58:42 If we add that we might be able to get a bit further Feb 10 17:59:42 possibly, I'm still not sure about that, because it works well with our WAM Feb 10 18:01:00 I checked ACG and didn't spot anything obvious Feb 10 18:01:24 You might want to grep the LS2 for org.webosports.webappmgr Feb 10 18:01:31 I didn't do that yet Feb 10 18:01:42 And see if the same is there for WAM Feb 10 18:07:01 luna-send -m "" -n 1 palm://com.palm.webappmanager/launchApp '{"appDesc" : "", "parameters": "", "processId": 1, "launchingAppId": "org.webosports.app.photos", "launchingProcId": ""}' Feb 10 18:07:02 {"returnValue":false,"errorCode":-1,"errorText":"Denied method call \"launchApp\" for category \"/\""} Feb 10 18:07:07 so it's the same error here Feb 10 18:29:44 with the service name the error is gone, but it doesn't do anything Feb 10 18:39:31 Something I'm not clear with: do we want to keep our com.palm.applicationManager, or do we switch to com.webos ? Feb 10 18:40:06 because WAM is all about com.webos Feb 10 18:42:25 also there is /usr/sbin/bootd, acting as com.webos.bootManager (i.e. a bit duplicate of our org.webosports.bootmgr ?), which fails to communicate with com.palm.webappmanager Feb 10 18:57:51 { "errorCode": 1000, "errorText": "Miss launch parameter(s)", "returnValue": false } <-- I missed that one Feb 10 19:10:28 We're missing "instanceId" in the launchApp parameters Feb 10 19:19:06 ah, with an instanceId I get app cards ! Feb 10 19:30:08 Herrie: can I just push my little appmanager fix on your branch ? Feb 10 19:34:01 Tofe: Sure push it there please Feb 10 19:34:18 Yeah the bootd and our bootmgr are a bit duplicate Feb 10 19:34:28 We do some stuff in ours that bootd doesn't do Feb 10 19:34:48 Shouldn't be too hard to unify, just didn't get to it and C++ Feb 10 19:35:07 done Feb 10 19:35:23 Well I guess we should see what we want to do with applicationManager Feb 10 19:35:59 I think there are calls to com.palm in legacy apps Feb 10 19:36:28 codepoet: ^ Thoughts on this? Feb 10 19:36:58 for application manager? yes there are Feb 10 19:37:09 We should in general determine a strategy with luna-sysmgr and sam from OSE Feb 10 19:37:24 SAM provides a lot less compared to luna-sysmgr Feb 10 19:37:40 http://sdk.webosarchive.com/docs/docs.html#reference/services/application-manager.html Feb 10 19:38:32 if we can support open and launch, those were the only two public methods Feb 10 19:38:45 there's a bunch of other fun ones, but most enyo apps wouldn't have used Feb 10 19:38:55 So we might want to strip down luna-sysmgr/luna-appmanager more and take from SAM what's in SAM and keep luna-sysmgr for functionality not in SAM? Feb 10 19:38:56 https://kylemaas.github.io/luna-sysmgr/com_palm_application_manager.htm Feb 10 19:40:27 could work. i've played with addLaunchPoint listHandler* but I'd expect those things to break moving to a new platform. I'm not sure what all SAM offers, but as long as launch and open work the old way, we're in good shape for legacy support Feb 10 19:46:05 These are the API's on SAM side: https://github.com/webosose/sam/blob/master/files/sysbus/com.webos.sam.api.json Feb 10 19:53:53 Tofe: Cards launch but how they behave for the rest? Feb 10 19:54:02 Not at home still so will try later Feb 10 19:57:35 looks like open is missing Feb 10 19:58:51 Well it might be in the code itself just not in the API file Feb 10 19:58:58 Need to check that later Feb 10 19:59:16 Anyway we cannot completely dump luna-sysmgr due to other missing bits in SAM Feb 10 20:24:37 HerrieTP_: they behave ok-ish: justtype isn't integrated, cardless apps still show a card, and for usual apps we have a DPI issue Feb 10 21:49:52 Tofe: Well that isn't a bad start I guess Feb 10 21:50:01 We might need to tweak WAM a bit Feb 10 21:50:33 I guess the concept of cardless might not exist anymore Feb 10 21:50:42 DPI was expected I guess Feb 10 22:02:09 HerrieTP: yes, it's not that bad :) Feb 10 22:21:32 Tofe: Finally home and building luna-appmanager Feb 10 22:24:47 OK getting similar here on qemux86 Feb 10 22:24:56 Also font needs hacking ;) Feb 10 22:25:09 But these were things we were doing on QtWebEngine too, so not too surprising Feb 10 22:30:20 Dashboards, banners don't work or incorrectly. App Menu doesn't work Feb 10 22:30:27 Seems there's a few things to do there ;) Feb 10 22:36:44 Seeing how many things we have patched in luna-webappmanager over the years, it's not surprising really Feb 10 23:37:58 codepoet: FWIW: seems there's a schema for "open" in SAM: https://github.com/webosose/sam/blob/af986e600cba012d9ad67a50222174725fb242c3/files/schema/applicationManager.open.schema Feb 10 23:44:18 cool Feb 10 23:45:19 But for the rest I cannot find much references Feb 10 23:45:45 I would need to see what it actually registers on the LS2 bus. Need to try with OSE image sometime I guess Feb 10 23:47:23 I got an old OSE image here I guess I could try with Feb 10 23:48:56 Nope not listed there Feb 10 23:49:22 https://bpa.st/GYWA Feb 10 23:49:40 This is june 2021 OSE image it seems Feb 10 23:50:49 Don't do open and launch the same in general? Feb 10 23:51:15 Ah no they don't Feb 10 23:53:45 Tofe: For font I guess we'd need to tweak this: https://github.com/webosose/wam/blob/31924dad273542ba6a59bbd8a0258b08676fdd6e/src/core/web_page_base.cc#L442 **** ENDING LOGGING AT Fri Feb 11 02:59:56 2022