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

[REG] ASSERT: "event->reason() != Qt::PopupFocusReason" in file \Users\qt\work\qt\qtwebengine\src\webenginewidgets\render_widget_host_view_qt_delegate_widget.cpp, line 79

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.5, 6.3.0 RC
    • 6.2.3
    • WebEngine
    • None
    • Windows
    • 0625a1e16b (qt/qtwebengine/6.3) a6bb1d15b7 (qt/qtwebengine/6.2) a980cc295e (qt/qtwebengine/dev) 0625a1e16b (qt/qtwebengine/6.3.0) a6bb1d15b7 (qt/qtwebengine/6.2) a6bb1d15b7 (qt/qtwebengine/6.2)

    Description

      Bug occurs when I done next steps: 0) create mainwindow with menu and qwebengineview as 1 of element sentral widget 1) load url to webengineview (in my case - it was local html file) 2) set focus to qwebengineview by mouse click 3) go to menu, open submenu and click any item 4) get assert.

      My solution was catch focus in events to focusproxy widget of qwebenginewidget and change reason of event from Qt::PopupFocusReason to Qt::NoFocusReason. It works. But it is hack)

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-101706
          # Subject Branch Project Status CR V

          Activity

            People

              michal Michal Klocek
              dvajdual Alexey Shmuley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes