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

Bad transient tooltip rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0 Beta
    • 5.4.1
    • QPA
    • None
    • Mac OS X 10.10, Qt 5.4.1
    • macOS
    • ba440f35e1dc38a7cdec72176b921c7a6f4a4727

    Description

      Let's say there are 2 widgets one with a short tooltip and another one with a bigger tooltip. When moving the mouse from the widget with the shorter tooltip to the widget with the bigger one, there is a transient time where the shorter tooltip text is expanded to fit the tooltip rectangle that will show the bigger tooltip.

      See the attached images to have an idea of what's the problem.

      The problem is very annoying since I keep seeing bad tooltip rendering when switching from one widget to the other. The transient time where the tooltip is not properly rendered can be longer on slower machines or when using the application through a remote desktop on a laggy connection.

      I could reproduce this issue on Mac (10.10) with the latest version of Qt (5.4.1). It seems to me a regression, since I did not see that problem in Qt 5.3.2.
      On windows it seems to work well.

      Attached is a very simple example on how to reprocude the issue.

      Attachments

        1. 01.png
          01.png
          36 kB
        2. 02.png
          02.png
          49 kB
        3. 03.png
          03.png
          58 kB
        4. main.cpp
          0.6 kB
        5. output_YnYS5Z.gif
          output_YnYS5Z.gif
          130 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            kalos Calogero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes