Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to make QCompleter always emit activated on one click or one touch



  • I'm using QCompleter on Desktop and Android with sqlite database
    it works very well on Desktop however I'm facing some trouble on Android

    on windows the completer disappears when I click on a item and emits activated and this is very well
    but sometimes when I click on an item the item is highlighted only and the completer popup still visible and I need to click again to emit the activated signal

    on Android I always need to touch the item two times : the first highlights it and the second disappears the popup and emits signal activated

    I want the behavior to always be one click or one touch



  • @developer-123-0
    You say:

    it works very well on Desktop

    but also

    on windows [...] but sometimes when I click on an item the item is highlighted only and the completer popup still visible and I need to click again

    You seem to be saying it always works on desktop but sometimes it does not? Which is it?

    I don't know about Android, but it works consistently always for me on desktop (Linux & Windows).


Log in to reply