**** BEGIN LOGGING AT Tue Apr 21 02:59:58 2015 Apr 21 03:32:04 We are reading a benefit of switching to enyo-webos: simple mocks so we can test layout in the browser. Apr 21 03:33:45 All we have to add to the LunaService is “mock: ! ('PalmSystem' in window)”, and create the appropriate JSON file. Apr 21 05:10:06 hullo Apr 21 05:29:24 hello from my new touchpad :-O Apr 21 07:23:56 morning Apr 21 07:31:42 o/ Apr 21 07:33:04 Herrie: Are you using a Veer as your daily driver? Apr 21 07:36:50 Yes :) Apr 21 07:37:28 nice! Apr 21 07:37:48 I just received a 16GB TouchPad (: Apr 21 07:40:59 I have some 32GB ones and 4G one :) Apr 21 07:41:06 And some Go's :P Apr 21 07:41:21 Spent too much on webOS hardware LOL Apr 21 07:41:48 this is my first webOS device, but I have loads of PalmOS stuff :S Apr 21 07:42:39 although right now I'm putting android on it Apr 21 07:42:40 * Ziginox ducks Apr 21 07:49:24 Well you can dual or tripple boot with LuneOS :) Apr 21 07:49:49 Which is our baby here ;) Open source webOS with latest technology under the hood :) Apr 21 07:59:08 morning Apr 21 08:00:46 Tofe: morning Apr 21 08:00:48 Did a PR Apr 21 08:01:04 Sorry forgot I did code formatting so it might look a bit messy Apr 21 08:01:11 Actual changes are small Apr 21 08:01:27 I didn't test them on N4 yet so feel free to do so Apr 21 08:01:51 The arrows took a bit of work, maybe not the prettiest code but it works :P Apr 21 08:02:45 Herrie|Veer: yes, the way your QtCreator reformats code is a bit intrusive :) But I'll try it when I'll get home Apr 21 08:03:12 It's the standard options, happy to change to yours :P Apr 21 08:03:41 I'll have to look, I'm not even sure I changed them once Apr 21 08:04:37 Herrie|Veer: are you on windows? Apr 21 08:04:50 Tofe: Yeah Apr 21 08:05:07 ok, let me see, I have a windows QtCreator right now Apr 21 08:05:12 I tested with 10 tabs all seems to work fine for me :P Apr 21 08:05:22 :) Apr 21 08:05:28 Arrows were giving me headaches but got that sorted Apr 21 08:06:11 Just now it doesn't show "half" tabs again so we need to see how drag and drop behaves. Might need a bit of tweaking there. Apr 21 08:07:31 s/again/anymore Apr 21 08:09:17 Herrie|Veer: oh, now I understand the formatting thing: you use "Reformat file" tool Apr 21 08:09:58 Ehm yeah because usually after I'm done "playing" it's one big mess :P Apr 21 08:10:07 It's too aggressive reformatting I think, you should consider using Ctrl+i instead on a text selection Apr 21 08:10:40 That's what I use, and it does the job quite well without modifying too much Apr 21 08:11:18 Ah OK. I can close this and retry? So it looks cleaner? Apr 21 08:12:07 well, it won't remove the reformatting it has done before, so I don't think it would change much Apr 21 08:13:36 but what I'd like to do is to remove the formatting changes that are not related to the tweaks, so that it's easier to see what has changed Apr 21 08:14:51 For example, we could then more easily spot the fact that you made a little mistake during your latest rebase :) Apr 21 08:15:12 You accidentally removed the fix for the vertical scrolling of tab content Apr 21 08:21:59 Herrie|Veer: what's a tab indicator, exactly ? It is different than, let's say, a tab ? Apr 21 08:22:26 Ehm no it's a tab actually Apr 21 08:22:47 Tofe: Let me rebase the changes Apr 21 08:23:23 ok, I'm continuing my little review, that way I discover what has changed :) Apr 21 08:23:29 I thought I took latest branch Apr 21 08:23:35 Let me redo :P Apr 21 08:24:12 Herrie|Veer: I think you rebased, but didn't take the correct merge decision for the fix changes Apr 21 08:24:14 A tab is the tab itself, an indicator is like a label Apr 21 08:24:23 Herrie|Veer: ok :) Apr 21 08:24:42 Because you don't see 4 or 2 tabs at the same time, just their label Apr 21 08:24:55 Hence I named it indicators but happy for other suggestions :P Apr 21 08:25:18 I don't have particulary wonderful ideas right now Apr 21 08:25:53 I wasn't 100% convinced myself but lacking something better settled for this Apr 21 08:26:28 Herrie|Veer: if you happen to have to do the merge again, can you take out most of the reformatting ? Just the parts that haven't been impacted by your changes Apr 21 08:32:24 wow, quite a logic do determine if an arrow is visible :) Apr 21 08:37:21 Tofe: Yeah I'm sure that could be optimized... Seems I need to tweak it a bit more for 2 tabs :P Apr 21 08:38:17 Ah fixed :P Apr 21 08:38:22 I think I'm OK now Apr 21 08:38:28 Let me do a new PR Apr 21 08:39:16 Herrie|Veer: I know you don't like that layout, but I'd like to make so that the "default" (name it as your like of course) nb of tabs indicator results in having the current behavior... Apr 21 08:39:47 currently it means "all" or "2" depending on screen portait/landscape Apr 21 08:41:08 But so far, it is the only layout that allow drag'n'drop through all the tab indicators Apr 21 08:43:11 Tofe: I knew you would say that :P Apr 21 08:43:26 I did a new PR that's a lot cleaner Apr 21 08:45:23 hmpf... why don't I get all the logoutput from a webapp in journalctl in the emulator? It seems it just stops after a few messages. Apr 21 08:47:36 and why isn't the webinspector working for me for emulator, again... Apr 21 08:49:27 Garfonso: No clue... I think emulator needs some more tlc.... Apr 21 08:50:16 I actually like developing with the emulator, because putty is way better than adb shell.. but it has some troubles.. :-( Apr 21 08:54:07 Herrie|Veer: looks far better indeed :) Apr 21 08:56:36 I'll make the change for the Screen stuff Apr 21 08:56:48 And the 4 has been fixed already Apr 21 08:58:01 ok, no rush Apr 21 08:59:36 morphis: it seems that "QTWEBKIT_INSPECTOR_SERVER=10.0.2.15:1122" environment variable is still necessary on emulator for webkit instpector... at least it now works for me after adding the variable to the systemd service file Apr 21 09:15:22 Tofe: Updated PR with suggestions & "default" behavior :) Apr 21 10:44:11 Herrie|Veer: ok thanks! I'll have a look Apr 21 10:49:01 yay.. fixed the google contact sync issue. Actually was an issue with account creation. :) Apr 21 10:51:27 Herrie|Veer: looks good, just had 2 little comments. I'll try it on N4 this evening :) Apr 21 11:04:04 Tofe: OK I will too :) Apr 21 12:23:10 Garfonso: Any easy way to test your changes? Apr 21 13:04:09 sure. I have a bat file with these contents: https://bpaste.net/show/032d93c8e672 Apr 21 13:04:53 if you run that in the root of the repository, it will copy the new version to your N4 using adb. Apr 21 13:09:55 Great will give it a go :) Apr 21 13:10:04 When home and have working adb :P Apr 21 14:43:08 Tofe: Updated PR based on your comments. Apr 21 16:31:07 Herrie|2: thanks Apr 21 16:45:30 Herrie|2: where should I put the patch json file? Apr 21 16:45:41 s/patch/tweaks/ Apr 21 16:48:15 found it Apr 21 17:07:56 I made progress on the Messaging app last night. enyo-webos’s mocks are quite useful for developing in the browser. Apr 21 17:08:54 DougReeder: Nice! Apr 21 17:09:39 Tofe: How is it working besides the highlight issue? Apr 21 17:09:44 Herrie|Veer: apart for some little bugs, it looks nice, I must say :) Apr 21 17:10:24 However, I think that your arrows might not gracefully survive a flick of the tabs Apr 21 17:10:34 The JSON files don’t get built into the app, so the impact on the built app is negligible. Apr 21 17:11:10 Tofe: not sure didn't test much on device Apr 21 17:11:19 Herrie|Veer: What you need for the arrows, IMHO, is the "header" and "footer" properties of the ListView of tabs Apr 21 17:11:24 But looks OK in QtCreator in general. Apr 21 17:11:49 Herrie|Veer: try to flick a bit the tabs when arrows are enabled, with 1 tab per page Apr 21 17:13:16 my suggestion for the highlight range seems to be unsuccessful. I don't know why yet, though. Apr 21 17:18:05 OK, well for a first try it's not bad I guess :P Need a few tweaks :) Tab width and arrows are trickiest, but tried to keep a bit of flexibility :) Apr 21 17:20:02 yes, I begin to like also this sort of layout. Though I'm not sure yet how to handle the drag'n'drop if there are no arrows and we are not my the "default" mode Apr 21 17:20:31 If there are arrow, no pb, we change the tab when dragging over the arrow. But if there's no arrow... Apr 21 17:22:04 Herrie|Veer: I think using header and footer properties of ListView will simplify the code for arrows a lot Apr 21 17:22:10 Maybe nasty but a transparent image when no arrows are there? So the drag still work? Apr 21 17:22:49 Herrie|Veer: or we could test the mouse position in the tabs, that's quite easy Apr 21 17:23:16 I'll take in charge the drag issues :) Apr 21 17:23:55 OK :) I'll look into header and footer use. Though current arrow code is OK just not very efficient :P Apr 21 17:26:16 Herrie|Veer: only problem with current code is when you flick the tab titles Apr 21 17:26:59 I gave header and footer a quick try: not a so good idea, after all. Apr 21 17:27:14 ok Apr 21 17:27:39 but I think there should only be one instance of each arrows for the whole list of tabs Apr 21 17:28:37 yes, that seems to be the good approach Apr 21 17:29:06 forget about header and footer, but instead of putting the arrows in each buttons, put it in the LIstView item itself Apr 21 18:00:05 Tofe: Yeah that might work :) Apr 21 18:03:47 Herrie|2: yeah, I'm curious about luneos Apr 21 18:03:57 right now I have it set up as dualboot with stock webOS Apr 21 18:07:40 Ziginox: Tripple boot should be possible but haven't tried it myself yet Apr 21 18:09:57 can I swap to LuneOS without removing android? Apr 21 18:19:18 I think so Apr 21 18:19:45 Moboot has no restrictions for this Apr 21 18:21:39 You should be able to just follow the instructions on wiki for dualboot I think **** ENDING LOGGING AT Wed Apr 22 02:59:58 2015