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_5_12_0.png
          26 kB
          Shveta Mittal
        2. qtbug74565_5_12_1.png
          30 kB
          Shveta Mittal
        3. qtbug74565.zip
          1 kB
          Shveta Mittal
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes