winsoft666 / QCefWidget

A Qt widget that can render and interact with webpage.
GNU Lesser General Public License v3.0
263 stars 62 forks source link

Several problems found after integrating QCefWidget1.0.3+CEF89.0.18 #30

Closed airheadork closed 2 years ago

airheadork commented 3 years ago

Hi there, I was using QCefWidget1.0.3+cef_binary_89.0.18+gb36241d+chromium-89.0.4389.114_windows32. The demo runs well, but after I integrated into my own project, I found several problems and can't figure out what the cause is.

Issue 1: Under debug mode, If I select some text on the web or simply press the left mouse button and drag, the app will crash immediately, the debug message showing I was the libcef.dll crashing. Under release mode , It won't crash if I doing this.

Issue 2: If I enable the context menu by "pCefGLWidget->setContextMenuEnabled(contextMenuEnabled)", the context menu did shows, but the menu won't disapear if I click the elsewhere on the page.

Issue 3: Textbox can't get focus automatically if using tab key moving aroud several textboxes.

I also test the QCefWidgetTest.exe, it does't have such problems. I was wondering what the cause is. Thanks in advance!