-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
6.10.0 FF
-
None
-
-
6886a8485 (dev), 514b7da02 (6.10), b65ff1456 (tqtc/lts-6.8)
The Virtual Keyboard "supports" InputMethod created with QML. It used to work when invokeMethod magically invoked the JavaScript over the C++ slot. However, it now crashes with a call stack exhaustion error when any of the following functions are called:
void InputMethod::reset() { QMetaObject::invokeMethod(this, "reset"); } void InputMethod::update() { QMetaObject::invokeMethod(this, "update"); } void InputMethod::clearInputMode() { QMetaObject::invokeMethod(this, "clearInputMode"); }
It’s clear that this behavior has changed at some point.
What should be done with this API?
Note: The QML InputMethod is not actively used by the Virtual Keyboard itself.
- relates to
-
QTBUG-74064 Qml VirtualKeyboard 2.4 InputMethod Error
-
- Closed
-
For Gerrit Dashboard: QTBUG-140521 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
679469,17 | WIP Avoid infinite recursion when calling QML InputMethod methods | dev | qt/qtvirtualkeyboard | Status: NEW | -2 | +1 |
680084,1 | QML InputMethod requires namespace for import | tqtc/lts-6.5 | qt/tqtc-qtvirtualkeyboard | Status: NEW | 0 | 0 |