Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.11.2, 5.12.4
-
None
Description
When I inject some arbitrary function into the global object's prototype (used in the project by some legacy (pre Qt 5.9) code to install helper functions for dynamically updating qsTr() variants), the "long press on key shows alternate letters (umlauts, accented, etc)" functionality in the virtual keyboard stops working. Instead of opening the popup offering the alternate letters, the key is sent to the text input immediately on key press, and the popup never shows.
On the console, the following warning is printed:
qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:1046: Error: Cannot assign JavaScript function to QQuickTouchPoint*
The attached minimal example demonstrates the issue.