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

Button stays hovered while pressed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0 Alpha
    • Fix Version/s: 5.7.2
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      ed7521d27cbba69196870005c9d97129a6d7b781

      Description

      • run with the universal style (to see clear hover effect)
      • press the button
      • move the cursor outside the button while keeping mouse pressed

      expected: button is no longer hovered
      actual: button stays hovered until the first move after release

      import QtQuick 2.5
      import QtQuick.Window 2.2
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          width: 300
          height: 300
          visible: true
      
          Button {
              text: "Button"
              anchors.centerIn: parent
          }
      }
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jpnurmi J-P Nurmi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes