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

[Reg 5.11 -> 5.12] QListWidget/QAbstractItemView has incorrectly rendered item text if the text extends item width

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.2, 5.14.0 Alpha
    • 5.12.0
    • None
    • arch linux 64 with KDE, but it also happens in gnome
    • All
    • 25133a1b77c059e32760f3d288c985183d86da4a (qt/qtbase/5.12)

    Description

      Since version 5.12.0 (i.e. not in version 5.11.2 and before) the QListWidget renders some item text incorrectly. Short text is okay, but long one which extends item width is additional cut off at the beginning, no matter if TextElideMode is set to Left, Right or Middle.
      In the attachment there are screenshots showing

      • the QListWidget/QAbstractItemView with Qt::TextElideMode Qt::ElideRight
      • a list of the correct names to see how they were cut off.

      Attachments

        1. Screenshot_2.png
          Screenshot_2.png
          2 kB
        2. Screenshot_1.png
          Screenshot_1.png
          5 kB
        3. qtbug_72805.tgz
          0.8 kB
        4. qtablewidget.zip
          0.6 kB
        5. filenames.png
          filenames.png
          50 kB
        6. ellide_multiline_alignright.PNG
          ellide_multiline_alignright.PNG
          3 kB
        7. ellide_multiline_alignhcenter.PNG
          ellide_multiline_alignhcenter.PNG
          6 kB
        8. ellide_multiline_alignbottom.PNG
          ellide_multiline_alignbottom.PNG
          6 kB
        9. elide-right.png
          elide-right.png
          338 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
              mischa mischa
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes