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.