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

Attached ToolTip timeout copied across to other attached ToolTips

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12
    • Fix Version/s: 5.12.2
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      1ef176b5da8ad8d4993fa9296e64e44ee8de6560

      Description

      Hover over the button on the right; the tool tip never times out. If you the hover over the button on the left and then the one on the right, the one on the right times out when it should stay visible.

      Works with Qt 5.11.1 or older.

      import QtQuick 2.9
      import QtQuick.Controls 2.14
      
      ApplicationWindow {
          id: window
          width: 640
          height: 480
          visible: true
      
          Row {
              Button {
                  text: "Test"
                  ToolTip.text: "Test"
                  ToolTip.delay: 500
                  ToolTip.visible: hovered
                  ToolTip.timeout: 500
              }
      
              Button {
                  text: "Test"
                  ToolTip.text: "Test"
                  ToolTip.delay: 500
                  ToolTip.visible: hovered
              }
          }
      }
      

        Attachments

        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:
              mitch_curtis Mitch Curtis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes