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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes