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
[Bug] Item highlighting broke in v0.29.0 #2327
Comments
I have the same problem on windows with git-bash terminal and powershell. |
I observed some weird behaviour: I have different k8s contexts configured. Depending on the context, I either saw the colors I had in the previous version of k9s or the problem with the invisible lines. After adding the example skin from the themes page and changing contexts for a while, deleting the skin and changing contexts more times, now all contexts show the correct colors. Maybe it is some configuration error? Or is there some caching involved? Maybe it helps to recreate the k9s config? |
I have done that (remove |
same problem arch linux |
Same issue here with fresh install on Ubuntu. |
I found a solution for me: In my kubeconfig file the names of the clusters with the ui-problems had different names that the contexts referencing them. clusters:
- cluster:
[...]
name: abcd
contexts:
- context:
cluster: abcd
[...]
name: my-context
[...] When I use the same name for the cluster and the context, everything works fine again. clusters:
- cluster:
[...]
name: abcd
contexts:
- context:
cluster: abcd
[...]
name: abcd
[...] So the bug seems to be that k9s has problems when a cluster has a different name than the context that references it. |
The behaviour identified by @lukasjelonek also affects skin loading in v0.29.0. Once the context name matches the cluster name, the right skin from config.yml is loaded as expected. This issue is worse when you work with aws EKS as the cluster and context names are very long so it's more likely that users might rename contexts to make them useful. |
@krzwiatrzyk-lgd Thank you all for the heads up and details! sorry for the mess... |
Seems to be fixed now. Thank you! |
Thank you all for reporting back! Fixed in v0.29.1... |
I can also confirm the fix in v0.29.1, thank you! |
Describe the bug
After upgrade to v0.29.0, items loose their colors (no custom theme used!) and item selecting doesn't highliting item, it makes it disappear.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Item properly highlighted.
Screenshots
Highlighted bar:
Trying to hightlight item (item is not shown):
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: