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

QML ComboBox popup menu doesn't respect scaling

    XMLWordPrintable

Details

    • Linux/X11, macOS, Windows
    • e4a2a999a (dev), 62e265b19 (6.5), a739cf306 (tqtc/lts-6.2)

    Description

      The QML ComboBox popup (dropdown) menu keeps the original ComboBox size, even after applying a scale transformation. The ComboBox visual width and height changes, but the popup menu size keep the same.
      This is causing the user to think the application is broken.

      The sample application source code is attached. Screenshots were taken from the running application.

      Attachments

        1. universalComboBox_issue.png
          15 kB
          Rodrigo Sessegolo Pimpao
        2. materialComboBox_issue.png
          24 kB
          Rodrigo Sessegolo Pimpao
        3. main.qml
          1 kB
          Volker Hilsheimer
        4. main_workaround.qml
          1 kB
          Volker Hilsheimer
        5. DropDownScalingSampleApp.zip
          4 kB
          Rodrigo Sessegolo Pimpao
        6. defaultComboBox_scaleFactor1.5.png
          16 kB
          Rodrigo Sessegolo Pimpao
        7. defaultComboBox_scaleFactor1.0.png
          11 kB
          Rodrigo Sessegolo Pimpao
        8. customComboBox_scaleFactor1.5.png
          19 kB
          Rodrigo Sessegolo Pimpao
        9. customComboBox_scaleFactor1.0.png
          12 kB
          Rodrigo Sessegolo Pimpao
        10. Clipboard Oct 26, 2022 at 1.44 PM.png
          31 kB
          Conor Ahern

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vhilshei Volker Hilsheimer
              rodrigo.pimpao Rodrigo Sessegolo Pimpao
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes