CefView / QCefView

A Qt Widget encapsulated CEF view based on QWidget
https://cefview.github.io/QCefView/
GNU Lesser General Public License v2.1
521 stars 137 forks source link

[BUG]: 无法使用笔记本双指下滑 #339

Open student2002 opened 10 months ago

student2002 commented 10 months ago

Describe the bug 【Bug描述】

编译后测试用的demo在笔记本下使用双指滑动屏幕会出现异常 ...

To Reproduce 【复现步骤】

  1. 构建QCefView-v1.1.0
  2. 编译时选择构建build_demo
  3. 重新生成项目后运行demo
  4. 使用笔记本双指滑动屏幕

Expected behavior 【正确的预期行为】

正常下滑页面 ... Screenshots 【截图】

image

...

Environment 【BUG产生的环境】

Additional context 【更多额外信息】

...

student2002 commented 10 months ago

生成项目前 取消了 virtual bool requestClose(CefRefPtr browser) override;的override, 注释了QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);

L-Super commented 10 months ago

可以尝试CEF的demo是否支持双指下滑