gdcef icon indicating copy to clipboard operation
gdcef copied to clipboard

Copy/paste in Godot input text makes the application freezing

Open Lecrapouille opened this issue 1 year ago • 1 comments

  • When selecting a paragraph with the mouse, then doing browser->GetMainFrame()->Copy() then pasting inside a text editor (or echo <Ctr-C> | cat -e) it gives the text with 3 consecutive '\n' instead of 1.

  • When doing the same thing (browser->GetMainFrame()->Paste()) inside a GitHub input text, it works (\n are removed). But if I paste it for either in a Godot input text or getting the Godot clipboard, then my CEF application is freezing.

  • In Godot when pressing keys they can repeat actions, I noticed this called many times browser->GetMainFrame()->Copy() with consequence it cumulates the selected text.

I think there is possible memory corruption with browser->GetMainFrame()->Copy()

Lecrapouille avatar Apr 21 '24 18:04 Lecrapouille

Looks like conflict with default Godot keyboard ui_map.

Lecrapouille avatar Dec 20 '24 09:12 Lecrapouille