godotengine / godot

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

Godot regisers incorrect TAB inputs on wayland #96006

Closed betalars closed 2 weeks ago

betalars commented 2 weeks ago

Tested versions

v4.2.2.stable.nixpkgs [15073afe3]

System information

KDE Plasma 6.1.2 - Wayland - on nixos

Issue description

When using Alt+TAB to switch applications, the godot editor will register TAB-Inputs causing a bunch of wrong indentations during development.

It is not reproducible in x11, but it is also seems to be happening only in godot. :thinking:

Would likely report it upstream somewhere, but this behaviour only seems to occur in godot. Tested it with firefox and it didn't happen and I am very sure this behaviour would have also annoyed me a lot when using ghostwriter, element, inkscape or blender and I only remember it happening in Godot.

Steps to reproduce

  1. Open a Godot project while using wayland
  2. go to code window
  3. open multiple other windows
  4. Alt-Tab once
  5. Alt-Tab back
  6. nothing happens
  7. Alt-TAB-TAB-TAB
  8. there are now two indentations that should not be there

Minimal reproduction project (MRP)

n/a

betalars commented 2 weeks ago

Oh, I have just managed to also reproduce it in VSCodium, interesting ... in this case I am going to also create this issue in plasma I guess.

betalars commented 2 weeks ago

RESOLVED UPSTREAM