Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.9.1, 5.12.1, 5.15.2, 6.0.0, 6.3.1, 6.4.0 Beta1
-
Windows 7, MSVC 2015
-
ef7d809ea (dev), 028bd2104 (6.5), 10950d87f (6.6)
Description
1 : Create a button (controls 2.0)
2 : Click on button with a touchscreen and log the onHoveredChanged signal.
What is happening with a touch screen :
the hovered property is set to true on click but is never reset to false on release.
It seems that on touch screen only, hovered is disabled due to this.
QTBUG-44267
Our application can use a touch device and a mouse at the same time.
The hover should be disabled on touch events or should behave correctly. But the observed behavior is inconsistent.
import QtQuick 2.0
import QtQuick.Controls 2.2
Button {
hoverEnabled:true
onHoveredChanged :
{ console.log(hovered) }
}
Attachments
Issue Links
- is duplicated by
-
QTBUG-108775 hover state not working as expected on touch devices
- Closed
- relates to
-
QTBUG-40856 MouseArea containsMouse flag is not reset on Touch Screen
- Open
-
QTBUG-111400 figure out how to get Wacom tablet proximity position; deliver to window
- Reported
-
QTBUG-114420 MouseArea containsMouse is unreliable for touch events
- Reported
-
QTBUG-64712 QQC2: Bug in ToolButton on Windows with Touchscreen
- Closed
For Gerrit Dashboard: QTBUG-62912 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
439347,3 | Button and MouseArea: Reset Hover with touch away | dev | qt/qtdeclarative | Status: NEW | -1 | 0 |