Minecraft/General Distros

In each distro I ever tried when trying to play Minecraft it doesnt let me to press W some times, even installing all java versions, it doesnt work, it keeps kinda sticking the w and space, so, does anyone a fix?, this happen in 1.13/later like 1.17, Im posting here since Its my current distro.

Most probably it’s your keyboard
replace it or replace the battery if it’s wireless

And this clear ain’t an OS issue, so better consider contacting the developers or corresponding team of that program.

It isnt my Keyboard, its a kinda of OS Host since its only happens on linux, on windows not

Os has nothing to do with a single key on keyboard and with a particular program.

This can be about compatibility of the software, which the os devs has nothing to deal with.