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

Wrong rendering of multi-line list items in QListWidget

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.7.0
    • Fix Version/s: 5.11.0 Beta 1
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:
      Nokia N97
      Symbian 5th edition
    • Commits:
      5712c62d1cfdcf56c772d8a63d52ad58945f194c

      Description

      When there is not enough space for rendering a complete line of a multi-line item, the renderer stops rendering completely and the following lines are not drawn at all.
      Problem seems to be caused by the "break;" in the loops found in QCommonStylePrivate::viewItemDrawText() in gui/styles/qcommonstyle.cpp.
      Rendering should not stop when there are more lines to render.
      Attached project demonstrates the issue.

        Attachments

        1. ellide.patch
          4 kB
        2. ListView.zip
          34 kB
        3. MultilineElide.tar.gz
          1 kB
        4. qtbug_14949.tgz
          2 kB

          Issue Links

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

            Activity

              People

              Assignee:
              chehrlic Christian Ehrlicher
              Reporter:
              bartelmus Christoph Bartelmus
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes