The Small layout for Onboard is missing russian letter Ж (je)

Bug #1534210 reported by Jacob Popov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
Medium
Unassigned
onboard (Ubuntu)
Fix Released
High
Unassigned

Bug Description

When using Onboard with the Small layout, the layout for Russian is missing the letter Cyrillic Ж (je).
Steps to reproduce:
1) Set up the input in Russian language in the System Preferences.
2) Start Onboard
3) Switch to Russian language
4) The last letter in the second row should be Ж (je) for Russian, not ' (apostrophe).

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: onboard 1.1.2-0ubuntu1
Uname: Linux 4.4.0 i686
ApportVersion: 2.19.1-0ubuntu5
Architecture: i386
CurrentDesktop: Unity
Date: Thu Jan 14 19:00:33 2016
InstallationDate: Installed on 2016-01-10 (4 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release i386 (20151021)
ProcEnviron:
 LANGUAGE=ru
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: onboard
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Jacob Popov (j-a-popov) wrote :
Revision history for this message
Jacob Popov (j-a-popov) wrote :

The problem lies in the file /usr/share/onboard/layouts/Small-RU.onboard
The lines 52-53 are
          <key group="alphanumeric" id="AC10" keycode="47" layout="be,fr,cm(azerty)"/>
          <key char="'" group="alphanumeric" id="AC10" label="'"/>

To fix the bug I added an extra line like this:
          <key group="alphanumeric" id="AC10" keycode="47" layout="be,fr,cm(azerty)"/>
          <key group="alphanumeric" id="AC10" keycode="47" layout="ru"/>
          <key char="'" group="alphanumeric" id="AC10" label="'"/>

That's it, Onboard works OK now.

tags: added: onboard
Revision history for this message
Jacob Popov (j-a-popov) wrote :

The fixed layout file.
I renamed it and changed the description to leave the original file intact.
The only relevant change is the added line #53.

Revision history for this message
Francesco Fumanti (frafu) wrote :

Thanks for your interest in Onboard and for filing this bug with a solution. I think that replacing line
<key group="alphanumeric" id="AC10" keycode="47" layout="be,fr,cm(azerty)"/>
with line
<key group="alphanumeric" id="AC10" keycode="47" layout="be,fr,cm(azerty),ru"/>
should also work.

Could you please check?

Thanks in advance.

Revision history for this message
Jacob Popov (j-a-popov) wrote :

Yes, sure! I've just noticed that there are more Cyrillic letters missing... I'm going to test it all and produce a fully-fixed file.

Revision history for this message
Jacob Popov (j-a-popov) wrote :

The fixed layout file. Fixed 4 buttons.

Revision history for this message
Jacob Popov (j-a-popov) wrote :

One more change, I think this will come handy in Russia. I changed one of the symbol signs to rouble, as that is Russian currency.

Revision history for this message
marmuta (marmuta) wrote :

Thanks a lot. Shouldn't we add back the single quote somewhere, though? I realize the regular Russian key map doesn't contain it, but the phonetic flavors do. We could perhaps make room for it on the number layer by moving the ampersand to the symbols layer.

Changed in onboard:
status: New → Confirmed
importance: Undecided → Medium
Changed in onboard (Ubuntu):
status: New → Confirmed
Revision history for this message
Jacob Popov (j-a-popov) wrote :

Hmm. I've just realized that we've still got a letter missing! The Russian Э (sounds like a as in 'apple') is rarely used but still...
I'm thinking of where to put that letter... On the full keyboard it's located to the right of Ж. That is, these letter replace English ; and '.

Changed in onboard (Ubuntu):
importance: Undecided → High
Revision history for this message
marmuta (marmuta) wrote :

How about adding э/Э to the long-press popups of Russian е/Е? Possibly ӭ/Ӭ too.

Revision history for this message
marmuta (marmuta) wrote :

Thanks again for bringing attention to this, Jacob. I've pushed a couple of commits recently that I believe fix this bug. Find attached a screen shot of the new Small layout for Russian. If you think there should be any further changes, please let us know.

Here's what changed:
- There's an extra column of three keys in the main layer, which shows only for Cyrillic key maps.
- Cyrillic Yo ё/Ё can be reached by long-pressing Cyrillic Ye е/Е only. It's rare, though, only three occurrences out of 44k words of our Russian language model.
- The single quote is permanently available on the numbers layer.
- The Ampersand moved to the symbols layer, replacing the Korean Won symbol ₩. ₩ is still available on long-press of any currency symbol.
- The Russian ruble symbol ₽ replaces the Cent ¢ symbol on the symbols layer. ¢ is still available on long-press of any currency symbol.

If you can look it over, please do. I'm going to ask Francesco for a snapshot too, so you can test it in action.

Lastest commit:
http://bazaar.launchpad.net/~onboard/onboard/trunk/revision/2010

Also, for the record: Onboard's default layout is "Compact" which isn't affected by this bug report.

Changed in onboard:
status: Confirmed → Fix Committed
Revision history for this message
Francesco Fumanti (frafu) wrote :

A Snapshot of trunk revision 2010 of Onboard containing the current changes of the Small layout is available in our Snapshots PPA:
https://launchpad.net/~onboard/+archive/ubuntu/snapshots

Revision history for this message
Jacob Popov (j-a-popov) wrote :

Thank you, marmuta! Thank you, Francesco!
Tested the new build from PPA on Ubuntu Wily. Great work! Your solution is elegant and nice.
Looking forward to seeing it in the Ubuntu mainline!
The problem is solved for Russian.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.9 KiB)

This bug was fixed in the package onboard - 1.2.0-0ubuntu1

---------------
onboard (1.2.0-0ubuntu1) xenial; urgency=medium

  * Request for sponsorship for new upstream release (LP: #1547054)
  * debian/control: add gnome-shell-extension-onboard package
  * debian/copyright: rewrite to use machine readable DEP-5 format
  * debian/onboard.lintian-overrides: remove
  * debian/source.lintian-overrides:
    - false missing license warnings: the license texts are in separate files
  * debian/onboard.install:
    - remove usr/share/dbus-1 entry
    - replace usr/share/onboard/COPYING with usr/share/onboard/COPYING*
    - add usr/share/onboard/HACKING entry
    - add usr/share/help/C/onboard entry
    - add usr/share/man/man1 entry
  * debian/gnome-shell-extension-onboard.install: create
  * Word suggestions and auto-correction:
    - Add arrows to page through more suggestions and option to turn them off
    - Show capitalized suggestions even when SHIFT is off
    - Don't place the remove suggestion dialog behind Onboard
    - Improve behaviour of auto-punctuation
    - Begin preparations for lazy word separator insertion
    - Disable punctuation assistance when entering commands in the terminal
    - Disable spelling suggestions for URLs and file names
    - Disable auto-capitalization of URLs and file names
    - Add Bulgarian system language model
  * Layouts:
    - Improve Phone layout for cyrillic languages
    - Improve Small layout for cyrillic languages (LP: #1534210)
    - Shorten key label "horiz\nconn" to Gdk provided "ho"
    - If the layout contains a keysym error, show full hexcode of keysym
  * License and copyright information: (LP: #1412647)
    - Clarify the information
    - Update the information
    - Make it all available in the COPYING file
  * Unit tests:
    - Add test for modifier unlatching
    - Fix regression when importing Gtk without first specifying the version
    - Adapt to the removal of onboard-defaults.conf.nexus7
  * Preferences dialog:
    - Make Preferences->Keyboard->Advanced scrollable
    - Add status-icon-provider setting to Preferences (LP: #1454405)
    - Show sticky-key-release-on-hide-delay setting in Preferences
    - Rename "User layouts" to "My layouts"
  * Add initial GNOME Shell extension for Onboard
  * Replace old documentation with initial documentation in mallard format
  * Add man pages (thanks Mike Gabriel)
  * Detect default prompt of fish interactive shell in DomainTerminal
  * Add support for flake8
  * Type SHIFT+key on right click for uppercase letters, etc.
  * Add new auto-show repositioning method for reduced pointer travel
  * Add command to the licensing tool for writing licensing headers to files
  * Update tools/licensing list-committers to skip binary and unversioned files
  * Disable click sound in space feature, but keep gsettings key (LP: #1529140)
  * Remove copyright sign from service file to appease pbuilder
  * Allow the letter_frequencies tool to take a filename of a language model
  * Make builds on debian reproducible, thanks Mike Gabriel (LP: #1530519)
  * Update and improve the description of a number of gsettings keys
  * Don't auto-save language models while ke...

Read more...

Changed in onboard (Ubuntu):
status: Confirmed → Fix Released
Changed in onboard:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.