chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.23k stars 456 forks source link

[Linux] IME does not work with multi-threaded-message-loop #3474

Open DZhang456 opened 1 year ago

DZhang456 commented 1 year ago

Describe the bug "When I use cefsimple, IME can be used normally, but when I embed cef into my qt program, IME cannot be used, which makes me very confused."

To Reproduce Steps to reproduce the behavior: 1.new a qwindow 2.use qwindow->winid() SetAsChild 3.load "google.com"

Expected behavior IME can be used normally,

Versions (please complete the following information):

Additional context Does the problem reproduce with the cefclient or cefsimple sample application at the same version? --NO

Does the problem reproduce with Google Chrome at the same version? --NO

Add any other context about the problem here.

DZhang456 commented 1 year ago

update--i can reproduce this issue in cefsimple,just set multi_threaded_message_loop is true and don't use CefRunMessageLoop()

magreenblatt commented 1 year ago

Related to #1813

DZhang456 commented 1 year ago

hi, @magreenblatt ,Can you help me take a look at this issue? It's easy to reproduce it in cefsimple by following the steps above..Thank you very much