summaryrefslogtreecommitdiffstats
path: root/tools/buildscripts/qtwebengine_utils.py
diff options
context:
space:
mode:
authorAnu Aliyas <anu.aliyas@qt.io>2024-05-22 14:49:50 +0200
committerAnu Aliyas <anu.aliyas@qt.io>2025-02-09 19:53:30 +0000
commitd466ac041f1846d5403e535b9988b346c389a774 (patch)
tree9a3a210964bd9026df5e1f0393e737828995029f /tools/buildscripts/qtwebengine_utils.py
parentc445b866aff692b654cdde7f4b55d29a78fff9f5 (diff)
Prevent the white flashes during loading
It was recommended to set background color based on the web content to prevent the white flashes that may appear during load. However, it was not working, as the render widget host view may get created while load a new URL depending upon the PageTransition parameter value. Applied background color to the newly created the render widget host view to resolve the issue. This should be done after the frame is bound to the view, else might lead to a DCHECK failure when dealing with transparent window Fixes: QTBUG-112013 Change-Id: I200d3838b1c0628c2950e05e717215f149c11b6a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit dcc464b14c2c049a4b4d888ced0bb1a3d4ba3702) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 361091327b836f451aa028d1e9124b4ff46e6774)
Diffstat (limited to 'tools/buildscripts/qtwebengine_utils.py')
0 files changed, 0 insertions, 0 deletions