**** BEGIN LOGGING AT Tue Dec 29 02:59:58 2015 Dec 29 10:41:31 Tofe: I did a few direct commits to Luna-Next-Cardshell master instead of my own branch. Please have a look to see if you're OK with them or I'll rewrite history and properly PR them Dec 29 10:41:37 They're pretty straight forward really Dec 29 10:42:21 Made the gesture area optional for users who would like to disable it (like on TP for example). I don't know why they would want it, but it seems some are bothered by the virual gesture area :P It was a simple enough Tweak to put in so why not Dec 29 10:43:50 Also fixed the tap ripple/reticle Tweak that didn't do anything Dec 29 10:46:11 Tap Ripple doesn't show on N4 at all. On Maguro it's flaky at best. I guess we'd need to rework it a bit. It also takes the fixed size of the image in the c++ luna-next plugin instead of a resolution independant approach. I guess I'll ping nizovn to have a look at it. Dec 29 11:52:47 nizovn: ping Dec 29 11:52:54 Herrie: pong Dec 29 12:01:56 nizovn: Seems reticle is buggy for me on Maguro (i.e. sometimes shows and sometimes not, seems to depend on location I tap) and doesn't work at all on Mako. Dec 29 12:02:15 The Mako is probably a device specific issue. Dec 29 12:02:48 Also reticle doesn't take into account the screen resolution (i.e. it takes the actual pixel size of the image provided in the cpp plugin Dec 29 12:03:03 While it should do something device independent like GridUnits Dec 29 12:07:04 hm probably mako's display has too much pixel density so we need to add some threshold to detect finger movement Dec 29 12:07:23 but did it work before? Dec 29 12:08:07 nizovn: To be honest I never saw it work on Mako ;) Dec 29 12:10:28 Also for other graphical assets we have 4* original TP resolution. I've uploaded it to GH already: https://github.com/webOS-ports/luna-next-cardshell/commit/f5a23572bf6cca1b2c66fc554e63667fe863c79c Dec 29 12:11:05 Ideally we should use that instead of the "Settings.lunaSystemResourcesPath + "/penindicator-ripple.png" " in ReticleArea.qml Dec 29 12:11:15 However if I would put it now it will break things because of it's size Dec 29 12:14:04 Since it's 4* original resolution, so some scaling would need to be done in the cpp part Dec 29 12:21:38 I guess the touch area should be adjusted similarly as the reticle itself with some resolution independent solution Dec 29 12:24:17 yes, would be good Dec 29 12:24:57 Is that something you can look into? Dec 29 12:25:09 The gridunits bits etc should be already available in C++ Dec 29 12:25:24 Since we import them from luna-next as well in luna-next-cardshell Dec 29 12:25:49 https://github.com/webOS-ports/luna-next/blob/master/plugins/common/units.cpp Dec 29 12:25:58 For TP 1 gridunit = 10 pixels Dec 29 12:27:00 ok, but i think it's a little better to set size in qml Dec 29 12:27:18 Also fine :) Dec 29 12:27:24 Just currently that doesn't work ;) Dec 29 12:27:26 I tried Dec 29 12:27:29 Doesn't seem to do much ;) Dec 29 12:27:34 But yes would be easier Dec 29 12:28:07 So the C++ part would need some adjusting to allow for it ;) Dec 29 12:40:35 I guess https://github.com/webOS-ports/luna-next/blob/master/plugins/shell/reticleitem.cpp#L54 and https://github.com/webOS-ports/luna-next/blob/master/plugins/shell/reticleitem.cpp#L55 would need to be set from QML as a start Dec 29 12:53:45 as for maguro, could you please add logging here: https://github.com/webOS-ports/luna-next-cardshell/blob/master/qml/Utils/ReticleArea.qml#L33 to see if coordinates looks sensible? Dec 29 12:56:28 nizovn: Let me do that now Dec 29 13:03:35 i found way how to scale it in pure qml, but it looks too pixelated compared to cpp way, so i'm going to modify reticleitem Dec 29 13:05:49 nizovn: https://bpaste.net/show/34d1484197dc Dec 29 13:05:52 Looks OK I guess? Dec 29 13:06:04 Just seems there's some minimum time it needs to be held? Dec 29 13:09:34 Herrie: could you try to tap in right upper corner in different orientations to see when it stops work? Dec 29 13:21:24 nizovn: All 4 top right corners in 4 orientations seem fine Dec 29 13:21:34 I guess it just sometimes doesn't register the touch somehow Dec 29 13:21:42 But that might be touchscreen calibration or something Dec 29 13:21:47 Not much you can fix Dec 29 13:22:46 I need some PmTpUpdater alike tool I guess for the Nexus :P Dec 29 13:22:49 Let me Google a bit Dec 29 13:51:42 nizovn: On Mako the logging doesn't show anything at all Dec 29 13:51:49 So no newPos Dec 29 13:51:59 Could be something with the Mako though Dec 29 19:39:16 nizovn: On your problem with the Units.gu: I think the default when it's not specified in the device .conf file in luna-sysmgr = 8 Dec 29 19:39:28 https://github.com/webOS-ports/luna-sysmgr/blob/webOS-ports/master/conf/luna-qemux86.conf doesn't have anything specified Dec 29 19:40:01 As per: https://github.com/webOS-ports/luna-next/blob/master/plugins/common/units.cpp#L23 Dec 29 19:41:05 Mako/Maguro has it set to 18, TP to 10, Grouper to 14 Dec 29 19:41:29 Most proper solution would probably be to add a GridUnit value for qemux86 in it's config file Dec 29 19:43:53 I'm not 100% sure how the conf files work though. Seems luna.conf is the "main" conf file and then each device specific one seems to overwrite values where needed... I.e. At least that's how I think it gets to 1024*768 resolution for emulator Dec 29 19:45:20 Herrie: what is problem with units.gu? Dec 29 19:46:13 nizovn: Just that it's not the most proper solution ;) Dec 29 19:46:22 And not consistent with what we use elsewhere ;) Dec 29 19:46:27 Nothing wrong with it per se ;) Dec 29 19:46:36 Just trying to explain where I believe it comes from Dec 29 19:46:56 You can try adding the GridUnit=10 to the conf file on vbox and see what it does Dec 29 19:47:05 Might make the UI look better actually Dec 29 19:47:13 Since TP = 1024 * 768 as well Dec 29 19:47:20 So 8 might actually a bit off on emu Dec 29 19:49:07 ok, now ui looks larger, not sure it's better though :) Dec 29 19:51:30 Nizovn: it shoul be more like TP Dec 29 19:51:33 Where is the conf file? Dec 29 19:51:39 I couldn't find it quickly :P Dec 29 19:52:43 test Dec 29 19:52:54 "/etc/palm/luna-platform.conf" Dec 29 19:53:27 ah, messages starting with / don't work Dec 29 19:54:00 Yeah ;) Dec 29 19:54:45 nizovn: It's not that bad ;) It's a little bigger but more like TP ;) Dec 29 19:55:30 if i set gridunit=4, and use units.gu(0.1), i will have tiny ui without reticle :) Dec 29 19:59:34 nizovn: LOL, I fixed the Tweak that never worked so you can disable it in Tweaks now. I was only driven by luna-platform.conf earlier, now it looks at that + Tweaks ;) Dec 29 20:00:26 good :) Dec 29 20:01:59 You can also disable the virtual gesture bar in Tweaks now if you like ;) Some users didn't like it on TP :P Dec 29 20:02:08 Was easy enough to add a Tweaks for so did so ;) Dec 29 20:03:13 thanks, i'm also working on screen edge gesture handling Dec 29 20:03:22 nizovn: That's a nice one to have :D Dec 29 20:05:16 Can you update the ReticleArea.qml? I'll merge the luna-next and can add the GridUnit for the emu if you want? Dec 29 20:07:08 not sure, you want me to use Units.gu(0.1) for initialScale? Dec 29 20:08:08 As per Tofe's suggestion. Will then merge, do a build and play a bit with it and will also try the 4* resolution image Dec 29 20:09:50 it will not work with gridunits<5. i see nothing wrong with current state :P Dec 29 20:12:33 I did the luna-qemux86.conf already :P Dec 29 20:14:26 ok Dec 29 21:52:36 I see you worked it all out :p Dec 29 21:53:15 Sorry I'm really out of time these days, should be better when all these carols will be over Dec 29 21:54:04 First thing I'll put my head in will be the cpu hog for webappmanager Dec 29 22:00:59 Tofe: Sounds good Dec 29 22:01:09 I'm just playing with some small stuff mainly in LNC Dec 29 22:01:20 Adding some Tweaks, fixing a few bugs here and there Dec 29 22:01:32 Getting notification stuff worked out et Dec 29 22:01:34 etc Dec 29 22:07:15 Tofe: I can still crash the webappmgr randomly when trying to create a dashboard Dec 29 22:07:39 https://bpaste.net/show/814d6d6dda69 **** ENDING LOGGING AT Wed Dec 30 02:59:59 2015