Details
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
- is duplicated by
-
QTBUG-101930 Application crash when focusinevent fired in debug mode
- Closed
- resulted from
-
QTBUG-99215 Html popups do not work correctly.
- Closed
For Gerrit Dashboard: QTBUG-101706 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
401092,6 | Fix wrong assumption about focus in/out event delivery | 6.3 | qt/qtwebengine | Status: MERGED | +2 | 0 |
401250,2 | Fix wrong assumption about focus in/out event delivery | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
401251,2 | Fix wrong assumption about focus in/out event delivery | 6.2 | qt/qtwebengine | Status: MERGED | +2 | 0 |