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

Autocomplete of editable ComboBox not working on Android

    XMLWordPrintable

Details

    • Android
    • fdece5a40729d7c370d920ddfcad2921183dbbec (qt/qtquickcontrols2/dev) 46dd9419b0e2f5fcaf887cad6289a0fc7b6d0385 (qt/qtquickcontrols2/6.0) af28681bc2870abd9127191c9b98225560d88a6c (qt/tqtc-qtquickcontrols2/tqtc/lts-5.15)

    Description

      The ComboBox with property 'editable' set to 'true' allow the user to type part of an entry in the ComboBox's items, this automatically selects the first matching item. On Android this doesn't work. When typing part of an item nothing happens. When tabbing out of the ComboBox, or hitting the 'Done' button on the virtual keyboard the typed text is added (so it is there twice now).

      As an example, suppose there is an item named 'My Green Car'. If I type 'My' it should select this value automatically. On my Mac this works. On Android nothing happens while typing. When I leave the ComboBox (tab, or tap another control), the ComboBox shows 'MyMy' (it repeats whatever text was typed, but ONLY if what was typed matches an entry, otherwise it just leaves what was typed.

      further if Combobox triangle is clicked it shows up the virtual keyboard even if it is not clicked on lineEdit area. It seems that it  thinks it has focus but it does not.

      This also shows the on screen keyboard on top of combobox drop down list hiding entire or most part of combo box drop down list.

      Text in text filed also behaves wrong.

      attached screenshot shows dropdown list is underneath one screen key board,  

       

      Attachments

        1. After-Fix.mp4
          1.17 MB
          Bartlomiej Moskal
        2. QTBUG61021-Android.mp4
          4.58 MB
          Bartlomiej Moskal
        3. QTBUG61021-Desktop.mp4
          156 kB
          Bartlomiej Moskal
        4. Screenshot_20191020-141952.png
          177 kB
          Irfan Omair
        For Gerrit Dashboard: QTBUG-61021
        # Subject Branch Project Status CR V

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            dwi Dimitri Willemse
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews