**** BEGIN LOGGING AT Fri Oct 18 02:59:58 2013 Oct 18 05:37:11 Garfonso: I thought the design of the old app was quite simple :) Oct 18 06:14:55 that's true. ;) Oct 18 06:15:35 morning Garfonso Oct 18 06:17:09 morning. :) Oct 18 06:26:49 does it make sense to use "opkg upgrade --download-only" as the wiki says? Will that download to current directory? Oct 18 06:28:25 Garfonso: yes, it will Oct 18 06:28:43 the idea was to download all packages and to install them later when the system is booted into a safe state Oct 18 06:28:56 yes, I got that. Oct 18 06:29:15 but we should do something like opkg update before, too, right? Oct 18 06:29:19 there is a switch for opkg to use a directory as archive for the packages etc. Oct 18 06:29:26 yes Oct 18 06:29:33 ah, ok Oct 18 06:30:01 Garfonso: but if you want I can write both scripts Oct 18 06:32:50 from the help I'd call it that way: opkg upgrade --download-only --cache /media/internal/.upgrade-storage/ Oct 18 06:33:34 ok, no, that probably is wrong. Oct 18 06:34:31 there needs to be done some other things around that Oct 18 06:34:50 let me look if I can wrap up a simple script which contains the basic ideas today Oct 18 06:35:29 no hurries. Oct 18 06:39:12 my emulator has no /etc/platform-version ;) Oct 18 06:39:22 will it contain just the version number? Oct 18 06:44:39 Garfonso: I think so Oct 18 06:44:46 Garfonso: yes it will be added soon Oct 18 06:45:08 but it will be in another file but take /etc/platform-version for now which just contains a single number Oct 18 07:03:55 Tofe|Away: wow, it works like a charm with your changes!! Oct 18 09:24:50 morphis: \o/ Oct 18 09:25:23 Tofe: only thing is currently that if you open the just type directly after luna-next has started it's not fully loaded so it displays the loading animation Oct 18 09:25:58 morphis: even the keyboard focus is ok ? I would have thought it would be a bit problematic Oct 18 09:26:23 thats something I can't check yet Oct 18 09:26:28 maliit isn't working yet Oct 18 09:26:37 but for maliit we seems to have focus problems Oct 18 09:26:53 morphis: ok, maybe I can try to delay the switch until it's fully loaded. Though I'm not sure I do have the information Oct 18 09:27:08 Tofe: no you can't do anything to change this Oct 18 09:27:15 there are two things we have to change: Oct 18 09:27:36 1. move the loading animation into the compositor so it's used by any app and not only for web apps Oct 18 09:28:00 2. preload some applications at boot time and wait until they are fully loaded Oct 18 09:28:34 ok, makes sense; nothing to change on qml side, then Oct 18 09:29:12 well, not sure where we will "stack" the preloaded apps, exactly Oct 18 09:30:47 Tofe: some of them don't needs to be stacked Oct 18 09:31:04 because they are mostly nowindow apps so you never get a window for them within the compositor Oct 18 09:32:02 morphis: ok, I understand. Another thing, how are we going to integrate maliit, from a qml point of view ? it's not a launcher, nor a card, so I don't know exactly where it belongs Oct 18 09:32:26 it's quite near a dashboard app Oct 18 09:33:18 yeah Oct 18 09:33:27 I think it will get a specific window type Oct 18 09:33:46 so we can detect it within the compositor and place it correctly Oct 18 09:35:09 yes, and like the dashboard, we would resize the card to show the keyboard Oct 18 09:35:45 (you don't see it on the gnexus, but showing a basic notification already does that) Oct 18 09:36:42 Tofe: I think we should not resize the card Oct 18 09:36:48 we're just putting the keyboard on top Oct 18 09:36:50 as overlay Oct 18 09:37:35 morphis: that's also a possibility; I like it too, but there is the risk that the entry field gets hidden by the keyboard, isn't it Oct 18 09:37:52 yes Oct 18 09:38:04 I am not sure how to solve this Oct 18 09:38:11 but afaik thats how it's done in other systems Oct 18 09:38:28 Don't remeber how it is on the TP Oct 18 09:39:25 on Android it's an overlay, and the content is scrolled up somehow when necessary Oct 18 09:40:04 webos phones and TP resize the card. IIRC the app even get's an event for that. Oct 18 09:41:55 oh.. maybe I'm wrong. *fiddles with tP* Oct 18 09:42:40 morphis: how far are we to get maliit simply show up on the screen ? Would it be possible for me to get it to be launched, even if not functional ? Oct 18 09:43:39 Tofe: thats the problem Oct 18 09:43:47 I never got it launched Oct 18 09:44:18 the clients are connecting to the server but the clients fail to activate the keyboard cause of focus problems Oct 18 09:44:27 from looking at it everything I tried except the browser gets resized... i.e. toolbars and stuff all moves up and stuff gets smaller. Browser stays as it is and scrolls a bit. Oct 18 09:44:42 Garfonso: maybe there are two modes, then Oct 18 09:46:08 morphis: the clients, here, are the webapps ? or is maliit a client/server architecture and you are speaking about client keyboards and a keyboard server ? Oct 18 09:48:38 Browser does that: enyo.keyboard.setResizesWindow(false); Oct 18 09:49:11 Garfonso: ok, two modes then. Well, that's not really a problem in QML, both are easy to do. Oct 18 09:49:36 the method is just a stub with a comment. true is the default, meaning window will be resized. Oct 18 09:49:56 Tofe: maliit has a client server architecture Oct 18 09:50:05 let me explain how it works Oct 18 09:50:48 morphis: gotta go to lunch, be back in a little hour Oct 18 09:50:50 there is the maliit-server which is responsible for displaying the virtual keyboard once a client needs it Oct 18 09:50:54 Tofe: aye Oct 18 09:51:11 then there is a input context implementation which is loaded for every qt client application Oct 18 09:51:37 so once you set the focus to a input field the input context tells the maliit-server to show the keyboard Oct 18 10:01:07 how was that about noWindow apps? Are they supported now? Oct 18 10:08:13 Garfonso: yes Oct 18 10:08:53 Herrie: did you know that there is an "appmenu" field in the appinfo.json? Maybe that is sufficient to sort the ACL apps into their own launcher taps. Some system apps have that set to "Preferences". Oct 18 10:09:49 morphis: just found out that I don't need noWindow: true with enyo apps to use notifications without popping up the app. ;) Oct 18 10:10:09 actually I know a lot more about mojo than enyo. Oct 18 10:11:20 :) Oct 18 10:12:20 btw: we'll need an icon for the update app... Oct 18 10:15:45 Garfonso: right Oct 18 10:15:54 maybe something for HaDAK Oct 18 10:27:19 garfonso: Didn't know that! Documented anywhere? Still requires to add Tab I assume? Doesn't create it when doesn't exist? Oct 18 10:28:12 I guess that's completely undocumented... just stumpled uppon when looking at the com.palm.app.updates app. Oct 18 10:28:35 I'm pretty sure the tap has to exist before. But I don't know. Oct 18 10:29:11 Ok well I'll give it a go and pass on to PIC guys :) Oct 18 10:29:25 Would be good if they can fix that :) Oct 18 10:30:15 Clogging up Downloads is annoying Oct 18 10:30:23 yes, that's true. Oct 18 10:33:09 Well they're making progress at least... speed is improving, enhancements put through still a few bugs though that need ironing out... Tab, PDK apps and USB drive bug (supposedly fixed with recent release which I didn't try yet) Oct 18 10:37:24 Herrie|Work: btw. can you work on getting the guides about how to add patches and apps to our feeds over from wosi to our wiki? Oct 18 10:40:27 Sure just copy & paste and adjust? Oct 18 10:42:53 yes Oct 18 11:22:11 morphis: ok, currently the problem is that... the focus is never really set ? Oct 18 11:26:18 got that http://maliit.org/doc/framework/latest/dot_inline_dotgraph_1.png it's now quite clear how it works for me. Oct 18 11:26:53 Tofe: yes Oct 18 11:28:33 Tofe: I don't know yet where the problem is Oct 18 11:29:03 it can also be within the qml components we have for the web apps: https://github.com/webOS-ports/luna-webappmanager/tree/master/src/qml Oct 18 11:29:46 I can work on that a bit, eventually Oct 18 11:30:58 in order to get maliit working you some more changes which aren't yet in master/dora branches Oct 18 11:31:14 I guess so -- I'm currently on master branches Oct 18 11:31:30 I will push later today Oct 18 11:31:35 then you can test with them Oct 18 11:31:57 but even without maliit, I can begin some tests, like seeing if, in the emulator, we can get some text entry to react Oct 18 11:33:07 I can hack a bit the WAM QML wrapper to see if we get the focus at that level, at least Oct 18 11:36:49 Tofe: yes, you can also install the qtdeclarative-tools package to test a simple Qt app with qmlscene Oct 18 11:37:00 just set XDG_RUNTIME_DIR=/tmp/luna-session first on the console Oct 18 11:41:17 morphis: ok, will try that. Oct 18 11:43:01 morphis: did you see this ? http://qt-project.org/forums/viewthread/29418 Oct 18 11:46:33 Tofe: no Oct 18 11:46:45 Tofe: hm Oct 18 11:47:00 I saw something like this in webbrowser-app in Ubuntu Touch Oct 18 11:49:10 Tofe: https://github.com/penk/SlateKit/blob/master/Shell/qml/js/userscript.js#L32 Oct 18 11:50:09 Tofe: will add something like this Oct 18 11:51:58 Tofe: qtwebkit looks more and more unfinished to me ... Oct 18 11:52:10 lets hope things will get better with qtwebengine Oct 18 11:53:19 Tofe: but even with the example maliit app (which is widget based) I didn't got the virtual keyboard activated Oct 18 12:01:33 morphis: ok, so there may still be a focus issue in the qml wrapper Oct 18 12:04:34 I will investigate the qml layer for the focus Oct 18 15:16:04 scoutcamper|away, since no window apps work again...we should work on upgrading the Ubuntu Chroot to something more modern Oct 18 16:06:31 hm. I can't get output of my app.. :( Oct 18 16:07:08 ka6sox, indeed i should Oct 18 16:13:13 issues with emulator: 1. installs my service as system service (ok, might not be 100% wrong for org.webosports.update.service, but was that intentional?) => issue can't run it with run-js-service, 2. after moving it to cryptofs, run-js-service says: "-d disabled, not in Developer mode". No clue how to change that... Oct 18 16:30:33 Garfonso: what do you mean with "installs my service as system service"? Oct 18 16:33:05 that means it goes into /usr/palm/services/ instead of /media/cryptofs/usr/palm/services. And run-js-service then says "-d disabled for system services" ;) Oct 18 16:33:23 propably the last part is hardcoded somewhere in run-js-service? Oct 18 16:34:20 Garfonso: ok, in your case it should go into /usr/palm/services Oct 18 16:34:25 maybe Oct 18 16:34:29 let me have a look Oct 18 16:35:07 yes, that is where it goes. Is that intentional? Because the app id starts with org.webosports? Oct 18 16:35:20 no problem Oct 18 16:35:30 org.webosports is a privileged appid Oct 18 16:35:43 ah. ok Oct 18 16:35:48 there is currently no instance who assigns any privileges based on the appid Oct 18 16:36:09 something we need to add back somewhere soon Oct 18 16:37:16 yes.. as soon as people start installing apps. ;) Oct 18 16:37:27 Garfonso: ah, yes ... we've patched run-js-service to not jail any service Oct 18 16:38:14 what does the -d option really do and is there a way to get it for system services, too? Oct 18 16:38:26 Garfonso: touch /var/luna/preferences/debug_system_services Oct 18 16:38:29 then it should work Oct 18 16:38:39 currently node.js just core dumps, if I try to run it for my service. Never saw that before. ^^ Oct 18 16:38:50 interesting Oct 18 16:41:43 Garfonso: you can try to start it with gdb to see where it segfaults Oct 18 16:47:32 ok.. something is wrong with my emulator. node coredumps always. Oct 18 16:47:58 hm Oct 18 16:48:21 also for the other services? Oct 18 16:51:11 even when I just type node Oct 18 16:51:27 interesting Oct 18 16:51:33 can you try to start node with gdb? Oct 18 16:51:36 # gdb node Oct 18 16:51:41 then type run on the prompt Oct 18 16:52:09 that's where it crashes: v8::internal::Deserializer::ReadObject(int, v8::internal::Object**) Oct 18 16:53:19 http://pastebin.com/Cf3vmNLY Oct 18 16:53:59 morphis. Oct 18 16:54:24 Garfonso: is that fresh emulator image? Oct 18 16:54:25 HaDAk: :) Oct 18 16:54:33 mooooooooooooorphis. Oct 18 16:54:58 HaDAk: where did we ended our discussion yesterday? Oct 18 16:55:09 morphis: with you passing out in the middle of a sentence, i believe. Oct 18 16:55:32 you were just about to start talking about the easiest way for me to update and test your new changes Oct 18 16:57:07 october 13th Oct 18 16:57:37 Garfonso: https://github.com/webOS-ports/meta-webos-ports/commit/954da4ad1b879afd954455b13feea7314b03a349 Oct 18 16:58:37 Garfonso: ok, qemux86 image with that fix is still building Oct 18 16:58:58 ok. great Oct 18 16:59:19 HaDAk: http://www.shr-project.org/trac/wiki/Stabilizing -> "How to test" Oct 18 16:59:27 HaDAk: btw. I am waiting for your installation guide :) Oct 18 16:59:45 JaMa: correct me when I am wrong Oct 18 16:59:57 morphis: i'll whip that up today. i wasn't sure if some of the things i did were "standard" (eg, installing that new luna-next) Oct 18 17:00:06 HaDAk: can you do an icon for a system update app? ;) Oct 18 17:00:18 Garfonso: yeah, no problem. Oct 18 17:00:25 Garfonso: maybe we've something at http://www.webos-internals.org/wiki/Icons Oct 18 17:00:41 i'll whip something up. no worries. Oct 18 17:01:06 do we currently have a way to vary an icon based on the device it's installed on...? Oct 18 17:01:29 HaDAk: not that I know Oct 18 17:01:39 could be interesting? Oct 18 17:01:45 or maybe not so much? Oct 18 17:01:49 for what? Oct 18 17:02:03 not sure yet. Oct 18 17:02:06 I like the one with the worm. :P Oct 18 17:02:16 Garfonso: you leave it to me ;) Oct 18 17:08:19 hm.. putty is not very lucky about so many ssh-hosts at localhost. ;) Oct 18 17:18:10 morphis: why does my qmlscene go into core dump with any simple qml file I give to it ? Oct 18 17:18:43 I did set XDG_RUNTIME_DIR Oct 18 17:19:41 but it keeps doing a floating point exception on the emulator Oct 18 17:23:57 qt5-opengles2-test works, so it's qml specific Oct 18 17:28:15 mmmh. crash in egl_gallium during QOpenGLFramebufferObject::QOpenGLFramebufferObject... Maybe I should try with the gnex Oct 18 17:37:50 doesn't crash on device, but I still get nothing showing up... I must be missing something trivial... Oct 18 17:41:56 Tofe: it crashes only in the emulator? Oct 18 17:42:03 yes Oct 18 17:42:15 you tried with -platform wayland-egl as argument? Oct 18 17:42:27 ah, no, didn't try that Oct 18 17:42:38 but that shouldn't needed Oct 18 17:42:43 and if qt5-opengles2-test works fine Oct 18 17:42:49 yes Oct 18 17:43:26 ah stop Oct 18 17:43:31 you're using qmlscene right? Oct 18 17:43:32 * Tofe freezes Oct 18 17:43:35 yes Oct 18 17:43:46 you have a Window object within your QML file? Oct 18 17:44:07 I've just remarked that when trying on the gnexus Oct 18 17:44:11 I am not sure wether qmlscene creates a window Oct 18 17:44:18 let me retry on the emulator Oct 18 17:45:39 Tofe: can you show me your qml file? Oct 18 17:45:47 ok, worked with a Window on the emulator Oct 18 17:46:22 but the same file didn't work on the on the gnexus Oct 18 17:46:48 hm, I only run XDG_RUNTIME_DIR=/tmp/luna-session qmlscene on the N7 and get a file choosing dialog as card Oct 18 17:47:08 http://pastebin.com/uDJYjPbT Oct 18 17:48:00 works fine here Oct 18 17:48:09 get a card filled with blue Oct 18 17:48:14 mmmh. Oct 18 17:48:16 morphis: Garfonso: yes that's correct fix Oct 18 17:48:26 must have missed smthg Oct 18 17:48:44 you've adb shell open? Oct 18 17:48:49 yep Oct 18 17:49:33 Tofe: http://pastebin.com/mvWyZhKQ Oct 18 17:50:17 Tofe: how old is your image? Oct 18 17:50:54 little bit old, one week i'd say Oct 18 17:52:03 I never reach QSGContext::initialize Oct 18 17:52:19 but it does crash or ends either Oct 18 17:54:05 I must have played too much with the qml files of the cardshell... Oct 18 17:57:03 :) Oct 18 17:57:16 bah, anyway I can reproduce the focus issue with the qml file selection in the emulator now, so I'll just begin debugging this on the emulator Oct 18 17:59:32 JaMa, Garfonso: I issued a new build as I wasn't sure which stage already includes the change, so new image should land in http://build.webos-ports.org/webos-ports-staging/wip/images/ soon Oct 18 17:59:47 Tofe: so you see it? Oct 18 18:00:11 morphis: on the emulator, yes, qmlscene works very well Oct 18 18:00:18 morphis: yes it's correct, I was waiting for other machines to finish so I can cleanup tmpfs (now I'll clean it manually so that the build won't fail) Oct 18 18:00:30 on the gnex I must have f*cked up my rootfs, I should reset it Oct 18 18:00:38 JaMa: ah, sorry for that :) Oct 18 18:00:42 Tofe: :) Oct 18 18:02:33 morphis: no problem at all Oct 18 18:12:24 ok, I am off for today Oct 18 18:12:26 gn8 Oct 18 18:17:15 hi, i just bought a used TP. Is there any way I can make an image of the old TP and transfer it to the new TP? Oct 18 18:34:41 synchron: I think that would be more a question for the webos-internals guys Oct 18 18:44:39 Hi Oct 18 18:44:41 http://forums.webosnation.com/open-webos-general-discussion/326379-first-image-video-webos-tv-emulator.html Oct 18 18:48:11 any reason we can't use this for the update package? http://cl.ly/image/2o1s2R3P3X36 Garfonso? Oct 18 18:57:14 here's the 256x256 Oct 18 18:57:14 http://cl.ly/image/3n0z3G2v2L0n Oct 18 19:05:17 morphis: enjoy: https://github.com/webOS-ports/luna-next-cardshell/commit/d1363dd61bc1117d032c945b903032e90c40cb94 Oct 18 19:10:56 HaDAk: where did you find the icon ? If it's Apache 2.0 license or GPLv3, no problem I think Oct 18 19:11:35 Tofe: it's in the webos doctor for 3.0.5 Oct 18 19:24:35 http://blog.enyojs.com/post/64402443506/announcing-enyo-2-3-0-pre-10 Oct 18 20:56:36 HaDAk: I'm not sure we are allowed to use that icons. Oct 18 22:57:09 morphis: should we build normal image as well as webos-ports-emulator-appliance for qemux86* machines? Oct 19 01:37:52 Garfonso: we should find out **** ENDING LOGGING AT Sat Oct 19 02:59:58 2013