Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83640

Finger touch causes HoverEnter/HoverLeave type event

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.14.2
    • None
    • Huawei M5 Android tablet
    • Android

    Description

      Hi

      I'm trying to get QTabletEvent working in QtQuick for my project. Experimenting around, I found out that on my tablet I get HoverEnter events when my finger touches the screen and HoverLeave events when I take it away. 

      I do not get HoverMove events when I move my finger, those are normal touch events. I do however get HoverMove events when I use my stylus for hovering. But with my stylus I don't get HoverEnter/HoverLeave/TabletEnterProximity/TabletLeaveProximity events.

      Regards

      Thorsten

       

      Edit: After further looking around it may not be a HoverEnter/HoverLeave event. However the QtQuick2 HoverHandler has a state change of the hover property,causing onHoverChange to be called. I just tried the project in qdeclarative/tests/manual/pointer of the Qt5.15 preview. In the hover example, a touch causes the tile to become red, indicating hovering. A second touch undoes this. A press with my pen has the same effect, but the pen can't undo this with a second touch, a finger touch is needed for this. 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            larvae larvae
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes