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

QtVirtualKeyBoard does not work after modal dialog exec in IMX6



  • I have compiled and work successfully in imx6 devices
    But when Modal Dialog Appear anywhere in my program,the VirtualKeyboard doos not display any more, but the plugin is not dead;
    I find that if i create a Qdialog,use the method of "open" not "Exec",is so called "half modal".the VirtualKeyboard work fine,but in my project ,there is the case in many places.Need I modify them one by one.
    QMessageBox exec() alse can trigger this case. that is very nasty,I have use to many messageBox.

    can anyone tell me the best method to solve the problem?


  • Lifetime Qt Champion

    Hi,

    Which version of Qt are you using ?



  • Hi, @SGaist
    I have same problem.
    If I show a QMessageBox without setting it's parent, it will occur this issue.
    If I set it's parent as caller widget, it works fine.
    In my issue has something different that the virtualKeyboard have displayed, but it can't click any button(or button click no responsed).
    I am using Qt 5.9.4.


  • Lifetime Qt Champion

    @shun Hi and welcome to devnet,

    You should test a more recent version of Qt. Qt 5.9.7 is the latest version of the 5.9 series. Other than that, the current is 5.11.2 and 5.12 is just around the corner.



  • @SGaist Hi,
    I have tested in Qt 5.9.7, the issue still exist.


Log in to reply