Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.13.2
-
None
-
Windows 10
Description
Qt Application hangs when too many QWebEngineView widgets are shown.
In my application I have more than 100 different dialogs. I use QWebEngineView to display help for each dialog beside it. When I create and show more than ~70 QWebEngineView widgets qt application hangs and becomes inresponsive forever.
I created a simple test Qt Widgets Application, where the problem is reproduced on Widows 10. I attached the whole buildable project "CrashWebkit" in .zip.
In the application over 100 Tabs with QWebEngineView are created. Each QWebEngineView shows the same simple content of the text file from the resource.
Run the application and tab through the tabWidget tabs (with mouse or Ctrl+Tab) until you reach more than 70th - 71th tab. Eventually, the application will hang and become inresponsive.
Note, that even when I comment out the setUrl(url) line, the QWebEngineView doesn't show any content, but the application will still hang (this time more tabs need to be tabbed through to achieve it).
I tried to clean QtWebEngine cache on my Windows in %LOCALAPPDATA%. Eventually, the application worked fine, when I tabbed through all tabs. But when I increased tab number from 100 to 125, the bug still reproduced on "Tab 103".