godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.68k stars 20.11k forks source link

Delete and Insert keys do not work at all, Shift+arrow selects text permanetly #56829

Open CanadianBeaver opened 2 years ago

CanadianBeaver commented 2 years ago

Godot version

3.4.2 stable

System information

Xubuntu 18.04.6 LTS

Issue description

The problem are with keys on Numpad section - Num Lock is off. These keys work perfect in any linux application, do not work only in Godot. The same Godot verson on the same PC on Windows 10 works.

cat /etc/default/keyboard

XKBMODEL="pc105" XKBLAYOUT="us,ru" XKBVARIANT="," XKBOPTIONS="grp:alt_shift_toggle,numpad:microsoft"

BACKSPACE="guess"

XFCE settings - Use system default

Steps to reproduce

Open Godot, open a script, try to press Del, Insert or Shift+arrow in script-text-editor

Minimal reproduction project

No response

Calinou commented 2 years ago

@CanadianBeaver Can you reproduce this on a 4.0 nightly build?

CanadianBeaver commented 2 years ago

Unfortunately, can not run godot 4 on my Intel HD 630:

Your video card driver does not support any of the supported Vulkan or OpenGL versions. Please update your drivers or if you have a very old or integrated GPU, upgrade it. If you have updated your graphics drivers recently, try rebooting.

glxinfo | grep "OpenGL version" OpenGL version string: 3.0 Mesa 20.0.8

glxinfo | grep "OpenGL" OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (CFL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.8 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 20.0.8 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.8 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions:

Calinou commented 2 years ago

@CanadianBeaver This is likely due to your graphics drivers being too old, which can be remedied by upgrading to Ubuntu 20.04 or using a Mesa PPA.

sancho2 commented 2 years ago

@Calinou
I can confirm this bug exists even with both Ubuntu 20.04 and Mesa PPA.

aXu-AP commented 1 year ago

Recently a workaround was found at qa site (check comments): https://godotengine.org/qa/138647/script-editor-ignores-numpad-del-key-workaround-found

Posting it here if somebody stumbles on this issue and needs quick fix.