Compose key yields incorrectly accented Greek characters when using Greek keymap

Bug #1025291 reported by kgi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libx11 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Version info:

Description: Ubuntu 12.04 LTS
Release: 12.04

I use the compose key extensively; I find the compose system to be by far the fastest and most natural way of entering accented character.

Entering accented Greek characters is currently broken using composition (using unicode character entry works fine, but that's laborious and requires you to have memorised all the codes).

Specifically, Modern Greek only uses the "tonos" (and, rarely the "dialytika") to accent characters. Accents such as the "dasia", "psili", "varia", "oxia", and the "perispomeni" are never used in Modern Greek; they are only used in "Katharevousa" and Ancient Greek.

As such, the default character mapping for the ['] (right single quote) key should certainly be the "TONOS" bearing variants, and never the other variants. It would be OK for the other accents to be available via *other* keys, but not the right single quote, which a Greek-speaking user will always assume to yield the "tonos".

Note that even if the intention had *originally* been to allow the ['] key to be used to access some other type of accent, it's currently entirely inconsistent: for the alpha and epsilon it yields the varia, whereas for the iota it yields the psili, and so forth, which makes the current mapping entirely useless for Greek language entry.

For example:

[Compose + ' + a] appears to yield [U+1F70 GREEK SMALL LETTER ALPHA WITH VARIA], when it should be yielding [U+03AC GREEK SMALL LETTER ALPHA WITH TONOS]

[Compose + ' + e] appears to yield [U+1F72 GREEK SMALL LETTER EPSILON WITH VARIA], when it should be yielding [U+03AD GREEK SMALL LETTER EPSILON WITH TONOS]

[Compose + ' + i] appears to yield [U+1F30 GREEK SMALL LETTER IOTA WITH PSILI], when it should be yielding [U+03AF GREEK SMALL LETTER IOTA WITH TONOS]

... and so forth.

The Greek vowels are alpha, epsilon, eta, iota, omicron, upsilon and omega; they all need to be fixed to yield the "tonos" variety, for both lower and upper case.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1025291/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
kgi (iacovou) wrote :

Not sure about the choice of gtk+3.0 as the package for this bug, but

    https://help.ubuntu.com/community/ComposeKey/

says that these keymaps are "hard coded into the program in source file [gtkimcontextsimple.c]", and

    http://svn.gnome.org/viewvc/gtk%2B/trunk/gtk/gtk-compose-lookaside.txt?view=markup

also indicates that gtk+ (as opposed to, say, the X.org packages) is the culprit here.

affects: ubuntu → gtk+3.0 (Ubuntu)
Revision history for this message
kgi (iacovou) wrote :

Here is the full list of simple single "tonos" combinations. Note that the key for 'upsilon' is in fact the 'y' key (not the 'u' key, which typically maps to theta), and the key for 'omega' is in fact the 'v' key (not the 'w' key, which typically maps to the terminal sigma).

Lowercase letters:

Compose + ' + a => U+03AC GREEK SMALL LETTER ALPHA WITH TONOS
Compose + ' + e => U+03AD GREEK SMALL LETTER EPSILON WITH TONOS
Compose + ' + h => U+03AE GREEK SMALL LETTER ETA WITH TONOS
Compose + ' + i => U+03AF GREEK SMALL LETTER IOTA WITH TONOS
Compose + ' + o => U+03CC GREEK SMALL LETTER OMICRON WITH TONOS
Compose + ' + y => U+03CD GREEK SMALL LETTER UPSILON WITH TONOS
Compose + ' + v => U+03CE GREEK SMALL LETTER OMEGA WITH TONOS

Uppercase letters:

Compose + ' + A => U+0386 GREEK CAPITAL LETTER ALPHA WITH TONOS
Compose + ' + E => U+0388 GREEK CAPITAL LETTER EPSILON WITH TONOS
Compose + ' + H => U+0389 GREEK CAPITAL LETTER ETA WITH TONOS
Compose + ' + I => U+038A GREEK CAPITAL LETTER IOTA WITH TONOS
Compose + ' + O => U+038C GREEK CAPITAL LETTER OMICRON WITH TONOS
Compose + ' + Y => U+038E GREEK CAPITAL LETTER UPSILON WITH TONOS
Compose + ' + V => U+038F GREEK CAPITAL LETTER OMEGA WITH TONOS

Revision history for this message
kgi (iacovou) wrote :

I've done some more digging around, and it now looks more likely that the culprit is the mappings in the file:

    /usr/share/X11/locale/el_GR.UTF-8/Compose

which belong to the package "libx11-data".

affects: gtk+3.0 (Ubuntu) → ubuntu
affects: ubuntu → libx11 (Ubuntu)
bugbot (bugbot)
tags: added: precise
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libx11 (Ubuntu):
status: New → Confirmed
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.