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

Hover is not reset properly with touchscreens

    XMLWordPrintable

    Details

      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

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

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              mathieut Mathieu TOURNIER
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes