FS#29497 - [Qt] doesn't allow typing of accented characters
Attached to Project:
Arch Linux
Opened by Bill Seremetis (bserem) - Monday, 16 April 2012, 22:04 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 13 June 2012, 20:34 GMT
Opened by Bill Seremetis (bserem) - Monday, 16 April 2012, 22:04 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 13 June 2012, 20:34 GMT
|
Details
Description:
When I type an accented character in Qt and Qt-application (like Opera) nothing gets printed on the screen. Additional info: * package version(s) qt 4.8.1-2 opera (any version I tried) * config and/or log files etc. Steps to reproduce: Install Qt and/or Opera on an Arch64 system and try to type an accented character. I'm greek so I tried the following: Άά Έέ Ήή Ίί Όό Ύύ Ώώ ΐ ΰ Ϊϊ Ϋϋ Nothing gets printed out though (this report is being done from Firefox in order to type out the characters). |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 13 June 2012, 20:34 GMT
Reason for closing: Upstream
Additional comments about closing: we cannot do anything about this, please follow the upstream bug report
Wednesday, 13 June 2012, 20:34 GMT
Reason for closing: Upstream
Additional comments about closing: we cannot do anything about this, please follow the upstream bug report
I filed a bug report in QT, I expect the results: https://bugreports.qt-project.org/browse/QTJIRA-167
None of the above three accepts accented characters.
Nikos I will see the links you provide and follow the progress in the qt-project report. I hope that this gets solved, mainly for Opera but also for everybody who is using accents in their language.
$ LANG=en_GB.UTF-8 kate
and dead keys work for the us_intl layout, but not for the greek one! The same using C or en_US.
So I guess the actual problem (and the reason you can't recreate it), is because your LANG is normally set at an anglophone locale. Can you try activating el_GR.UTF-8 and then recreate it calling the application under that locale?
CC at QT bugtracker (url at my previous comment).
https://bugreports.qt-project.org/browse/QTBUG-25360?focusedCommentId=176869&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-176869
LANG=en_US.UTF-8 opera
in the command line I can type accented greek characters (when turning the keyboard layout to greek of course).
It even worked with skype (which is a 32bit app under my 64bit Arch system).
Strangelly enough though, I tried the following:
LANG=el_GR.UTF-8 opera
and it worked!! This confuses me because my system has both el_GR and en_US in /etc/locale.gen
I'm afraid I do not know how to type an accented character under the us layout.
Edit: exporting LANG=el_GR.UTF-8 in ~/.bashrc broke Bill's observation. So, I guess what Qt does wrongly is parse the LANG information when that is not explicitely defined at en_US? I don't know, I'm at a loss again.
Andrea, are you still watching this?
Edit2: Bill, in order to write accented latin letters you need some (variant of) a latin keyboard, eg (the one I use), English International With Dead Keys.
I'd like to add to this conversation that Opera doesn't have Qt as a dependency. But it is Qt based and reacts to the problem just like Qt...
As for Opera, I guess it uses qt and compiles it internally. At least I know SecondLife/OpenSimulator viewers do that. I don't know.
Mine was empty (and I believe it should be empty). I added:
LOCALE = en_US.UTF-8
instead and now EVERYTHING works fine in regard with Qt applications!
Thanks for your patience
However the solution with en_US.UTF-8 works fine