**** BEGIN LOGGING AT Sun Apr 10 02:59:56 2022 Apr 10 09:44:23 Morning! Apr 10 09:44:51 Morning! Apr 10 09:48:30 Herrie: I have the strange feeling that some essential env variables are not set by SAM or by qml-runner, like XDG_RUNTIME_DIR Apr 10 09:48:49 or QT_QPA_PLATFORM Apr 10 09:55:48 or even QT_WAYLAND_SHELL_INTEGRATION Apr 10 09:58:12 for the latter it's fine though: https://github.com/webosose/qtwayland-webos/blob/58fdf0de28f40719fa54a8e5ae7f3d9fb578b83d/src/plugins/platforms/webos-wayland-egl/webosintegration.cpp#L73= here we see that if the platform is correct (i.e. loads the libwebos-wayland-egl.so platform) then it's the default shell Apr 10 09:59:06 But I could make qml-runner work with the "normal" wayland platform too Apr 10 10:00:24 only from the command line though. So right now my goal is to have qml-runner running when apps through LuneOS launcher, and then see what's next from there Apr 10 10:22:33 yes, XDG_RUNTIME_DIR was the missing thing Apr 10 11:47:43 Tofe: Didn't we have same for WAM? Apr 10 11:48:00 I recall I had similar with Maliit from OSE too Apr 10 11:48:19 Shouldn't we be able to set them once globally? Apr 10 11:57:44 Ah ! I found the bug in qtwayland-webos Apr 10 11:58:01 we can now use the webos-wayland platform, as it should be Apr 10 11:58:36 it was a nasty C++ issue, where the wayland display was initialized too soon, before the WebOSIntegration virtual table was set up Apr 10 11:59:14 (this is why only minimal stuff should be done in C++ constructors) Apr 10 12:00:05 now I can launch the qml example, and our phone app. Last remaining point, handle the relaunch correctly, because it's not done the same way in luna-qml-launcher and in qml-runner Apr 10 12:15:23 Herrie: https://github.com/webOS-ports/meta-webos-ports/pull/505 here it is Apr 10 14:48:27 Tofe: OK, the arrow window is gone wiht this too? Apr 10 14:48:30 Or still there? Apr 10 15:36:31 now it's a black window ;) Apr 10 16:20:49 Tofe: Well I guess that's progress and just needs some filtering like the other noWindow apps? Maybe it's the relaunch somehow? Apr 10 16:27:58 the relaunch part is quite easy, no worries about that Apr 10 16:38:06 https://github.com/webOS-ports/org.webosports.app.phone/pull/54 there is also an old utility commit, but the last commit shows what kind of change we'll have to deal with Apr 10 16:39:13 there is maybe one last thing to do: have a proper client window size for QML apps Apr 10 16:39:47 In WebOS OSE they always are fullscreen, so they can just use the size of the screen, but we don't have that luxury Apr 10 17:09:51 Tofe: Those changes don't look too shocking indeed Apr 10 17:10:07 App Menu also didn't work before, did you check those already? Apr 10 17:20:13 Because that was special relaunch somehow, no? Apr 10 18:10:41 HerrieTP: I didn't check it, no; but I don't think we have it in our QML apps? Apr 10 18:11:05 Not in QML I guess, maybe Phone app we had? Apr 10 18:11:06 Not sure Apr 10 18:11:07 doesn't work in Memos, at least Apr 10 18:12:08 OK Apr 10 18:12:14 Well the Enyo 1 apps have them for sure Apr 10 18:12:21 Calendar, Email, Clock I think Apr 10 18:14:44 I don't see any menu appearing in Mail or Calendar Apr 10 18:14:57 so we're not there yet **** ENDING LOGGING AT Mon Apr 11 02:59:57 2022