**** BEGIN LOGGING AT Tue Nov 03 02:59:58 2015 Nov 03 05:20:09 In the Nov 2 Testing Touchpad image, Preware2 isn’t usable in landscape mode Nov 03 05:31:06 It’s good to see the Location Service dialog when an HTML5 geolocation call is made (even if it doesn’t work yet). The Deny button should be a neutral color, not red, though. Red is reserved for irreversible/potentially destructive actions: https://web.archive.org/web/20141022043308/https://developer.palm.com/content/resources/develop/creating_usable_ui_buttons_and_interactive_dialogs.html Nov 03 05:32:44 And IDB is preserved for apps; yay! Nov 03 05:36:27 Thanks for checking on that, Herrie! Nov 03 05:48:27 File inputs work, too! They never did under webOS. Nov 03 06:47:18 Herrie, Andolamin: we call stageReady from webappmanager after a 2s timeout anyway Nov 03 06:47:40 so that can explain the soonish disappearance of the splash Nov 03 06:47:59 and that's why Photos shows up at all Nov 03 08:32:04 DougReeder: Quite sure I got the location permission 1:1 from legacy 3.0.5 like this. I'll double check Nov 03 08:32:29 I'll have a look into Preware 2. I didn't test it on TP lately tbh Nov 03 08:36:40 Morning! Nov 03 08:39:49 Tofe: morning! Nov 03 08:40:30 Tofe: I actually didn't test that LNC one, not sure this is automatically passed from appinfo.json or we need to do something for it in luna-next as well. Nov 03 08:41:23 I think my mind it a bit confused by the ls2 notification api & Enyo one :P Nov 03 08:49:48 morning Nov 03 08:52:02 Garfonso: morning Nov 03 08:52:23 Tofe: Actually adding any email account in Accounts app kills it here. Nov 03 08:52:34 So not only when you try it from Email app. Nov 03 09:07:20 Herrie|Veer: ok, I'll have a look Nov 03 09:07:51 Herrie|Veer: for the html5 notifications, it's a bit puzzling, it crashes in the middle of chromium's code Nov 03 09:08:04 when trying to ask for the permissions Nov 03 09:08:41 Herrie|Veer: can we test Testr from desktop ? Nov 03 09:08:51 with GH pages Nov 03 09:09:04 Tofe: i guess so, let me update to latest from master Nov 03 09:09:41 that's fine, it works Nov 03 09:10:37 Testr doesn't crash Chrome ;) Nov 03 09:12:36 Tofe: Geolocation request in Browser is also fine (from w3schools) Nov 03 09:12:41 Permissions I mean Nov 03 09:13:58 Herrie|Veer: and notifications from Browser ? Nov 03 09:16:50 Need to see where it comes from Browser or luneos-components Nov 03 09:16:57 It's qml for sure :P Nov 03 09:18:21 It's from luneos-components. So that might explain. There's no UI hooked up for permission requests in chromium on embedded devices? Nov 03 09:22:19 Herrie|Veer: it's up to us to implement it for WebEngineView Nov 03 09:22:34 We have Nov 03 09:22:51 In luneos-components Nov 03 09:23:22 yes; so... I didn't understand your question :D Nov 03 09:23:22 see LunaWebEngineView.qml, L40 Nov 03 09:24:12 So it could be the rendering of the new "window" somehow crashes. I.e. the luna-webappmanager doesn't like the additional QML dialog and crashes somehow? Nov 03 09:25:35 I don't think it goes that far Nov 03 09:25:58 but I didn't finish my debug yesterday, I couldn't see exactly what was causing the crash Nov 03 09:26:09 It could be related to adding the email account, seems a similar situation where it tries to open a new window or something Nov 03 09:26:30 I also saw in the log that it tried to close some undefined windows before in LNC Nov 03 09:27:54 mmh Nov 03 09:29:46 I need to see if I can pull some logs from my device in crash situation. Nov 03 09:30:01 At least your fixes for other things already solved stuff :) Nov 03 09:30:36 I think we also solved some of the older bugs with apps not launching anymore after a crash will now be OK after your state machine fix :) Nov 03 09:30:51 :) good Nov 03 09:46:14 Tofe seems I get a "Uncaught TypeError: undefined is not a function" that causes the crash for adding email account. Nov 03 09:47:30 That also seems the case with Testr Nov 03 09:51:57 where? Nov 03 09:52:45 Let me send you a log :) Nov 03 09:53:02 no need, a log won't help, I think Nov 03 09:53:24 I would just need the location of that error with WebInspector, but I can do that tonight Nov 03 09:54:13 Tofe: Yeah it might be something that got deprecated somehow in QtWebEngine that worked in QtWebKit and just needs some adjusting Nov 03 09:55:37 i'd say it's somehwere around https://github.com/webOS-ports/luna-webappmanager/blob/master/src/qml/webos-api.js#L474 Nov 03 09:57:24 Could be.... Nov 03 09:57:31 Let me try wifi network switching Nov 03 09:59:16 Wifi switching works. That had issues before with the getNextCallId right? Nov 03 09:59:20 So yeah curious Nov 03 09:59:40 On second thought, log could help a bit Nov 03 10:09:26 Seems my webmail is down... Will send it when it's back up :s Nov 03 10:24:08 Tofe: I believe HTML5 notifications aren't implemented in QT WE 5.5.x that could explain why it doesn't work, but it shouldn't give a hard crash at least Nov 03 10:25:58 Even the HTML5 notification permissions are not there. Nov 03 10:26:09 I noticed that when I created the QML for the other ones Nov 03 10:27:43 mmh Nov 03 10:28:34 Letting it crash is not nice of course still... Nov 03 10:29:42 If you look in QtWebengine code you'll see that there's only implementation for geolocation, video, audio and video & audio Nov 03 10:31:43 right Nov 03 10:32:58 Seems there's notifications in 5.6 though Nov 03 10:33:32 See featurepermissionbar.cpp in demobrowser of 5.6 Nov 03 10:35:28 Not sure how much you'd need to backport from 5.6 to get it working Nov 03 10:35:44 actually it's there also in 5.5, but only for Qt widgets, not QML Nov 03 10:36:39 Hmmz don't understand why they give QML so little love at QT :P Nov 03 10:36:47 Too little devs I guess :s Nov 03 10:37:45 Probably Nov 03 10:41:08 And the Feature enum isn't identical between the two, I hope it doesn't lead to problems Nov 03 10:47:57 Actually it seems to be a fake; I can't see any Notification request being sent from even the page widget in 5.6 Nov 03 10:48:16 Could be I misunderstood the code; I hope so at least. Nov 03 10:55:41 I guess it's maybe there already for future implementation Nov 03 11:04:08 I sent you email without attachment :P Nov 03 11:04:19 Seems that somehow my webmail is broken with attachments :P Nov 03 11:05:47 I'll send attachment from my gmail instead Nov 03 11:54:37 got it, thx **** BEGIN LOGGING AT Tue Nov 03 14:50:40 2015 Nov 03 16:13:49 JaMa: How's QT 5.6 coming along? Just asking, I'm sure Tofe cannot see any QT anymore for a while after he's done with current migration :P Nov 03 16:40:12 JaMa: ping Nov 03 16:59:51 Herrie|Veer: 5.6-alpha builds fine with oe-core, but not in our build, I've rebased our qtwayland branch to see if it fixes the build issues I'm seeing in world builds Nov 03 16:59:51 Andolamin: pong Nov 03 17:02:32 JaMa: Any idea why https://gist.github.com/Andolamin/1254ff5828a1d56de403 doesn't seem to do anything? Nov 03 17:05:17 why do you use conf subdirectory? Nov 03 17:05:40 That's how the original recipe is looking for the file Nov 03 17:05:42 https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/recipes-webos/luna-sysmgr-conf/luna-sysmgr-conf.bb#L28-L32 Nov 03 17:06:01 but that won't work in SRC_URI Nov 03 17:06:13 Oh? Nov 03 17:06:20 files in SRC_URI are copied/unpacked to ${WORKDIR} Nov 03 17:06:41 you need them in ${S}/conf Nov 03 17:07:23 You're over my head now. How do I do that with a bbappend? Nov 03 17:09:02 It's starting to sound like it would just be simpler to PR the files into the luna-sysmgr directory Nov 03 17:09:14 s/directory/repository Nov 03 17:09:56 you can move them from ${WORKDIR} to ${S}/conf in do_install_prepend_rpi Nov 03 17:10:17 doing PR for luna-sysmgr is even better Nov 03 17:13:33 OK. Also, how do you set GNOME configuration values in a recipe? Nov 03 17:14:27 ? Nov 03 17:14:30 In addition to changing https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/recipes-multimedia/pulseaudio/pulseaudio-distro-conf/webos-system.pa, I have to run 'gconftool-2 -t string --set /system/gstreamer/1.0/default/audiosink pulsesink' on device to get audio working Nov 03 17:15:33 I can override the webos-system.pa, but I don't know how to go about setting that value Nov 03 17:16:52 Andolamin: I already told you last week (at least twice :p) you could PR stuff into our repos when it doesn't affect other targets :P Nov 03 17:17:10 So you don't have to worry about them anymore except for when you have some changes Nov 03 17:17:23 Herrie|Veer: I know, but I'm trying to avoid openning PRs until I know the values are reasonably correct. Nov 03 17:18:20 Andolamin: Well for the lunasysmgr it's OK. Nov 03 17:18:35 These small config bits we're OK with to have and update later when needed Nov 03 17:19:36 Ideally 100% right first time, but if you can't do what's the most correct currently Nov 03 17:21:31 Yeah Nov 03 17:21:58 BTW, do you know how much GPU mem Maguro, Mako and Grouper have? Nov 03 17:24:15 Looks like they're all like RPi, where memory is shared between device and GPU. Trying to find a good number to use. Don't want to default to too little, but I also don't want to go overkill and limit the amount of memory is available to the system. **** BEGIN LOGGING AT Tue Nov 03 17:27:42 2015 Nov 03 17:29:08 I have no clue really... 128MB? Nov 03 17:29:20 Not sure how much you have on your rpi? Nov 03 17:30:39 1GB total on the Pi 2 Nov 03 17:31:07 I'll try 128MB and see if anything is noticeably slower. Nov 03 17:31:17 Hmmmz I'm not sure... TP has 1GB as well I think Nov 03 17:31:39 Problem is that they all have shared mem so no dedicated value it seems Nov 03 17:31:59 Yeah Nov 03 17:32:29 I can go as high as I need, but don't want to eat up too much of the available memory Nov 03 17:33:16 Of course, other than potentially OpenGL games, I would imagine that 128 should be plenty for the LuneOS UI Nov 03 17:35:17 Especially considering that Maguro, Mako, Grouper and Tenderloin all have higher resolution screens than this Pi Nov 03 17:36:48 I'm also going to take a stab at an install script to download an image, flash it to a card, and expand the filesystem to fill the rest of the card. Nov 03 17:38:01 Images are generated by default with 30% of the system image added as free space. Not a lot to work with on the device, and it makes the image bigger to download. Removing the free space from the image, then adding as much as the card can handle during the flash process sounds like a much better route. Nov 03 17:40:45 Andolamin: There's already a script for TP that downloads it and installs LuneOS from webOS. It might give you some inspiration. Nov 03 17:41:07 Empty space in a packed image shouldn't take much room since it gets compressed Nov 03 17:47:44 Fair, but then you have to extract all of that empty space before you can dd it to the SD card. Nov 03 17:50:47 Andolamin: if I'm not completely mistaken, the gralloc on android devices generally allocates from RAM Nov 03 17:51:20 and Maguro, Grouper and TP have 1GB RAM iirc Nov 03 17:51:46 Tofe: Yeah, that's the conclusion we came to. Do you know how much it allocates by default? Nov 03 17:54:18 Andolamin: True but well space shouldn't be the issue. I wouldn't worry too much about these trivial things for now. Nov 03 17:55:21 Herrie|Veer: I wouldn't worry entirely about it except the system keeps complaining about running out of application space if I use a single image for too long without reflashing. It's annoying :P Nov 03 17:56:41 Andolamin: Yeah that's annoying :P Nov 03 18:08:16 Andolamin: I don't know, unfortunately. Nov 03 19:22:08 elvispre: I'm testing a fix for your bug ;) Nov 03 19:36:16 Herrie|2: I've fixed the crash for notifications, but the crash for accounts seems different Nov 03 19:36:32 I've added a check in PalmServiceBridge that may help, but not 100% sure Nov 03 19:46:40 elvispre: https://github.com/webOS-ports/luna-next-cardshell/pull/241/files Nov 03 19:46:54 Tofe: OK what was it? Nov 03 19:48:37 Tofe: Above PR fixes 1009 Nov 03 19:48:52 Was on my ToDo list still :P Just forgot about it, now sorted Nov 03 19:49:13 Changes the time format realtime when you change 12/24 hrs in SEttings :) Nov 03 19:49:20 Herrie: for notifications, it's just that the whole thing isn't initialized, and chrome never tests its pointers... Nov 03 19:50:41 Tofe: Ah... Dirty C++ stuff :P Nov 03 19:51:14 Tofe: You seen PuzzlePhone? Looks quite interesting... Too bad so far it only seems Android as usual Nov 03 19:51:37 Yeah I've seen it a bit Nov 03 19:52:14 well, if it would be Android with open boot and drivers, that's be quite ok, but no... Nov 03 19:54:25 Yeah... And only available next year Nov 03 19:54:36 BB Priv looks interesting and will be available soon ;) Nov 03 19:54:46 Just not much known yet about it's opennenss Nov 03 20:12:28 I'm seriously considering picking up a Fairphone 2 Nov 03 20:12:57 Their entire OS will be open source, including the build environment. Should be more than possible to build LuneOS for it. Nov 03 20:15:57 Herrie: I enjoyed myself yesterday torturing the latest testing build - spinning it around, seeing what it did to the calculator layout amongst other things - and I happened to notice the 12 / 24 hour clock thing. Nov 03 20:21:52 I just built a new testing image following a very noisy make update, except that nothing had changed. I guess that's what a rebase looks like! Nov 03 20:28:44 elvispre: Yeah I put 24 standard before but made a note to fix it later when we'd have Settings sorted, just never looked back Nov 03 20:29:23 Well 24 is what all right-thinking people prefer :-) Nov 03 20:29:29 Yeah Nov 03 20:30:12 :P Nov 03 21:14:05 Herrie: https://github.com/webOS-ports/qtwebengine-chromium/pull/5 Nov 03 21:16:04 Tofe that fixes both properly? Nov 03 21:16:12 Or just helps for the Accounts one? Nov 03 21:16:46 both Nov 03 21:16:51 :D Nov 03 21:18:16 Updated my PR too Nov 03 21:21:29 thx Nov 03 21:23:21 So all our bugs except for splash screen should be gone now I guess? Nov 03 21:23:28 Will kick off some nightlies to test Nov 03 21:23:43 Maybe can push out a release tomorrow or day after Nov 03 21:25:49 Well, notification are not back, as they aren't available in webengine so far Nov 03 21:26:12 apart from that, we should be fairly ok yes Nov 03 21:38:57 OK I'll test 4 targets when done ;) Nov 03 21:39:02 What you feel like next? Nov 03 22:48:49 Tofe: Idea on preloading Enyo 1.x and 2.x into memory so Enyo apps load faster Nov 03 22:50:04 What if /usr/palm/frameworks was a ramfs? That whole directory could be accessed from memory more quickly any time it's needed **** ENDING LOGGING AT Wed Nov 04 02:59:58 2015