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

REGRESSION: Crash when using length variants in drawText()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P1: Critical P1: Critical
    • 4.7.0
    • 4.7.0
    • GUI: Text handling
    • None

      The following code will hit an assert in Qt 4.7:

              QPainter p(this);
              QString str = QString("Loooooooooooooooooooong string%1Short alt.").arg(QChar(ushort(0x9c)));
              p.drawText(QRect(20, 20, 100, 100), 0, str);
              p.drawText(QRect(20, 40, 200, 100), 0, str);
      

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

            esabraha Eskil Abrahamsen Blomfeldt
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes