cannot enter Russian capital letters using shift; "-" key is empty in Russia Phonetic

Bug #309844 reported by Ivan Stetsenko
2
Affects Status Importance Assigned to Milestone
xkeyboard-config
Fix Released
Medium
xkeyboard-config (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

1) When I'm trying to enter a capital Russian letter using Shift key, I'm getting a lower case symbol. Caps Lock (shift+caps lock in my case) work fine. Shift + numbers works fine as well

2) Symbol "-"/"_" does not included into Russian Phonetic layout.

ii xorg 1:7.4~5ubuntu7

Revision history for this message
Ivan Stetsenko (stetzen) wrote :

It can be fixed quit easily by changing /usr/share/X11/xkb/symbols/ru file. In the phonetics section a line

    key <AE11> { [ minus, underscore ] };

need to be added and lines like

    key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] };

should be changed to

    key <AD01> { [ Cyrillic_ya, Cyrillic_YA ] };

Corrected file is attached, hope it will be used in future releases.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for attaching the file. I think we may want to forward this upstream for review and incorporation.

Changed in xkeyboard-config:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=22884)
0001-ru-Fix-shift-key-for-Russian-letters-include-_-i.patch

Another report from a ubuntu reporter:
https://bugs.edge.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/309844

[Problem]
Shift doesn't work on Russian letters, and -/_ is missing from Phonetic layout.

[Original Report]
1) When I'm trying to enter a capital Russian letter using Shift key, I'm getting a lower case symbol. Caps Lock (shift+caps lock in my case) work fine. Shift + numbers works fine as well

2) Symbol "-"/"_" does not included into Russian Phonetic layout.

It can be fixed quit easily by changing /usr/share/X11/xkb/symbols/ru file. In the phonetics section a line

    key <AE11> { [ minus, underscore ] };

need to be added and lines like

    key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] };

should be changed to

    key <AD01> { [ Cyrillic_ya, Cyrillic_YA ] };

Corrected file is attached, hope it will be used in future releases.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Ivan, I've forwarded this upstream to https://bugs.freedesktop.org/show_bug.cgi?id=20093 - please subscribe to this bug in case upstream has questions.

Changed in xkeyboard-config:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Bryce Harrington (bryce) wrote :

Meantime, I've uploaded this to Ubuntu for jaunty. Thanks for your contribution!

Changed in xkeyboard-config:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xkeyboard-config - 1.5-2ubuntu4

---------------
xkeyboard-config (1.5-2ubuntu4) jaunty; urgency=low

  * Add 106_ru_fix_shift.patch: Shift doesn't work on Russian letters, and
    -/_ is missing from Phonetic layout.
    (LP: #309844)

 -- Bryce Harrington <email address hidden> Thu, 12 Feb 2009 21:36:22 -0800

Changed in xkeyboard-config:
status: Fix Committed → Fix Released
Changed in xkeyboard-config:
status: Unknown → Confirmed
Revision history for this message
In , Sergey V. Udaltsov (svu) wrote :

I understand about minus-underscore.
But could you (or the author) please explain about different keycodes? Essentially they are just aliases - there is no need to replace, functionally it is all equivalent.

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Okay, I was wondering about that. In that case please focus this bug only on the minus-underscore issue.

Revision history for this message
In , Sergey V. Udaltsov (svu) wrote :

minus/underscore added, please check in git

Revision history for this message
Bryce Harrington (bryce) wrote :

Upstream mentions that symbols like AE11/LatQ are just aliases so it should not be necessary to replace them. Please explain further why you found your issue required them to be changed?

Changed in xkeyboard-config:
status: Fix Released → Incomplete
Revision history for this message
Ivan Stetsenko (stetzen) wrote :

I've tried to figure out the cause of the bug and replaced the patched ru file with one I've found on the xorg website. Surprisingly, everything works fine, including the -/_ key. Unfortunately, I cannot understand the full structure of the xkb configuration, but it looks like the original problem was in inserting parts of kind of basic keymap into specific one. This caused both problem with alias recognition and -/_ bug, and it was fixed at some point. So that my "patch" used to fix only the symptom and was just a workaround. Sorry about that.

Changed in xkeyboard-config:
status: Confirmed → Fix Released
Bryce Harrington (bryce)
Changed in xkeyboard-config:
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Fixed patch queued for next xkeyboard-config upload.

Changed in xkeyboard-config (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xkeyboard-config - 1.5-2ubuntu8

---------------
xkeyboard-config (1.5-2ubuntu8) jaunty; urgency=low

  * Update 106_ru_fix_shift.patch: Remove extraneous parts to only
    change the minus/underscore issue. Upstream.
    (LP: #309844)
  * Add 109_de_low_quotemarks.patch: Add keys for typing low quotation
    marks. Upstream.
    (LP: #59572)
  * Add 110_fi_brokenbar.patch: Add keys for bar and broken bar symbols in
    the finnish keymap. Upstream.
    (LP: #181595)
  * Add 111_si_rm_unnecessary_diagraph_layouts.patch
    and 112_si_rm_unnecessary_diagraph_layouts_basexmlin.patch:
    Remove unnecessary diagraph layouts. Upstream.
    (LP: #162462)
  * Add 113_kg_fix_kyrgyz_layouts.patch: Update to official Kyrgyz
    Republic layouts. Upstream.
    (LP: #198655)

 -- Bryce Harrington <email address hidden> Wed, 18 Mar 2009 22:02:42 -0700

Changed in xkeyboard-config:
status: Fix Committed → Fix Released
Changed in xkeyboard-config:
importance: Unknown → Medium
Changed in xkeyboard-config:
importance: Medium → Unknown
Changed in xkeyboard-config:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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