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

Material ToolTip quickly disappears when hovering from one control to another

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7.0
    • Quick: Controls 2
    • None
    • Windows 10
    • e95dc3b4853c1736aef0ef2cc5248ec0aa46e3ff

    Description

      import QtQuick 2.7
      import QtQuick.Window 2.2
      import QtQuick.Layouts 1.1
      import QtQuick.Controls 2.0
      
      Window {
          visible: true
          width: 300
          height: 200
          title: qsTr("Hello World")
      
          ColumnLayout {
              anchors.centerIn: parent
      
              RowLayout {
                  Layout.fillWidth: true
      
                  Label {
                      text: qsTr("Tile Width")
                      Layout.fillWidth: true
                  }
                  SpinBox {
                      from: 1
                      value: 32
                      editable: true
                      hoverEnabled: true
      
                      ToolTip.text: qsTr("How wide each tile is in pixels")
                      ToolTip.visible: hovered
                  }
              }
      
              RowLayout {
                  Label {
                      text: qsTr("Tile Height")
                      Layout.fillWidth: true
                  }
                  SpinBox {
                      from: 1
                      value: 32
                      editable: true
                      hoverEnabled: true
      
                      Layout.alignment: Qt.AlignRight
      
                      ToolTip.text: qsTr("How high each tile is in pixels")
                      ToolTip.visible: hovered
                  }
              }
      
              RowLayout {
                  Label {
                      text: qsTr("Blah Blah")
                      Layout.fillWidth: true
                  }
                  SpinBox {
                      from: 1
                      value: 32
                      editable: true
                      hoverEnabled: true
      
                      Layout.alignment: Qt.AlignRight
      
                      ToolTip.text: qsTr("How blah each blah is in blahs")
                      ToolTip.visible: hovered
                  }
              }
          }
      }
      

      Works OK with the Default and Universal styles.

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            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