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

[Reg 5.12.0->5.12.1] QCombobox popup is not showing largest string in list properly

    XMLWordPrintable

Details

    • macOS
    • 123053bba8dc2241041c31a262420edd3583b1c7 (qt/qtbase/5.12)

    Description

      QCombobox popup is not showing the largest entry in list properly. Say, we have 5 entries in combobox as below and "Process Group" has maximum no. of characters

          mp_box->addItem( "Name", 1 );
          mp_box->addItem( "Threads", 2 );
          mp_box->addItem( "System Tree", 3 );
          mp_box->addItem( "Process Group", 4 );
          mp_box->addItem( "Number", 5 );
      

      In popup, "Process Group" is shown as "Process",i.e "Group" is trimmed from it. This is working fine with 5.12.0 on Mac and fine with all versions on Windows.
      Please refer to attached project and snapshots.

      Attachments

        1. qtbug74565.zip
          1 kB
        2. qtbug74565_5_12_0.png
          qtbug74565_5_12_0.png
          26 kB
        3. qtbug74565_5_12_1.png
          qtbug74565_5_12_1.png
          30 kB
        For Gerrit Dashboard: QTBUG-74565
        # Subject Branch Project Status CR V

        Activity

          People

            vestbo Tor Arne Vestbø
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes