Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.9.1
-
None
-
Android, Ubuntu 16.04, Qt 5.9.1 with PyQt
Description
If I have a dragMargin of 25 and the Drawer's edge is on the left then I get no click events if I click on any part of any element that is on the left 25 pixels (on the X axis).
This example shows that clicking on the left side of the red rectangle produces no logs, clicking on the right side things work.
import QtQuick.Layouts 1.0 import QtQuick.Controls 2.1 import Qt.labs.platform 1.0 import QtQuick.Dialogs 1.2 ApplicationWindow { id: appWindow visible: true title: "test" Rectangle { width: 50 height: 50 color: "red" MouseArea { anchors.fill: parent onClicked: console.log("clicked") } } Drawer { width: appWindow.width * 0.5 height: appWindow.height dragMargin: 25 edge: Qt.LeftEdge } }
Attachments
Issue Links
- duplicates
-
QTBUG-59141 Buttons / mouseArea doesn't works under Drawer's drag area
- Closed