Impossible to insert non-Latin characters or diacritics with the keyboard

Bug #1163687 reported by Adolfo Jayme Barrientos
104
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Critical
Zsombor Egri
qtbase-opensource-src (Ubuntu)
Fix Released
Undecided
Timo Jyrinki
Declined for Raring by Timo Jyrinki

Bug Description

1. Have the new QML Gwibber open, with a Twitter account set up, and go to compose mode.
2. Have the English (International) keyboard layout, so you can insert accents by pressing the ['] key and a letter.
3. Try to write the word "ortografía".

In the text box, what appears is "ortograf´ia", instead of "ortografía".

See the attached screenshot.

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :
Changed in gwibber:
status: New → Invalid
Changed in friends-app (Ubuntu):
status: New → Invalid
Changed in ubuntu-ui-toolkit:
importance: Undecided → High
assignee: nobody → Zoltan Balogh (bzoltan)
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
assignee: Zoltan Balogh (bzoltan) → Zsombor Egri (zsombi)
Revision history for this message
Robert Bruce Park (robru) wrote :

Friends uses standard SDK text input boxes. This must get fixed at the toolkit level.

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

Yeah, I thought that as well.

no longer affects: gwibber
no longer affects: friends-app (Ubuntu)
Revision history for this message
Tim Peeters (tpeeters) wrote :

We have the same issue in the textfields in the UI toolkit component showcase.

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Revision history for this message
Robert Bruce Park (robru) wrote :

I am upgrading this to critical because it is by far *THE* single most often reported bug in lp:friends-app.

Changed in ubuntu-ui-toolkit:
importance: High → Critical
Revision history for this message
Robert Bruce Park (robru) wrote :

Adding friends and friends-app packages to this bug in the hopes that it might become easier to find for people trying to re-report this bug.

Changed in friends (Ubuntu):
status: New → Invalid
Changed in friends-app (Ubuntu):
status: New → Invalid
summary: - Impossible to insert diacritics, driving Good Spelling fans insane
+ Impossible to insert diacritics/accents, driving Good Spelling fans
+ insane
Revision history for this message
Florian Boucault (fboucault) wrote : Re: Impossible to insert diacritics/accents, driving Good Spelling fans insane
Revision history for this message
Jeroen Hoek (mail-jeroenhoek) wrote :

As mentioned in this duplicatie bug: https://bugs.launchpad.net/bugs/1179031

This is worse than just diacritics. You can't enter any Japanese, Korean, or Chinese text at all at the moment. If the bug I filed is a duplicate, could the summary of this bug be ammended to reflect that is an issue that affects all input methods?

Also affected:

* Compose key method of composing characters with a meta-key (e.g., right-alt, =, Y gives ¥; right-alt, -, -, gives —)
* All IME input methods, such as Japanese, Korean, and Chinese via ibus

summary: - Impossible to insert diacritics/accents, driving Good Spelling fans
- insane
+ Impossible to insert any kind of foreign characters with the keyboard
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote : Re: Impossible to insert any kind of foreign characters with the keyboard

Trying a backport of the https://codereview.qt-project.org/#change,51555 to 5.0.2, if it builds locally I'll push it to a PPA for testing and report back.

Changed in qtbase-opensource-src (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

This is available for saucy in qt5-beta2 PPA (https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2). I'd like to have before/after testing done on device, but using saucy on device is at the moment hard before the images generation is in full speed and network is working. The updated package also includes the fix for qtbase bug #1181359 (and the PPA contains newer qtpim and qtdeclarative).

The test procedure is: 1. Have the latest saucy image installed on your device. Log in, and do apt-get update && apt-get dist-upgrade on the device 2. apt-add-repository ppa:canonical-qt5-edgers/qt5-beta2 3. apt-get update && apt-get dist-upgrade (check that you get the PPA versions of the packages) 4. Reboot. Test!

After testing has been done, the updated version can be uploaded to saucy from lp:~kubuntu-packagers/kubuntu-packaging/qtbase-opensource-src_5.0.2 (orig tarball already in saucy archives)

Changed in qtbase-opensource-src (Ubuntu):
status: New → Fix Committed
Revision history for this message
Jeroen Hoek (mail-jeroenhoek) wrote :

What about Raring? Is this a fix that can get back-ported? The Friends app is now functionally broken for a lot of people.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Surely if this patch fixes the issue, it should be possible to backport the same fix also to the Qt 5.0.1 in raring (unless there is something blocking the patch to work with 5.0.1 vs. 5.0.2 in saucy). The policy is to first have the fix tested in a development release, so let's have that first.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Updated at qt5-beta2 (5.0.2+dfsg1-7ubuntu2~saucy1~test1). Now this should be testable also on device, since the 'flip' was made and saucy images work again.

Revision history for this message
Robert Bruce Park (robru) wrote :

Timo, is the procedure the same for testing this on the desktop? What steps would I take to insert a unicode character? (apologies, english-only speaker that never has any need to insert "foreign" characters).

Revision history for this message
Jeroen Hoek (mail-jeroenhoek) wrote :

#14:
Input of Unicode characters as such works, but only after copy pasting them. What is broken is the input methods normally provided via the UI toolkit. If you are testing under Unity or Gnome Shell, you could do the following to test such an input method:

Configure your Right Alt as 'compose key', by going to the Keyboard Layout settings, then 'Options…', and tick the Right Alt key under 'Compose key position'. Now you should be able to hit the Right Alt, and then consecutively type a '/' and an 'o' to get ø, or hit Right Alt and 's' and 's' to get ß. Basically any sensible composition of keys you can think of will yield the character you would expect. You can test the compose method in any text area on the desktop basically, such as this comment field, Gedit, and even gnome-terminal.

David Planella (dpm)
summary: - Impossible to insert any kind of foreign characters with the keyboard
+ Impossible to insert non-Latin characters or diacritics with the
+ keyboard
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

At least I'm not getting any improvement with only this one patch backported that is now included. I can't type letters like ü or í in Friends, like I can elsewhere. As such, I don't think the https://codereview.qt-project.org/#change,51555 alone is useful to backport unless someone proves otherwise.

Revision history for this message
Florian Boucault (fboucault) wrote :

Is this issue resolved with Qt5.1?

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Tested with Friends app, it seems to be fixed. I was able to insert chars like ë and í now, unlike with 5.0.2 (using Qt 5.1 from ppa:canonical-qt5-edgers/qt5-beta-proper).

Considering raring, it's unknown which exact patches would be required to be backported, since the one tried out before was not enough.

Revision history for this message
Paulo Matias (paulo-matias) wrote :

Any chance for Qt 5.1 to appear in raring? Or will the fix really need to be backported to Qt 5.0.2?

Changed in ubuntu-ui-toolkit:
status: Confirmed → Fix Released
no longer affects: friends-app (Ubuntu)
no longer affects: friends (Ubuntu)
Changed in qtbase-opensource-src (Ubuntu):
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.