k9s
k9s copied to clipboard
GUI issues on Ubuntu 22.0.4 LTS

Describe the bug First, thanks for this wonderful library! I'm experiencing some very strange behaviour which I hope somebody can shed some light on. The keys do not behave as expected, e.g. if I press the UP arrow several times and then switch to pressing the DOWN arrow, the first press of the DOWN arrow is interpreted as an UP and vice versa; and if I press CTRL+F to start port forwarding on a pod, the pod above the one I had selected is opened. The overall impression is that there is an event queue where the each event is only processed once a second event is added so that the first event is in penultimate position in the queue.
What is weirdest is that if I ssh into the same machine from elsewhere, k9s works exactly as expected.
I have checked with evtest
that there is no obvious issue with my keyboard.
To Reproduce Steps to reproduce the behavior:
- Open k9s (where the pods view was previously selected). You will need to press ENTER an extra time to see the pods view (seemingly part of the bug)
- Press the DOWN arrow five times
- Wait for a few seconds
- Press the UP arrow once
- The pod selection goes downwards rather than upwards
Historical Documents
Expected behavior Normal key assignments / behaviour.
Versions (please complete the following information):
- OS: Ubuntu 22.0.4 LTS
- K9s: 0.32.4
- K8s: 1.28.3
Additional context This all worked fine until about a week ago.