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

ToolTip calculates its width incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.4
    • Quick: Controls 2
    • None
    • 8dc9dc2bd (dev), fd85773e7 (6.9), 24bb6cbfd (6.8)

    Description

      In order to ensure that QTBUG-94764 doesn't happen again, I wrote https://codereview.qt-project.org/c/qt/qtdeclarative/+/363726. However, that demonstrates that the Imagine style ToolTip was already broken:

      FAIL!  : tst_controls::Imagine::ToolTip::test_attachedSizeBug() Compared values are not the same
         Actual   (): 353.46875
         Expected (): 346.34375
         Loc: [/Users/mitch/dev/qt-dev/qtdeclarative/tests/auto/quickcontrols2/controls/data/tst_tooltip.qml(499)]
      

      This is not as broken as QTBUG-94764, and in practice should not be noticeable, as the width is only calculated incorrectly once.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-101704
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: