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

Attached ToolTip timeout copied across to other attached ToolTips

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.2
    • 5.12
    • Quick: Controls 2
    • None
    • 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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: