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

QComboBox Items text chops and elides

    XMLWordPrintable

Details

    • Linux/X11

    Description

      When a QComboBox items have text and icons for some strange reason texts are chipped in middle and shows three dots (...) 

      This works good with Qt5.15 and works good on windows even with Qt6.5

      Seems like some calculation error in size of Item text in given viewport.

      Attached little example shows this behavior.

      Attachments

        1. 6.9.0-mybuild.png
          414 kB
          Irfan Omair
        2. 6.9.0-prebuildQt.png
          406 kB
          Irfan Omair
        3. Qt6.5.3-mybuild.png
          393 kB
          Irfan Omair
        4. Qt 6.8.1.png
          19 kB
          Christian Ehrlicher
        5. qtbug131936.zip
          32 kB
          Irfan Omair
        6. test_qcombobox (1).mp4
          1.66 MB
          Irfan Omair
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            irfan.omair@digia.com Irfan Omair
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes