Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0 Beta1
-
None
-
Android
-
-
55a4db4f47013662970144bb0657e1686186ce05
Description
The flag Qt::ImhNoPredictiveText is not turning off the suggestion in Android for QGraphicsTextItem.
Setting the Qt::ImhNoPredictiveText on QLineEdit works in the same binary.
The following code works only when called on QLineEdit
Qt::InputMethodHints currentHints=inputMethodHints();
setInputMethodHints(currentHints|Qt::ImhNoPredictiveText);
The behavior of QT input widgets varies a lot when predictive text is enabled.
On Nexus 7 it completely crazy, On Samsung S3, it is a bit more stable but still not to be enabled.
I was not able to conclude if this bug is already reported. There were so many issues related to Qt::ImhNoPredictiveText. QTBUG-34827 is not referring to GraphicsTextItem, I tested multiple QLineEdit, and multiple GraphicsTextItem in the same app, The prediction appears only on GraphicsTextItem.
Attachments
For Gerrit Dashboard: QTBUG-34893 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
71670,1 | Report input method hints for QGraphicsTextItem | release | qt/qtbase | Status: ABANDONED | -1 | 0 |
71675,1 | Report input method hints for QGraphicsTextItem | stable | qt/qtbase | Status: MERGED | +2 | 0 |