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

Button stays hovered while pressed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.2
    • 5.8.0 Alpha
    • Quick: Controls 2
    • None
    • 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

              Unassigned Unassigned
              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