Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
5.2.1, 5.3.0 Alpha
-
None
Description
import QtQuick 2.2 import QtQuick.Controls 1.1 Row { width: 100 height: 50 spacing: 10 property alias control1: _control1 TextField { id: _control1 text: "" property bool gotit: false Keys.priority: Keys.AfterItem Keys.onPressed: { if ((!gotit) && (event.key === Qt.Key_B)) { gotit = true; console.log("get it") event.accepted = true; return; } } } }
The issue was introduced by https://codereview.qt-project.org/76134
The forwardTo doesn't care the Keys.priority here, always like BeforeItem.