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

Wrong rendering of multi-line list items in QListWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.0 Beta 1
    • 4.7.0
    • Widgets: Itemviews
    • None
    • Nokia N97
      Symbian 5th edition
    • 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. qtbug_14949.tgz
          2 kB
        2. MultilineElide.tar.gz
          1 kB
        3. ListView.zip
          34 kB
        4. ellide.patch
          4 kB

        Issue Links

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

          Activity

            People

              chehrlic Christian Ehrlicher
              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