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

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.3
    • Fix Version/s: 6.2.5, 6.3.0 RC
    • Component/s: WebEngine
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              michal Michal Klocek
              Reporter:
              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