-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOM元素发生改变,导致窗口渲染异常 #102
Comments
我这边无法复现你的问题,你用的Qt和Cef版本都不是目前项目使用的,暂时不解决这个问题,你自己查查吧。 |
可以了,使用项目给的默认cef-95版本是正常的,谢谢 |
已解决,并不关乎版本问题,cef需要设置默认的背景颜色,与openGL原理一样,在渲染时也同样需要设置“无颜色区域的”填充颜色,否则不会覆盖上一帧有差异的像素点
|
#104 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
在调试QCefViewTest.exe时发现,在QT窗口内,DOM元素发生改变,会使得块级元素挤在一起;
使用CefViewWing.exe打开的页面却没有这个问题。
Screenshots
![image](https://user-images.githubusercontent.com/66913005/170166143-56c99ae4-8a7f-422b-9dd4-42ff2fc4e332.png)
(异常行为)渲染失败的截图:
(期望的正常行为)拖动窗口后,重新绘制后的截图:
Desktop (please complete the following information):
-OS: windows10
-QT: 5.12
-cef: cef_binary_101.0.15+gca159c5+chromium-101.0.4951.54_windows64_minimal
The text was updated successfully, but these errors were encountered: