Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

RPi3, WebView locks the mouse, while keyboard works fine



  • I'm trying to dinamically open and close a web view, using

    LayoutVerticalMain->addWidget(&WebView);
    WebView.load(QUrl(url));
    WebView.show();
    

    and

    WebView.hide();
    

    .
    On the main.cpp I called

    QtWebEngine::initialize();
    

    before the

    QMainWindow::show()
    

    The view opens fine, but when I move the cursor over the WebView, the mouse "stops" at its border, without entering. If I use the keyboard's tab key to navigate the page, it works fine. Any clicking in any internal area seems to be ignored.

    I'm using QT 5.12.0 on a raspberry Pi3, cross-compiled from a Ubuntu 16.04.

    Did I miss any requirement, or skip some configuration?
    Thanks.



  • Update: it seems that calling the setUrl on the constructor of the QMainWindow the page works fine; if I call the method later (even just before the main window .show() method) the repaint events don't get called


Log in to reply