**** BEGIN LOGGING AT Tue Nov 11 03:00:00 2014 Nov 11 04:21:42 you guys do work using qt creator, don't you? Nov 11 04:41:13 EricBlade, I use it but mainly the code editor, never used the part where you can actually put GUI's together :P Nov 11 05:41:23 really? it's quite handy to be able to run right on desktop.. and be able to supply the --slow-animation parameter to the qmlscene Nov 11 05:51:20 Yeah it's handy to run on desktop, but I don't use the GUI designer stuff I mean Nov 11 10:13:37 morning Nov 11 10:14:44 Herrie: I'm not convinced by the GUI designer either, it's maybe useful to design a rectangle or two, but as soon as thing become dynamically built you're on your own Nov 11 10:56:03 DougReeder: nice summary, thanks! Nov 11 14:07:24 ooh.. yeah, i've never used the gui designer. it hasn't really been something that fits with my needs i don't think, currently. Nov 11 14:08:11 i might get to mess with it in the future, though, might poke at doing a quick native windows thing in qt/qml Nov 11 15:01:31 Herrie: ping Nov 11 16:39:54 thrrgilag: pong Nov 11 16:41:07 Herrie: I tested out your changes last night on the TP and the emulator (since it's roughly the same). The bottom image is off when the wifi drawer is open Nov 11 16:41:11 https://fry.monkeystew.com/img/luna-next-cs-20141110142801_1.png Nov 11 16:44:13 Ah I moved that one because it was odd on N4 otherwise... So we need some tweaking there I guess Nov 11 16:44:31 Anyway PR was merged, so we can take it from there and improve :) Nov 11 16:46:25 Yep, I'll muck around with it a bit latter this week when I get some time if nobody else gets to it by then. Nov 11 17:43:29 morphis , thanks! Perhaps you could flesh out the details around Intents and PalmBus. What exactly would we call, where do we put the system code, how exactly do we do the system UI I so glibly mention? Can system UI be overlaid on the client window? Nov 11 17:46:43 DougReeder: I would like to do the system ui in the cardshell or as dashboard window (as part of luna-systemui) Nov 11 17:46:53 not as part of the app Nov 11 17:47:10 system code goes into luna-appmanager Nov 11 17:47:35 we're still missing the interaction with the systemui so that is a good point to implement that Nov 11 17:47:45 Logically, the System UI is different code from elsewhere in the OS, but visually, it would be good to have it overlay the client. Nov 11 17:48:41 hm Nov 11 17:48:54 system ui is really what this bit is Nov 11 17:49:08 but we didn't had the element of a full overlay window in legacy webOS Nov 11 17:49:10 UI wise Nov 11 17:49:14 so that would be something new Nov 11 17:49:20 Bummer. Nov 11 17:49:26 and need to fit both small and big screens Nov 11 17:49:51 There’s no technique similar to the system menu we could use? Nov 11 17:50:22 The Intent system UI doesn’t need to cover the client card. Nov 11 17:50:26 dashboard windows :) Nov 11 17:50:43 that is what system ui is doing Nov 11 17:50:51 remember all the alerts you saw in legacy Nov 11 17:51:00 Yes, or a system dialog. Nov 11 17:51:02 "too many cards", "low power", ... Nov 11 17:51:10 system dialog? Nov 11 17:51:32 Like the TP USB mode dialog Nov 11 17:51:53 looks like a dialog rather than a menu Nov 11 17:52:07 Did you ever try my PopupCalc? Nov 11 17:52:28 screenshot? Nov 11 17:52:33 https://developer.palm.com/appredirect/?packageid=com.hominidsoftware.popupcalc Nov 11 17:52:50 The app catalog is mangling the screenshot, but you should get the idea Nov 11 17:53:14 http://hominidsoftware.com/popupcalc/index.html Nov 11 17:55:47 DougReeder: what is that using to create that dialog? Nov 11 17:56:06 ah "PopupCalc “lives” in a dashboard notification, so the calculator is just a swipe and a tap away at any time, once launched." Nov 11 17:56:22 It’s an API call I’m struggling to find the docs for. I’ll have to go to my source code. Nov 11 17:56:57 Yeah, that’s less than ideal, but it’s the best I could do under webOS. Nov 11 17:58:52 enyo.windows.openPopup("../popup/calcPopup.html", "calcPopup", {param1: "opened from dashboard tap"}, {clickableWhenLocked: true}, 370, false); Nov 11 18:01:30 API documented at https://developer.palm.com/content/api/reference/enyo/enyo-api-reference.html#palm/system/windows/windows.js - search for openPopup. Nov 11 18:01:49 I have only the haziest idea what’s going on behind the scenes. Nov 11 18:02:20 There’s a Mojo API, it it’s any easier to track that to what the system is doing. Nov 11 18:07:55 source code at https://github.com/webOS-ports/enyo-1.0/blob/master/framework/source/palm/system/windows/windows.js line 171 Nov 11 18:08:46 key line is openWindow(inUrl, inName, inParams, inAttributes, "height=" + (inHeight || 200)); with inAttributes.window = "popupalert"; Nov 11 18:09:33 The system forces the window to have a width of 320px, but you can set the height to whatever you want. Nov 11 18:11:22 How do you get GitHub to search the source code? It only searches issues for me. :-( Nov 11 18:15:18 Would openWindow be implemented in qtwebkit? Nov 11 18:22:00 I can’t find the source code where openWindow is implemented Nov 11 18:26:45 DougReeder: I've only been able to get it to search within a repository, the don't seem to have a way to search across projects Nov 11 18:26:55 * DougReeder nods Nov 11 18:28:07 GitHub’s UI is poor - ther’s radio-buttons for searching issues vs. code, but it wasn’t clear which was activated, and they don’t appear until after you’ve searched once from the repository page. Nov 11 19:30:08 morphis: ping Nov 11 20:54:39 DougReeder: what's going on in that code, is it's calling window.open() with a special parameter that tells it it's a different type of window Nov 11 20:54:53 I think so. Nov 11 20:55:39 popupalert windows keep their position then the cards move. Nov 11 20:55:47 i did a fair chunk of work in that area for LG but i can't remember the exact syntax for how it works Nov 11 20:55:50 WHEN the cards move. Nov 11 20:58:04 Anyone need a copy of PopupCalc to observe its behavior? I don’t have it in Preware yet. Nov 11 21:04:03 Or just plug a TP running webOS into USB and don’t select any option. You can launch and switch apps all day while the USB dialog hovers there. Nov 11 21:31:35 so, anyway, the third argument to window.open is traditionally an object that defines some parameters for the new window. webOS has "windowType" as one of those. or maybe it's just "window". Nov 11 21:31:54 i remember if you follow it through that big mess of enyo abstraction, it's difficult to make sense out of Nov 11 21:32:35 i suspect that if you grep through webappmanager for "windowType" you can probably locate the specifics **** ENDING LOGGING AT Wed Nov 12 03:00:00 2014