REGRESSION: can't type characters with accent (dead keys)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nux |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
Unity |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
nux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) |
Bug Description
Affects Unity 5.6.0. Also affects 5.8.0-0ubuntu2.
Characters that are produced using dead keys cannot be typed well on neither Dash, nor Lenses. Specifically, if you hit twice a dead key, then Dash/Lens get "desyncronised" and do not accept any more dead keys (they print the accent at once when you press the dead key).
Such characters exist for Latin scripts (like á, à, é, í, ó, ú, ã, õ, ñ, ü), Greek (ά έ ή ί ό ύ ώ ΐ ) and Cyrillic.
How to reproduce:
1. With a keyboard layout that can produce characters with dead keys, open Dash
For example, the US (US International with dead keys) keyboard layout.
2. Type á (' + a = á)
What happens:
When you open the Dash/Lens and you press a dead key combination, it works.
If you press twice the dead key (by accident), then you cannot enter anymore characters composed from dead keys. You need to press Esc and bring back again Dash/Lens for it to work.
Additionally, if your keyboard layout requires "AltGr + somekey" for your dead key, (probably) the existence of AltGr messes up Dash/Lens and you cannot enter dead keys at all. That is the case for Greek where we cannot type deadkeys at all.
What should happen:
The accent should not be drawn when you press the dead key. It should wait the next letter (e.g. press 'AltGr + ;' and press 'a' should give 'á')
Related branches
- Andrea Azzarone (community): Approve
-
Diff: 458 lines (+144/-63)2 files modifiedNux/TextEntry.cpp (+37/-4)
tests/gtest-nux-textentry.cpp (+107/-59)
- Brandon Schaefer (community): Approve
-
Diff: 275 lines (+144/-32)3 files modifiedNux/TextEntry.cpp (+35/-31)
Nux/TextEntry.h (+1/-1)
tests/gtest-nux-textentry.cpp (+108/-0)
- Brandon Schaefer (community): Approve
-
Diff: 1945 lines (+1462/-363)4 files modifiedNux/TextEntry.cpp (+4/-4)
Nux/TextEntryComposeSeqs.h (+1224/-354)
tests/gtest-nux-textentry.cpp (+65/-5)
tools/compose_key_list_generator.py (+169/-0)
description: | updated |
summary: |
- REGRESSION: can't type characters with accent (dead keys) + REGRESSION: can't type Greek characters with accent (dead keys) |
summary: |
- REGRESSION: can't type Greek characters with accent (dead keys) + REGRESSION: can't type characters with accent (dead keys) |
description: | updated |
Changed in unity: | |
status: | Incomplete → New |
Changed in unity: | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
assignee: | Brandon Schaefer (brandontschaefer) → Marco Trevisan (Treviño) (3v1n0) |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in nux: | |
status: | New → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in nux: | |
status: | In Progress → Fix Committed |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Committed |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in unity (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in nux: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
milestone: | none → 6.2 |
Changed in nux: | |
milestone: | none → 3.2 |
Changed in unity: | |
milestone: | 6.2 → none |
Changed in nux: | |
status: | Fix Released → Fix Committed |
Changed in unity: | |
milestone: | none → 6.2 |
Changed in nux: | |
status: | Fix Committed → Fix Released |
Is that still an issue with latest unity i.e. 5.8 ? Are you able to reproduce this bug on a fully upto date precise machine?