Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.2
-
None
Description
I have an app with a QWebEngineView and multiple pages.
Step to reproduce:
- User has 2 pages and the 2nd page is displayed in the view
- From the 2nd page, the user triggers a download that takes a couple of second to actually start
- User switch to page 1
- Page 2 opens the download link in a 3rd page
- The download starts from the 3rd page
- User switch back to the 2nd page
- The 2nd page is gone, only whit is displayed
Alternatively
- User has 2 pages and the 2nd page is displayed in the view
- From the 2nd page, the user triggers a download that takes a couple of second to actually start
- User switch to page 1
- Page 2 opens the download link in a 3rd page
- The download starts from the 3rd page
- The app detects that the 3rd page was created just to trigger a download and deletes the 3rd page
- User switch back to the 2nd page
- Crash
The crash happens systematically in QWebEngineViewPrivate::bindPageAndView()
From what I could collect it is because a pointer to a deleted RenderWidgetHostViewQtDelegateItem is being used.
Attachments
Issue Links
- duplicates
-
QTBUG-73277 Use https for downloading
- Reported
- relates to
-
QTBUG-119170 Creating and showing page too fast breaks the rendering
- Reported