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. elide-right.png
          338 kB
          mischa
        2. ellide_multiline_alignbottom.PNG
          6 kB
          randominequalities
        3. ellide_multiline_alignhcenter.PNG
          6 kB
          randominequalities
        4. ellide_multiline_alignright.PNG
          3 kB
          randominequalities
        5. filenames.png
          50 kB
          mischa
        6. qtablewidget.zip
          0.6 kB
          randominequalities
        7. qtbug_72805.tgz
          0.8 kB
          Christian Ehrlicher
        8. Screenshot_1.png
          5 kB
          Christian Ehrlicher
        9. Screenshot_2.png
          2 kB
          Christian Ehrlicher

        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