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

shared ToolTip fades out when "reparented"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7.0
    • Quick: Controls 2
    • None
    • Ubuntu 12.04 Linux 64bit
    • e95dc3b4853c1736aef0ef2cc5248ec0aa46e3ff

    Description

      If we for example have Button items next to each other that both use the shared ToolTip item as suggested in the ToolTip documentation, it is problematic if we move the mouse pointer from the first button to the second.

      The tooltip follows over to the second button as expected, but it then immediately fades out which it should not. When the fade-out is complete, the ToolTip fades back in again and stays visible until the timeout duration has elapsed.

      The expected behaviour in my opinion should be that the tooltip just follows over to the second button without fading out. When leaving the second button to something without a ToolTip, it should finally fade out.

        Row {
        Button {
            text: qsTr("Button1")
            hoverEnabled: true
      
            ToolTip.delay: 1000
            ToolTip.timeout: 5000
            ToolTip.visible: hovered
            ToolTip.text: text
        }  
       Button {
            text: qsTr("Button2")
            hoverEnabled: true
      
            ToolTip.delay: 1000
            ToolTip.timeout: 5000
            ToolTip.visible: hovered
            ToolTip.text: text
        }
      }
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            pyrrhula Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes