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

[REG 5.11.2-5.12.0] QToolTip: Unwanted wrapping of plain text

    XMLWordPrintable

Details

    • Windows
    • 17fe5fc128541553b1eda719d47221763959f8b6 (qt/qtbase/5.12.1)

    Description

      The behavior of QToolTip for plain text changed in 5.12 so that text is often (unnecessarily) wrapped in multiple lines.

      This seems to be caused by change https://codereview.qt-project.org/#/c/221777 , which aimed for making tooltips wrap for 'very long text'. Anyhow, the default behavior of QLabel and therefore also QToolTip is actually to wrap around much more agressively.

      Attachments

        1. qtbug-72568.7z
          0.5 kB
        2. Screenshot-5.11.2.PNG
          Screenshot-5.11.2.PNG
          10 kB
        3. Screenshot-5.12.0.PNG
          Screenshot-5.12.0.PNG
          11 kB

        Issue Links

          Activity

            People

              kkohne Kai Köhne
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: