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

Enter wrong pod when using "global filtering by resource name" #445

Open
clayms opened this issue Mar 8, 2024 · 2 comments
Open

Enter wrong pod when using "global filtering by resource name" #445

clayms opened this issue Mar 8, 2024 · 2 comments

Comments

@clayms
Copy link

clayms commented Mar 8, 2024

Describe the bug
When I filter pods by pressing f "global filtering by resource name", when I highlight the pod I want to enter with the arrow keys, then press enter to enter the pod, I enter a completely different pod. It appears that the index from the list of unfiltered pods list is still getting used to select which pod to enter.

To Reproduce
Steps to reproduce the behavior or a screencast

  1. on pod resource pane
  2. apply global filter
  3. highlight pod and note name
  4. Enter
  5. Note pod entered is not the same

Expected behavior
Enter the correct pod

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS and OS version: Debian GNU/Linux 12 (bookworm) on Windows 10 x86_64 Kernel: 5.15.133.1-microsoft-standard-WSL2
  • Terminal name and version : WSL Relay(32540)
  • Shell name and version: bash 5.2.15
  • Kubectl Client Version: 1.29
  • Kubectl Server Version: 1.29
  • KDash version: 0.6.0
@clayms
Copy link
Author

clayms commented Mar 8, 2024

I can confirm that the pod that was highlighted before applying the filter is the pod that is entered after applying the filter. If I use the arrow keys to move the selection highlight one pod down, and enter that pod, I still don't enter into the selected pod shown, but instead enter into the second pod from the un-filtered list of pods.

Therefore, the index or list used to enter into a pod is not getting updated after filtering the list of pods.

@deepu105
Copy link
Contributor

deepu105 commented Mar 11, 2024 via email

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

2 participants