Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI issues on Ubuntu 22.0.4 LTS #2703

Open
richardpaulhudson opened this issue May 14, 2024 · 4 comments
Open

GUI issues on Ubuntu 22.0.4 LTS #2703

richardpaulhudson opened this issue May 14, 2024 · 4 comments

Comments

@richardpaulhudson
Copy link




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:

  1. 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)
  2. Press the DOWN arrow five times
  3. Wait for a few seconds
  4. Press the UP arrow once
  5. 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.

@wjiec
Copy link
Contributor

wjiec commented May 15, 2024

What is weirdest is that if I ssh into the same machine from elsewhere, k9s works exactly as expected.

From this phenomenon it looks and feels like a problem with the terminal or system settings?

@derailed
Copy link
Owner

I agree This all worked fine until about a week ago. What changed?

@iamzili
Copy link

iamzili commented May 15, 2024

I experienced the same behavior, but I was lazy and installed another terminal. I don't have the same issue there. As @wjiec mentioned, the issue could be terminal or system settings related. Previously I used this terminal emulator: https://gitlab.gnome.org/GNOME/console

@richardpaulhudson
Copy link
Author

richardpaulhudson commented May 15, 2024

Thanks for the advice and tips. I've installed the Yakuake terminal and can confirm everything works normally there. I was also using Gnome previously.

I'll leave it to the maintainers to decide whether this issue should now be closed or whether it should be kept open, either because there is still something somebody wants to look at or in case others come across the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants