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

QStaticText does not handle multi-length strings

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.7.0
    • GUI: Painting
    • None

    Description

      See also: https://projects.maemo.org/bugzilla/show_bug.cgi?id=177184

      Reported by Jörgen Scheibengruber, quoted here for convenience:

      SOFTWARE VERSION: 4.7.0~git20100614-0maemo1+0m6

      STEPS LEADING TO PROBLEM:
      1. Render a multi-length string using QPainter::drawStaticText()
      2. Render the same text using QPainter::drawText()

      EXPECTED OUTCOME: No difference

      ACTUAL OUTCOME: In 1. all substrings including the separator are rendered, in
      2. only the appropriate substring is rendered

      FREQUENCY OF OCCURRENCE:
      always

      Attachments

        1. main.cpp
          0.6 kB
          Andy Shaw (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            mfabian Mike FABIAN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes