You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
是没实现,实现这个接口就好了:///
/// Implement this interface to handle printing on Linux. Each browser will have
/// only one print job in progress at a time. The methods of this class will be
/// called on the browser process UI thread.
///
/--cef(source=client)--/
class CefPrintHandler : public virtual CefBaseRefCounted {
是没实现,实现这个接口就好了:/// /// Implement this interface to handle printing on Linux. Each browser will have /// only one print job in progress at a time. The methods of this class will be /// called on the browser process UI thread. /// /--cef(source=client)--/ class CefPrintHandler : public virtual CefBaseRefCounted {
Describe the bug 【Bug描述】
在Linux平台下运行QCefViewTest程序,右键选择打印,程序崩溃,报错信息:
直接使用js的
window.print()
,或者开发者工具里调用window.print()
均会导致程序崩溃。另外,测试cefclient、cefsimple,NCW,OSR模式下均可以正常调用打印对话框,不会崩溃。
To Reproduce 【复现步骤】
Expected behavior 【正确的预期行为】
调用系统打印对话框
Screenshots 【截图】
...
Environment 【BUG产生的环境】
Additional context 【更多额外信息】
测试平台:UOS、Ubuntu 22.04.3 LTS
The text was updated successfully, but these errors were encountered: