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

windows: Too long tooltip crashes

    XMLWordPrintable

Details

    • Windows
    • 5aff671ee (dev), 397c4d57c (6.6)

    Description

      In qtbase/gui/text/windows/qwindowsnativeimage.cpp there is a qFatal call if createDIBSection fails. And it can apparently fail if it is trying to create a bitmap for very wide tooltip.

      There probably isn't much we can do about that failing, but maybe there could be some artificial limit on tooltip size.

      To reproduce, run attached example.

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes