Hi,

For a messaging client I need to watch the virtual keyboard state, when it's 
opened or closed I need to adjust my SilicaListView to the right position.

I tried already this:

Connections {
        target: Qt.inputMethod
        onVisibleChanged: {
            console.debug("Keyboard visible: " + visible)
            messagesListView.scrollToBottom()
        }
    }

But due this Qt bug: https://bugreports.qt.io/browse/QTBUG-36909 this solution 
isn't working.
I saw that a DBus interface is exposed from com.jolla.keyboard but I haven't 
managed yet to talk to it about the keyboard state.

Anyone an idea for this?

Kind regards,
Dylan Van Assche
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to