GSoC: June 02 - June 08

This is one of the reports about my GSoC project and cover the third week of “Students coding”.

At this third week I almost finish the problems with the layout. Bellow you will find more details about the past week and the plans for this one.

Math Keyboard Layout

I wrote a little about the layout for the keyboard in another post and will happy to get feedbacks.

The open bugs, with patches, related with the keyboard layout are:

The biggest improve was the patch for Bug 1011482.

Screenshot of Flatfish with alternatives

The squares at the above pictures happens because the default font used by Firefox OS don’t have some symbols. I want to help solve this problem but still having problems to compile Gecko.

Troubles with Simulator

This week I start having troubles when using Firefox OS Simulator from App Manager because the Simulator always get disconnected. I reported this bug, see Bug 1020520, and try to test the patch for it (without success). Until this problem isn’t fixed at Nightly I’m using Firefox 29.

I also had some problems to debug the keyboard app when using Firefox OS Simulator 2.0. After some time I discovery that instead of use the “debug” feature of the keyboard I need to use the one from system. To help others I update a previous blog post.

Travis

I’m getting small problems with Travis because I forget to split long lines, break one of the keyboard tests

======================================================================
FAIL: None
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 163, in run
testMethod()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard.py", line 45, in test_keyboard_basic
self.assertEqual(self._string[:14] + ' ' + self._string[15:] + 'Æ'.decode("UTF-8"), output_text)
AssertionError: u'aG1 2Ds3~!=@.# ^a\u015bZ\xefd\xc6' != u'aG1 2Ds3~!=@.# ^a\u015bZ\xefd\u0100'
- aG1 2Ds3~!=@.# ^a\u015bZ\xefd\xc6
? ^
+ aG1 2Ds3~!=@.# ^a\u015bZ\xefd\u0100
? ^
TEST-UNEXPECTED-FAIL | test_keyboard.py test_keyboard.TestKeyboard.test_keyboard_basic |
----------------------------------------------------------------------
Ran 1 test in 28.859s

FAILED (failures=1)
TEST-START test_number_keyboard.py
test_number_keyboard (test_number_keyboard.TestNumberKeyboard) ... ok

and, sometimes, because some test “unrelated” with the keyboard fail

======================================================================
ERROR: None
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 163, in run
testMethod()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/accessibility/lockscreen/test_a11y_unlock_to_homescreen.py", line 23, in test_a11y_unlock_to_homescreen
self.wait_for_condition(lambda m: self.accessibility.is_hidden(homescreen_container))
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 864, in wait_for_condition
Wait(self.marionette, timeout).until(method, message=message)
File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 10.1 seconds
TEST-UNEXPECTED-FAIL | test_a11y_unlock_to_homescreen.py test_a11y_unlock_to_homescreen.TestLockScreenAccessibility.test_a11y_unlock_to_homescreen |
----------------------------------------------------------------------
Ran 1 test in 19.827s

FAILED (errors=1)
TEST-START test_a11y_phone_keypad.py
test_phone_keypad (test_a11y_phone_keypad.TestAccessibilityPhoneKeypad) ... ok

Others Keyboards Bugs

I’m also helping with some small improvements at the default keyboard:

  • Bug 1015309 - Symbol UI Keyboard should follow the recommendation
  • Bug 1021500 - Keyboard for Email shouldn’t have ‘_’ in the second row
  • Bug 1021502 - Keyboard for URL shouldn’t have ‘:’ in the second row
  • Bug 1021457 - Alternatives bubble should include the origin key

Others Flatfish Bugs

  • Bug 1021327 - No icons at homescreen when building with vertical homescreen as default

Plans for June 09 - June 15

I will start to work at IME features of the keyboard like “non-linear” input.