A side note: once we figure out a working solution, it will be a good candidate for a unit test, QtQuick’s TestCase allows simulating keyboard events (see qt-project.org/doc/qt-5/qml-qttest-testcase.html#simulating-keyboard-and-mouse-events).
A side note: once we figure out a working solution, it will be a good candidate for a unit test, QtQuick’s TestCase allows simulating keyboard events (see qt-project. org/doc/ qt-5/qml- qttest- testcase. html#simulating -keyboard- and-mouse- events) .