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

[REG 5.11.2-5.12.0] Elided text in tree displaying incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 5.12.2
    • 5.12.0, 5.12.1
    • Widgets: Itemviews
    • None
    • Reproduced on Windows 10, version 1809 (17763.316).
    • 25133a1b77c059e32760f3d288c985183d86da4a

    Description

      Text in a QTreeView/QTreeWidget that is horizontally center-jusitifed or right-justified produces displays errors when the text becomes elided.  This makes the text increasingly unreadable as the column shrinks and more text is elided, eventually reaching the point to no next being displayed.

      The expected result is that the left side of the text remains visible no matter the size of the column. 

      This is a regression that occurred in 5.12.0 and has not yet been fixed in 5.12.1.  This has somehow been fixed in the 5.13.0 alpha. 

      Hopefully that fix can be pulled into 5.12.x given its LTS status.

      Attachments

        1. Error (5.12.0).PNG
          Error (5.12.0).PNG
          5 kB
        2. Expected (5.11.3).PNG
          Expected (5.11.3).PNG
          5 kB
        3. qtbug-73845.zip
          3 kB

        Issue Links

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              lostdragonist Chris Bessent
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: