Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.4.0, 5.5.0
-
Windows X11 OS X
-
Windows: 9388bbe4bdc366760c0ee5953d5f2157c51a8e68 (qtbase/5.6, 22.10.2015, 5.6b) Cocoa: 7df107f0266892276c85d259afba335c2a77ba07 (5.6b) iOS: https://codereview.qt-project.org/#/c/160618/
Description
According to the documentation this method should return a current input locale, but it does not.
I have in my system installed two languages Finnish and English. However, with the default language set to Finnish, this method returns always en_US.
This bug can be reproduced with this code:
qDebug() << QGuiApplication::inputMethod()->locale().name();
Was reported by the client first.
Attachments
For Gerrit Dashboard: QTBUG-48772 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
138327,3 | Windows: Implement QPlatformInputContext::locale(). | 5.6 | qt/qtbase | Status: MERGED | -2 | 0 |
138583,5 | Cocoa: Implement QPlatformInputContext::locale(). | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
139181,4 | IBus: Implement QPlatformInputContext::locale() | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
160618,2 | iOS: Return correct QLocale from QIOSInputContext | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
168243,2 | QCocoaInputContext: Fix wrong memory release | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |