**** BEGIN LOGGING AT Mon Nov 11 02:59:58 2013 Nov 11 07:30:27 morning Nov 11 09:35:27 Morning Nov 11 09:36:07 morphis: seems like we might get some help with fixing apps bugs from Roshan/MobileTeck :) Nov 11 09:37:15 Roshan said doesn't have much time but will try to help :) Nov 11 09:41:49 So you might see some PR's coming in the future :) Told Roshan to join here to discuss when required as well :) Nov 11 09:57:45 morning Nov 11 10:05:24 Herrie|Work: yeah! Nov 11 10:05:28 Tofe: morning Nov 11 10:07:57 morphis: I found out that this sort of fix improves the situation (no more eglMakeCurrent errors) for the QSurfaceFormat: https://github.com/webOS-ports/maliit-plugins/commit/f56014a3434923e635190c3055bdbdfcdf012e39 Nov 11 10:08:31 Tofe: with all three windows enabled? Nov 11 10:08:59 ah you ported the ubuntu keyboard Nov 11 10:09:11 no no, only the ubuntu keyboard for now; it's for having a transparent background, which maliit-keyboard doesn't really need Nov 11 10:09:40 ah ok Nov 11 10:09:47 how does it work in runtime? Nov 11 10:10:25 well, the white default background of the keyboard became... black. So the alpha value is lost somewhere. Nov 11 10:10:47 for the rest, it works well, though I didn't see any preedit suggestion yet Nov 11 10:11:16 ok Nov 11 10:11:28 and entering text into the input fields worked fine? Nov 11 10:12:32 yes, it's just that the keyboard covers the entire screeen, so we don't see the field where we type text, but it works. I could it with the memo app, when we switch to card view, we see the entered text in the memo Nov 11 10:14:11 there are some fixes to do here and there (missing images, height too small, dpi is not retrieved from the device), but apart from the non transparent background it's quite ok Nov 11 10:14:39 ah, the preedit thing might be the fact that I didn't have any setting yet Nov 11 10:16:44 mmmh we didn't activate at all the alpha channels in the compositor, did we Nov 11 10:18:00 morphis: I've also set "window->setUseTextureAlpha(true)" in the compositor when creating a CompositorWindow; but that didn't help. Nevertheless I think it's needed. Nov 11 10:19:24 hm, alpha channels would be quite good Nov 11 10:27:56 yep, it's worth the effort I think Nov 11 10:33:43 morphis: I think this patch would also work on maliit-keyboard, btw Nov 11 10:34:20 though not sure if it would resolve all the issues with the 3 windows Nov 11 11:00:15 It's frustrating to see that lipstick seems to handle the alpha channel without any specific code on the compositor side... Nov 11 11:09:04 Tofe: yeah Nov 11 12:08:44 Tofe: I've one small fix for the cardshell bootloader Nov 11 12:09:08 I will remove the three second timeout and make the bootscreen invisible once the boot state switches away from startup Nov 11 12:09:34 ok, no pb Nov 11 12:20:06 preedit still doesn't seem to work on ubuntu-keyboard, I see the preedit line suggestion, but it doesn't suggest anything and all the words I type are red underlined. So I guess it doesn't find the dictionary. I'll check what kind of dictionary it's waiting for. Nov 11 12:24:47 morphis: I think there's a typo in the bbappend of maliit-plugin: it's *enable-presage*, not enable-pressage Nov 11 12:25:00 oh n Nov 11 12:25:06 s/oh n/oh no/ Nov 11 12:29:52 morphis: are we building presage with sqlite3 ? Nov 11 12:30:13 no Nov 11 12:31:20 we need it? Nov 11 12:31:52 looks like it is required for it to work; I have no "predictors" enabled, and in that mail exchange it says it's required (it's should also be written in the README)) : http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=&viewday=&forum_name=presage-user&style=nested&max_rows=50&submit=Change+View Nov 11 12:34:27 Tofe: ok, can you try to enable it? Nov 11 12:34:39 if I remember well there was a compilation problem with it Nov 11 12:34:40 morphis: yes, I'm already on it :) Nov 11 12:34:46 :D Nov 11 12:35:11 Tofe: btw. should we move the ubuntu-keyboard as webos-keyboard into a new repository? Nov 11 12:35:22 to make the separation clear? Nov 11 12:36:20 morphis: I guess so. I think it has a future, because with maliit-keyboard we will struggle with the resize and the separate windows. Here it's just about having the transparency correctly set, and setting a mouse mask to be able to click through the empty zone. Nov 11 12:37:38 morphis: note that I already pushed some fixed in my tofe/ubuntu-keyboard branch Nov 11 12:37:47 don't know if it's easy to move it too Nov 11 12:37:54 fixes* Nov 11 12:38:48 Tofe: should be Nov 11 12:38:58 with a little bit git magic everything is possible :) Nov 11 12:39:11 :) Nov 11 12:41:26 do_configure went well Nov 11 12:42:07 yo guys Nov 11 12:42:11 what's up? Nov 11 12:42:42 anyone tried messing with enyo 2.3 already? Nov 11 12:43:24 Tofe: there we go: https://github.com/webOS-ports/webos-keyboard Nov 11 12:43:30 WhiteBee: hey! Nov 11 12:43:31 morphis: great! Nov 11 12:43:33 WhiteBee: not really Nov 11 12:43:51 morphis: :( Nov 11 12:43:59 WhiteBee: any problems with it? Nov 11 12:44:09 morphis: Will be far easier using it to do the contacts app, and was wondering if it's safe to use Nov 11 12:44:20 WhiteBee: use it Nov 11 12:44:34 I heard it should be usable Nov 11 12:44:40 even if it's not a release yet Nov 11 12:44:46 came out just in time to spare me the data trouble Nov 11 12:45:04 ok. hope it won't be too buggy. Nov 11 12:45:23 WhiteBee: so you're starting again working on the contacts app? Nov 11 12:46:03 morphis: yep. been very busy at work (we're nearing product launch), but I managed to get me some free time :) Nov 11 12:46:28 great Nov 11 12:46:53 Been watching the channel and the work looks great Nov 11 12:47:07 morphis: during the compilation, presage uses an intermediate binary file to fill up some pre-built database; of course, if that binary utility is for arm, it doesn't work optimally on x86 architecture. Nov 11 12:47:29 Tofe: ah Nov 11 12:47:48 Tofe: looks like we have some more work to do here Nov 11 12:47:58 so we need that tool as native, and then make the non-native one use it, or smthg like that yes Nov 11 12:48:03 right Nov 11 12:48:13 pretty common pattern in OE :) Nov 11 12:48:37 pretty new for me :) Nov 11 12:48:48 I have a question, though, how luna-next compares to the usual desktop environment like gnome, KDE or cinnamon? I mean, could I just install it instead of my current one :P? Nov 11 12:49:51 WhiteBee: theoretically, yes Nov 11 12:50:04 currently desktops are based on X11 Nov 11 12:50:16 but that will change very soon as everyone is moving to wayland Nov 11 12:50:54 WhiteBee: you tried the emulator? Nov 11 12:51:06 yes, it's awesome Nov 11 12:51:14 though it was about two weeks ago Nov 11 12:51:38 morphis: do you have an example of such (simple) package which is split in two ? Nov 11 12:55:31 Tofe: puuh, let me look Nov 11 12:55:38 Tofe: generally you create the same recipe again Nov 11 12:55:42 but with -native as postfix Nov 11 12:55:50 so pressage-native_x.x.bb Nov 11 12:55:58 inherit native Nov 11 12:56:03 in it and build it Nov 11 12:56:17 presage_x.x.bb gets a DEPENDS += "presage-native" Nov 11 12:56:25 and then the tricky part starts Nov 11 12:56:45 first you need to make sure the binary gets install correctly within the -native one Nov 11 12:57:05 and then you need to point the non-native one to the native binary Nov 11 12:57:13 which includes patches configure.ac etc. Nov 11 12:58:12 :) ok. I can try that, that way I'll learn how to do such things. Nov 11 12:59:03 https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtwayland-native.inc Nov 11 12:59:50 ok yes you can put all the common stuff in a .inc Nov 11 12:59:55 yes Nov 11 13:00:00 inherit native is pretty important Nov 11 13:00:27 Tofe: is the tool automatically installed presage uses to setup the database? Nov 11 13:00:40 WhiteBee: yeah, we did a lot work and still a lot is ongoing Nov 11 13:00:50 would love to see you're new contacts app soon being a part of it :) Nov 11 13:01:40 morphis: I don't know if it is installed, but I don't think so: tmp-eglibc/work/armv7a-vfp-neon-webos-linux-gnueabi/presage/0.8.9-r0/presage-0.8.9/src/tools/.libs/lt-text2ngram: cannot execute binary file Nov 11 13:02:44 ok Nov 11 13:03:03 then you have to patch the makefiles or install it manually within the native version Nov 11 13:03:10 and disable the compilation in the target one Nov 11 13:03:12 morphis: :D Nov 11 13:03:17 morphis: yepee Nov 11 13:03:28 Tofe: it's always the kind of work I try to avoid to do :) Nov 11 13:03:37 Samsung announced they will have a Tizen Lite for phones with 256MB RAM and 512MB memory. For phones with resolution of 480x320 or 320x240. Seems like they really lost it with this cheap and ugly Android clone... Nov 11 13:06:32 morphis: if I look at the ubuntu arm presage package, there is a ./usr/bin/text2ngram in the package. So maybe it is installed, actually. That would be much better... Nov 11 13:06:42 yeah Nov 11 13:07:05 Herrie|Work: let them waste their money :) Nov 11 13:08:22 I have no power to stop them :P The more they waste on it the better... It sucks big time.... Nov 11 13:08:34 :) Nov 11 13:13:46 morphis: speaking of qtwayland.inc, the non-native bb doesn't inherit the native one, do you know why ? Also, bb complains that there is no presage bbclass Nov 11 13:14:42 Tofe: how does your bb file look like? Nov 11 13:14:45 my .bb is now very simple: require presage.inc, depends on presage-native, and inherit presage-native, all the rest has been moved in the .inc, for now. Nov 11 13:15:14 please show me the full bb file Nov 11 13:15:51 http://pastie.org/8471836 for the .bb Nov 11 13:16:20 http://pastie.org/8471839 for the .inc Nov 11 13:16:45 http://pastie.org/8471841 for the -native.bb Nov 11 13:16:54 ah no Nov 11 13:17:06 remove "inherit presage-native" from presage_x.x.bb Nov 11 13:17:30 .bb should only have require presage.inc Nov 11 13:17:39 and DEPENDS += "presage-native" Nov 11 13:17:46 ah, "inherit native" was really, like "inherit native" :D Nov 11 13:17:51 yes :) Nov 11 13:18:21 ok, makes more sense to me Nov 11 13:18:24 btw. you should do a presage-x.x.inc and place the checksums there Nov 11 13:18:39 and then require presage-${PN}.inc in -native.bb and .bb Nov 11 13:19:05 ok, yes, looks cleaner Nov 11 13:20:37 ${PV} you mean Nov 11 13:20:54 right :) Nov 11 13:25:57 the -native did compile/install fine. I have the text2ngram native binary in the sysroot-destdir directory. Nov 11 13:26:10 now, the tricky part... Nov 11 13:29:06 :) Nov 11 13:29:24 looks like I'll have to hack a Makefile.am, we have things like "$(top_builddir)/src/tools/text2ngram" that are launched Nov 11 13:30:06 Tofe: ${STAGING_BINDIR_NATIVE} points to the native sysroot Nov 11 13:30:53 so something like ${STAGING_BINDIR_NATIVE}/text2ngram should work Nov 11 13:31:51 good ! Nov 11 13:33:58 doesn't look like this variable is known to automake Nov 11 13:34:21 I guess I have to define it in configure Nov 11 13:38:30 Tofe: yes Nov 11 13:38:43 --with-text2ngram= or something like this Nov 11 13:38:51 which you then pass with EXTRA_OECONF Nov 11 13:38:52 or patch the Makefile.am... Nov 11 13:39:10 --with-text2ngram would be the clean way Nov 11 13:44:06 well, anyway I will have to patch it... Nov 11 13:44:29 right Nov 11 13:50:36 morphis: currently, this works: http://pastie.org/8471892 Nov 11 13:50:45 it's quite a temptation to keep it like that Nov 11 13:51:27 I am fine with that Nov 11 14:04:45 presage is a dbus service, right ? Nov 11 14:05:07 ah, no, not necessarily Nov 11 14:06:14 no, it's just a lib Nov 11 14:13:31 I got preedit to work on the keyboard :) Nov 11 14:13:44 YEAHHH! Nov 11 14:15:07 morphis: https://dl.dropboxusercontent.com/u/4679068/luna-next/gnexus-screenshot-ubuntukeyboard-preedit.png <-- don't laugh at the look, I forced the opacity to be sure the keyboard worked well, apart from the background issue Nov 11 14:15:36 Tofe: sexy screenshot Nov 11 14:16:35 loooks really great Nov 11 14:17:05 morphis: sqlite3 initialization depends on the $HOME env variable, so for this test I've set it to /tmp, but there must be a better way Nov 11 14:18:13 hm Nov 11 14:18:23 should go to /media/internal Nov 11 14:18:32 or /var/luna/preferences Nov 11 14:20:10 I'll do a PR for meta-wop Nov 11 14:20:40 thanks Nov 11 14:20:56 I will push some updates soon too so I will include it then Nov 11 14:22:03 Tofe: btw. does the magnifier work? Nov 11 14:22:25 to see the key better ? yes Nov 11 14:24:10 when you push the key Nov 11 14:27:41 yes, it works Nov 11 14:28:45 great Nov 11 14:31:16 morphis: https://github.com/webOS-ports/meta-webos-ports/pull/15 Nov 11 14:31:41 ah, wait, the title is all wrong Nov 11 14:32:11 now, that's better. Nov 11 14:37:45 ah it doesn't include the switch to webos-keyboard yet Nov 11 14:38:25 oh, well, no, but that can come quickly :) Nov 11 14:39:09 and as long as the background issue is not solved, it looks pretty bad Nov 11 14:39:24 ok Nov 11 14:39:34 then lets wait a little bit for it Nov 11 15:00:32 i2y4n: you already tried the emulator? Nov 11 15:02:02 nope, i don't know where I'd even start after i did Nov 11 15:07:09 i2y4n: http://www.webos-ports.org/wiki/Emulator Nov 11 15:17:42 morphis: Okay, so as a first step you suggest looking around inside the emulator? Is there anything that I should be focusing on? Nov 11 15:32:13 morphis: any plans to vagrant the Emulator? Nov 11 15:46:55 i2y4n_: not really, play with, see what works and what does not Nov 11 15:47:10 if you find anything which looks like a bug file one at issues.webos-ports.org Nov 11 15:47:21 bigbluehat: not from my side Nov 11 15:47:44 but there will come automatic updates soon so you just import it once and can update then Nov 11 15:48:02 i2y4n_: documentation needs to be cleaned up as well Nov 11 15:52:52 morphis: thanks :) Nov 11 15:56:57 morphis: cool. tnx Nov 11 17:22:38 bigbluehat, we need an update as what we have is pretty old Nov 11 18:27:29 ka6sox: Update on what? Nov 11 18:35:41 is it violent to say "adb reboot bootloader" when the device is in android ? Nov 11 18:36:51 * HaDAk shrugs Nov 11 18:37:04 not really. Nov 11 18:37:08 unless it's actively writing data Nov 11 18:37:23 are you talking about my script? Nov 11 18:37:28 Oh, no, I generally close the apps before, I'm not a barbarian Nov 11 18:37:42 no no, just the way I reboot into webos :) Nov 11 18:37:52 :) Nov 11 18:38:08 ka6sox: happy to test it out…sadly overbooked otherwise Nov 11 18:39:21 ah, now it did boot. But 4 times it rebooted without warning, before having even started luna-next Nov 11 18:43:17 what is this? Nov 11 18:43:17 https://github.com/webOS-ports/webos-ports-installer Nov 11 18:44:40 i think my script could go up as-is, and i'll work on adding other device support. Nov 11 18:44:53 i'll issue a pull request when i have it up -- but we should have *something* up there now Nov 11 18:45:04 also, where are we with getting md5sums on the build server? Nov 11 19:02:30 morphis: looks like the buffer coming from the client window has an alpha channel, the surface is BGRA, so alright. I'll check the compositor now. Nov 11 19:18:22 Tofe: recently I saw https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/qtdeclarative-opensource-src/trusty/view/head:/debian/patches/rendering_performance_fix_lp1092358.patch Nov 11 19:19:29 yes, that's a good idea, if most of the GPU are using BGRA Nov 11 19:45:21 morphis: interesting news: if I set the keyboard opacity to 0.99, it does take the alpha channel into account Nov 11 19:45:50 ?? Nov 11 19:46:46 morphis: https://dl.dropboxusercontent.com/u/4679068/luna-next/gnexus-screenshot-ubuntukeyboard-nearly-opaque.png Nov 11 19:47:32 So there is a fishy optimization being made somewhere, maybe in Qt Nov 11 19:48:07 btw. one thing you can try Nov 11 19:48:38 add QT_QPA_EGLFS_HAS_ALPHACHANNEL=1 to /etc/luna-next/environment.conf Nov 11 19:49:02 hope that helps Nov 11 19:49:07 should have remembered that earlier Nov 11 19:49:29 https://github.com/webOS-ports/meta-webos-ports/blob/master/recipes-qt/qt5/qtbase/0001-HACK-Add-capatibility-to-have-QT_QPA_EGLFS_DEPTH-.-i.patch Nov 11 19:50:38 btw. someone really needs to style the keyboard so it don't looks like the ubuntu one Nov 11 19:53:34 we'll see, but I also tried setting the surface format for the compositor Nov 11 19:56:01 nope, didn't help Nov 11 19:56:21 but it definitely looks like an optimization that shouldn't be here Nov 11 19:59:52 Morphis! Tofe! Hi! Nov 11 20:00:04 LarrySteeze: hey! Nov 11 20:00:22 I still exist -.- Nov 11 20:00:22 LarrySteeze: hi ! Nov 11 20:00:55 LarrySteeze: and you are still trying to talk to morphis ? ^^ Nov 11 20:01:16 Tofe: yeah, was really hard t meet LarrySteeze at the right time :) Nov 11 20:01:16 Nope. I got in touch with morhpis just haven't done the stuff I talked to him about :D Nov 11 20:01:37 I think I had other stuff to talk to morphis about just don't remember what it was Nov 11 20:03:55 :) Nov 11 20:04:09 LarrySteeze: now you have the time ask me whatever you want :D Nov 11 20:04:32 You have the time. I'm getting ready for visitors :( Nov 11 20:04:54 Visitors that are staying for a month so I have to convert my office into their bedroom Nov 11 20:06:42 ah ok Nov 11 20:14:54 morphis: i'll stylize it after the project i'm currently working on Nov 11 20:15:06 HaDAk: great Nov 11 20:15:28 morphis: if somebody that knew python would help me with this (probably trivial) task, i could get to work on it much sooner Nov 11 20:36:39 morphis: I propose that, for now, I set the opacity of the keyboard to 0.99; that makes it possible to integrate it, and to go on in parallel on other topics too, like the focus issues Nov 11 20:37:30 Tofe: sounds like a good plan Nov 11 20:37:39 Tofe: does it affect the framerate? Nov 11 20:41:18 the opacity trick ? maybe a little when the keyboard is on Nov 11 20:41:33 but it's specific to the keyboard window, for now Nov 11 20:41:47 ok Nov 11 20:41:51 lets do it Nov 11 20:41:58 ok Nov 11 20:42:14 I'll do that after diner Nov 11 21:53:29 HaDAk: you still need help with python? Nov 11 21:53:49 WhiteBee_: probably, but i need to run to the grocery store for a bit. will you be around in ~1 hr? Nov 11 21:54:09 not sure Nov 11 21:54:13 might be going to sleep Nov 11 21:54:57 ok. i'll try to be quick. Nov 11 21:55:08 HaDAk: cool, I'm not python pro, but I have some experience Nov 11 21:55:26 ok. Nov 11 22:12:01 morphis: https://github.com/webOS-ports/luna-next/pull/54 & https://github.com/webOS-ports/meta-webos-ports/pull/15 & https://github.com/webOS-ports/meta-webos-ports/pull/15 Nov 11 22:13:03 morphis: note that to hide the keyboard, one has to slide it down (by dragging down the preedit zone handle) Nov 11 22:13:48 n8 ! **** ENDING LOGGING AT Tue Nov 12 02:59:58 2013