diff options
author | Anu Aliyas <anu.aliyas@qt.io> | 2024-05-22 14:49:50 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-06-01 04:43:30 +0000 |
commit | 361091327b836f451aa028d1e9124b4ff46e6774 (patch) | |
tree | 8fc44da17ae6232112ca1798182b9d4a1d5cde33 /examples/pdfwidgets/pdfviewer/pdfviewer.pro | |
parent | 6794e5bdacc0324aea25b323268e126ab634eafc (diff) |
Prevent the white flashes during loading6.7
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
Pick-to: 6.6 6.5
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>
Diffstat (limited to 'examples/pdfwidgets/pdfviewer/pdfviewer.pro')
0 files changed, 0 insertions, 0 deletions