**** BEGIN LOGGING AT Sat Oct 31 02:59:59 2015 Oct 31 07:14:07 morning Oct 31 07:25:56 morning Oct 31 07:28:59 nizovn: morning Oct 31 07:36:15 Andolamin: your user agent seems strange, it looks like your tv has NetCast; user agent on webOS: http://developer.lge.com/webOSTV/develop/web-app/webos-tv-platform/web-engine/ Oct 31 07:38:27 Herrie: seems we can just add "WebAppManager" to our webappmanager user agent :) Oct 31 08:21:42 nizovn: Odd that my TV doesn't match the documented user agent. It definitely doesn't have NetCast. I work on webOS for LG, so I would definitely know ;) Oct 31 08:22:03 I just visited useragentstring.com in the browser and posted what it showed. Oct 31 08:41:49 nizovn: i added webOS for now ;) Also should work Oct 31 08:42:06 https://github.com/enyojs/enyo/blob/2.4.0/source/dom/platform.js#L65 Oct 31 08:42:30 ok :) Oct 31 08:43:52 https://github.com/webOS-ports/luna-webappmanager/blob/master/src/qml/UserAgent.qml#L37 Oct 31 08:44:06 Should work since the platform.js uses regexp Oct 31 08:57:21 nizovn: seems yours is cleaner will change it Oct 31 08:57:41 not sure Oct 31 09:00:27 nizovn: Yeah it is ;) with hpwOS or webOS you also need to /x for version Oct 31 09:00:41 So I'd prefer the WebAppManager one Oct 31 11:00:24 morning Oct 31 11:01:04 Herrie: I have now fixed the popup alert issue, but only for non-headless apps (unlike systemui) Oct 31 11:02:00 For headless apps, we have an issue with chromium trying to bound the popup size to the size of the screen, but the latter isn't known and therefore is zero... Oct 31 11:37:51 Tofe: OK well at least it's progress right :D Oct 31 11:38:49 Tofe: Might that be the same reason for email not showing up? Oct 31 11:41:57 I don't know yet Oct 31 11:42:58 Tofe: OK, sounds like it could be... I.e. it doesn't know the size of the screen and therefore doesn't show it... Especially seeing it's a noWindow app? Oct 31 11:43:55 I'm trying to find an elegant solution for the noWindow apps, but it's a bit difficult to get default screen info from Qt without any QWindow or any visible object Oct 31 11:45:34 But it's quite necessary anyway, otherwise there really isn't any view property set: dpi is 1, screen size zero, color depth default one, etc... That could prevent an app from running as expected, if it does things behind the scene Oct 31 11:48:21 Couldn't it be a simple timing issue? i.e. if you'd render the noWindow or com.palm.systemui later it would know this info? Oct 31 11:52:36 the thing is, we do *not* render it :) Oct 31 11:53:04 only the QML engine is initialized, there is no window or view associated Oct 31 11:55:26 but I may have found a way, let's see what it does Oct 31 11:56:38 I mean you have LNC running, you should be able to somehow use that? Oct 31 11:56:48 Or it tries it before LNC is even running? Oct 31 12:06:59 Hello :) Is there currently any way to get whatsapp running on LuneOS? Oct 31 12:07:27 I am using a nexus 4 if that matters Oct 31 12:10:14 jakibaki: Well a bit maybe ;) Oct 31 12:10:36 you mean in cli? Oct 31 12:10:57 But you'd still need another phone actually running whatsapp Oct 31 12:11:03 You could use web.whatsapp.com then ;) Oct 31 12:11:14 K thx :) Oct 31 12:12:02 I haven't looked into it in detail yet recently Oct 31 12:12:06 There's no app for sure yet Oct 31 12:12:24 I haven't checked what's the status of the non-official app on other paltforms recently Oct 31 12:12:45 It's hit & miss most of the times with WA changign things, actively blocking etc Oct 31 12:15:21 I think I could propably make yowsup-cli working on luneos but that would be terrible to use Oct 31 12:15:26 *work Oct 31 12:17:25 jakibaki: That shouldn't be too hard, we use a lot of same fundamentals in the OS like Jolla ;) Oct 31 12:18:16 Do you know how hard it would be to port Mitakuuluu3? Oct 31 12:19:33 jakibaki: I guess that's the Jolla one? Oct 31 12:19:40 :+Herrie Yes Oct 31 12:19:55 We can run QML apps, problem is we don't have Silica since it's not open sourced AFAIK Oct 31 12:20:01 +Herrie: :( Oct 31 12:20:04 +Herrie: k Oct 31 12:20:28 We can run pure QML goodness though ;) Oct 31 12:20:38 Or QT Oct 31 12:20:43 C++ ;) Oct 31 12:20:47 jakibaki: there's also the problem, that Jolla users have, that Whatsapp is unwilling to have third-party apps using its API Oct 31 12:21:16 I've used mutakuuluu for months without ever having problems with it Oct 31 12:21:45 So they made a pretty good job reverse engeneering it :) Oct 31 12:21:54 *mitakuuluu Oct 31 12:22:38 yeah, but some users have been complaining that whatsapp deactivated their account (or something like that) Oct 31 12:24:05 What is their problem with alternative whatsapp clients? As long as they are not spamming I dont see the problem. Oct 31 12:24:39 Control over (potential) revenues, I guess. Oct 31 12:27:58 Anyway - if someone wants to port Mikakuuluu3 to LuneOS, why not :) But the Silica components will need to be replaced with something else. Oct 31 12:39:42 jakibaki: Rewriting the UI is probably easier to a certain extend, you can take lots from mitakuuluu for inspiration and give credits where due Oct 31 12:43:55 Just UI principles in webOS/LuneOS are quite different from Jolla/Meego/Maemo Oct 31 12:45:38 For a start, it's written using Enyo :) Oct 31 13:15:45 WEll you can have QML look like Enyo ;) Oct 31 14:12:31 My calculator app update is looking promising on my latest testing build. Enyo apps are now QtWebEngine-based, I think, and behaving much better than when I looked a week or so ago. Oct 31 14:13:02 The app menu does not respond, though. (I think that is a known issue.) Oct 31 14:16:37 elvispre: App Menu is currently broken it seems Oct 31 14:16:56 See http://issues.webos-ports.org/issues/1005, item 2 Oct 31 14:17:22 Herrie: I am just glad to see that my font scaling issues have (mostly) gone away. Oct 31 14:17:40 Tofe is trying to iron out the last few visible issues Oct 31 14:17:46 We still need to stress test stuff as well Oct 31 14:18:36 Mostly, except that "M+" doesn't fit in its button in portrait orientation. Fine tuning! Oct 31 15:04:44 Herrie: one issue less, my tentative fix worked Oct 31 15:06:16 https://github.com/webOS-ports/qtwebengine/pull/9 and https://github.com/webOS-ports/qtwebengine-chromium/pull/4 Oct 31 15:18:25 Tofe :D Oct 31 15:18:35 Solves both systemui & email? Oct 31 15:18:47 no, just systemui Oct 31 15:19:09 email issue is probably related to the appmenu issue, which sums up to a relaunch() not working Oct 31 15:20:01 Tofe: Ah Oct 31 15:20:09 That could be Oct 31 15:21:21 Log gives me this: Oct 31 11:20:25 mako LunaAppManager[1392]: ** Message: ApplicationManagerService:: servicecallback_launch(): launching as: appId = [org.webosinternals.preware] , param json = [{"palm-command":"open-app-menu"}] and Oct 31 11:20:25 mako LunaAppManager[1392]: ** Message: Application org.webosinternals.preware is already running and registered with the process manager Oct 31 15:23:45 exactly. Oct 31 15:26:58 morphis: ping Oct 31 15:46:57 nizovn: Anything we can help with? Oct 31 15:47:38 just want to ask questions about qtposition plugin Oct 31 17:04:39 Herrie: https://github.com/webOS-ports/luna-webappmanager/pull/38 will fix app menu and email launch Oct 31 17:05:21 nizovn: Shoot ;) Oct 31 17:05:31 TOfe might know a thing or two too ;) Oct 31 17:05:35 Tofe: NICE :D Oct 31 17:07:57 Tofe, morphis: my question is more about architecture; what is better: qtposition plugin based on geoclue2, or location-service? Oct 31 17:08:05 ls2 plugin seems much more simpler Oct 31 17:10:23 nizovn: We need it both in browser & apps I guess Oct 31 17:10:36 FWIW, I would generally lean toward an LS2 implementation, so it could be used in Enyo apps Oct 31 17:11:50 no, no i think about backend for plugin; either geoclue2 or ls2 Oct 31 17:12:12 You'd probably have to modify some of the QtWebEngine code to make sure it's not using QtPositioning. Tofe might know what that requires Oct 31 17:12:58 nope, I didn't go into these area of the code (yet); though you are probably right Oct 31 17:25:46 Tofe: OK new nightly running Oct 31 17:25:52 Let's see if all bugs are gone now :P Oct 31 17:32:06 Tofe: Still had this "No 'Access-Control-Allow-Origin' header is present on the requested resource." with Macaw-Enyo when changing UA Oct 31 17:32:11 Let me try again with the new build Oct 31 18:11:49 ok Oct 31 18:47:23 Could also be my install method which is not ideal with opkg install instead of Preware Oct 31 19:05:19 Tofe: Did you get around fixing this non documented appinfo.json fields sometime already? Oct 31 19:16:57 I don't remember if you did Oct 31 19:17:24 DougReeder confirmed that it was quite common to use this. Seems quite some apps used it for all different kinds of reasons Oct 31 19:22:20 Non document appinfo.json fields? You mean developers adding extra info to their appinfo? Oct 31 19:22:44 s/document/documented Oct 31 19:24:55 Andolamin: Yes Oct 31 19:25:03 We currently don't seem to support that Oct 31 19:25:23 It's mentioned in small print though on Open webOS website we noticed Oct 31 19:26:44 "Although the framework does not use it, it is worth mentioning that the application launcher uses a params property, which it passes in its entirety to ApplicationService.launch(). The appinfo.json file can contain any other valid JSON a developer finds useful, which can then be accessed through Mojo.Controller.appInfo. For example, the Email and Calendar applications use this to specify Oct 31 19:26:45 an lwStages property that they pass to createStageWithCallback() to indicate whether or not lightweight stages should be used." Oct 31 19:27:13 macaw-enyo has "mimeTypes": [ { "urlPattern": "^macaw:" } ] for example ;) Oct 31 19:27:47 And there were a ton of radio apps in Enyo 1 that were basically using the same app template and would pull their channel based on a param in the appinfo.json ;) Oct 31 19:27:50 Yeah, I used to store the specific build number for my apps (useful for when I gave ipks to testers) so when they emailed me through the app I would get the exact build. Oct 31 19:28:17 There aren't too many apps using it but still quite a few Oct 31 19:28:38 And we didn't deal with it properly. Not sure Tofe fixed that last time around when he make pretty much any Enyo app working ;) Oct 31 19:28:52 I think it was still pending. I can test it once this build is ready Oct 31 19:29:59 Good news on the Raspberry Pi front - the upstream meta-raspberrypi added support for the 4.1.x linux kernel, which is needed to get the touchscreen working Oct 31 19:30:26 Should mean I can move over to the official layer, instead of having to use my fork Oct 31 19:42:33 Herrie: it is still pending Oct 31 19:43:18 it needs to be checked first, maybe it already works; it depends how it is used Oct 31 19:43:47 apps usually read appinfo.js themselves, and in that case they get everything, and we don't have anything to do Oct 31 20:01:47 Andolamin: Nice Oct 31 20:01:57 Tofe: I think they couldn't that was the problem Oct 31 20:02:08 Let me try, downloading new nightly now Oct 31 20:02:20 Fingers crossed here :P Oct 31 20:06:56 I still have all my IPK's laying around from last time including the ones that didn't work Oct 31 20:09:46 Tofe: Apps use things like: enyo.appInfo = enyo.appInfo || enyo.fetchAppInfo(); Oct 31 20:10:42 Which should be oK like you said: return enyo.fetchConfigFile("appinfo.json"); Oct 31 20:11:15 Flashing nightly now Oct 31 20:16:08 Andolamin: You know what's this "Tellurium" that I see in 3.x quite a bit? Was this some testing framework or something? Oct 31 20:19:12 Tofe: Email launches but got it to crash already :P Oct 31 20:19:13 https://bpaste.net/show/0a71f2b8adbf Oct 31 20:20:28 This was with Preware open, opened email, tried to add account Oct 31 20:25:55 Herrie: Looks like it was a testing framework Oct 31 20:26:24 Andolamin: Ah ok already thought so Oct 31 20:31:45 Tofe: Got some crashes... The Macaw issue with Access-Control-Allow-Origin might also be the cause of the incorrect account name for Google C+DAV Oct 31 20:40:42 Tofe: 3 of them logs are here: https://bpaste.net/show/da700a0ce5f8 Oct 31 21:19:24 Tofe: NOt sure if this is the right way but you could maybe manipulate the headers sent by luna-webappmanager to include the correct value? Similar as per? https://github.com/sgraham/nope/blob/f974e0c234388a330aab71a3e5bbf33c4dcfc33c/content/browser/webui/url_data_manager_backend_unittest.cc#l31 **** ENDING LOGGING AT Sun Nov 01 02:59:58 2015