**** BEGIN LOGGING AT Sun May 03 03:00:00 2015 May 03 09:09:09 Herrie: ping May 03 09:09:19 Tofe: pong May 03 09:09:45 You just caught me at the right time, just came home and sat down 3 seconds ago LOL May 03 09:10:17 Herrie: in order to have a more realistic desktop testing of the keyboard, I would need to have symlinks in the git repo... do you think that's be ok ? it will only be for the tests, I don't do any change in the main source directories May 03 09:10:19 :) May 03 09:10:55 it works on my linux of course, but I'm not sure for others May 03 09:11:27 Tofe: I can test on Windows but cannot really do symlinks there? May 03 09:11:46 Windows supports directory symlinks iirc May 03 09:11:53 but for files, that's another story May 03 09:12:12 I'll push it, and also test that at work May 03 09:12:57 I can test it here on Windows May 03 09:13:16 Would be good if it works in QtCreator, can really help in getting different keyboard layouts developed quickly :D May 03 09:13:31 For the people who want azerty, Dvorak or the thumb keyboard :P May 03 09:13:44 exactly May 03 09:14:20 I'm OK with regular QWERTY :P May 03 09:14:23 pushed tode/test-keyboard May 03 09:14:26 tofe* May 03 09:14:34 But I know "you French" like AZERTY more ;) May 03 09:14:42 Even though there's no real need for it :P May 03 09:15:11 yeah, hurray for historical dumb reasons... May 03 09:15:48 "I still like to code in C++ with my mechanical typewriter" May 03 09:16:03 LOL ;) I can do ç é è á etc without issues on my US International keyboard ;) May 03 09:16:38 We DO have some NL keyboard layout but it's very rare to see nowadays :P May 03 09:16:56 20 years ago it existed quite commonly but now almost everybody uses a US International one ;) May 03 09:17:08 you don't have weird letters like the Danish or Swedish ones? May 03 09:19:07 Well we have ocasionally but we can use the US International layout to do ö, ë etc ;) May 03 09:19:18 For the rest we just have the 26 regular letters ;) May 03 09:20:07 ok :) May 03 09:21:02 But yeah Norwegian and Danish might be more challenging with their letters ;) May 03 09:21:20 Tip: with a long-press on the language key on the vkb, you can switch language May 03 09:25:50 Cool let me try May 03 09:27:21 https://github.com/git-for-windows/git/issues/117 <-- it's far from being obvious on windows. I think I should really avoid these symlinks. May 03 09:28:51 Which file I should open? May 03 09:28:55 The .pro in root? May 03 09:29:00 That crashes my QtCreator :P May 03 09:42:00 no the qmlproject in tests/qmltests/keyboard-test/keyboard-test May 03 09:47:47 https://bpaste.net/show/82b7a38c062b May 03 09:48:50 yeah, doesn't work... I'll try to figure out something else. May 03 09:50:22 I can do other stuff by manually moving files but that's not ideal of course ;) May 03 09:50:25 The problem is that the directory structure of the sources is quite different from the install directory structure: in the source code, the language are regrouped in a plugin subfolder, with C++ and qml code put together. But in the install, the qml files are installed in a lib// subfolder of the main files. So it doesn't match. May 03 09:50:45 I would like to avoid doing copies, so that we always modify the real source file, not a copy May 03 09:50:52 otherwise we'll make mistakes, for sure May 03 09:51:42 Yeah I agree May 03 09:52:02 I got the english layout to show after copying stuff May 03 09:52:36 yes, makes sense May 03 09:59:34 Any easy way to switch between the different layouts for a single language (email, url and regular). We might want to add something that will show on desktop only to switch? May 03 10:05:50 That'll be in keyboard-test.qml, in the properties, there is one property driving that, but I don't know yet which one :) May 03 10:06:13 ah yes, contentType May 03 10:07:14 0 -> text, 1 -> number, 2 -> telephone, 3 -> email, 4 -> url May 03 10:59:13 Herrie: I think I've found a way May 03 10:59:27 Reasonably intrusive in the source code May 03 11:02:43 :D May 03 11:03:47 I've made the change for the english keyboard and the maybe-webos keyboard, and the same change has to be done for the other languages, but I think it's ok May 03 11:04:10 it's pushed now, replace the previous commit May 03 11:04:13 replacing May 03 11:12:19 Now I've done all the other languages. Care to try ? May 03 11:14:45 OK let me try May 03 11:14:50 Was having quick lunch ;) May 03 11:15:08 oh, sure May 03 11:17:17 I've already done a test on N4, it doesn't seem to break everything May 03 11:26:40 :D May 03 11:26:41 Nice May 03 11:26:46 Works OK for me too :) May 03 11:27:09 Herrie: I'm adding some nice stuff above the keyboard to change the settings interactively May 03 11:27:12 Will try and see if I can work out something that can resize the keyboard for XS, S, M, L like legacy May 03 11:27:41 Herrie: you can already resize the keyboard as you wish, to simulate landscape or portrait May 03 11:27:45 Should be quite straight forward. Add a button similar to language with the XS, S, M and L option and adjust the heights accordingly? May 03 11:28:18 Herrie: the window represents the screen, in this test May 03 11:28:49 oh, there was such option? didn't know :) May 03 11:29:03 Yeah ;) May 03 11:31:19 Long press on the "hide vkb" button ;) May 03 11:31:34 Let me paste some screenshots May 03 11:34:05 https://github.com/webOS-ports/webos-keyboard/commit/10332246d101387c69b228a33fa12504dc3bf091 <-- now we can begin to play with it May 03 11:36:11 Tofe: http://tinypic.com/r/11lj1uh/8 + http://tinypic.com/r/33e64r7/8 (that's L), http://tinypic.com/r/nd8ort/8 (that's M), http://tinypic.com/r/6gj12f/8 (That's S) and http://tinypic.com/r/noasxw/8 (XS) May 03 11:38:16 ok it's only the height of the keys; hopefully that will quite easy to implement May 03 11:43:06 Yeah shouldn't be too hard May 03 11:50:44 Ok, now we have all the layouts working in the test project May 03 11:51:21 Apart if you see a major flaw, I'll PR it May 03 11:51:38 mmh May 03 11:51:46 I should test the compilation first May 03 11:55:24 How you want to go about portrait and landscape layout (i.e. tablet v.s. phone) May 03 11:55:36 Legacy EFIGS differentiated between them May 03 11:57:09 https://github.com/openwebos/keyboard-efigs/tree/master/src May 03 11:57:59 portrait and landscape are already differentiated; but not phone vs tablet May 03 11:58:29 I don't know yet how to get that info from within the maliit plugin May 03 12:00:21 samewise, the dpi isn't retrieved currently May 03 12:03:42 ok, seems to work. May 03 12:05:13 morphis: https://github.com/webOS-ports/webos-keyboard/pull/19 May 03 12:09:28 Tofe ah OK May 03 12:09:36 Not sure how Jolla/Ubuntu guys did it May 03 12:10:15 oh well, for us it's just a matter of asking LunaSysManager about the value May 03 12:14:14 Yeah ;) It should be :) May 03 12:33:38 This new test framework is very convenient to fix layout issues, I regret not having done that before! May 03 13:10:28 :D **** ENDING LOGGING AT Mon May 04 02:59:59 2015