Closed
Description
Operating system or device, Godot version, GPU Model and driver (if graphics related):
- Debian and Ubuntu, on Chromium and Firefox.
- Godot 2.1.4 stable
- HTML5 exports only (work with regular binaries)
Issue description:
System clipboard contents cannot be pasted in controls such as LineEdit
. The game has its own clipboard contents and it is not shared with the system.
OS.get_clipboard()
stays empty unless we copy text from the game itself.
This is confusing for users because HTML input
fields do share their clipboard with the system.
Steps to reproduce:
- Make a scene with a
LineEdit
. - Export it to HTML5
- Run it in a browser (I use
php -S
when I'm in a hurry or too lazy, to avoidfile://
issues) - Copy text from any source but the game (eg: the URL bar of the browser)
- Try to paste it in the
LineEdit
.
Activity