derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
27.21k stars 1.7k forks source link

popeye leaves artifacts on screen until line is updated #923

Open f4z3r opened 4 years ago

f4z3r commented 4 years ago




Describe the bug Run popeye and enter a resource. Then when leaving the "Sanitizer" screen, for instance by viewing pods, some individual letters from the popeye warnings are left on screen. These only disappear when the cursor goes onto the line of such a character, forcing a refresh of the line (I guess).

To Reproduce Steps to reproduce the behavior:

  1. Run :popeye
  2. Enter a resource which contains warnings.
  3. Run, for instance, :pods.

Expected behavior The screen should not contain any left over artifacts from popeye.

Screenshots 20201103080441

Versions (please complete the following information):

Additional context I don't use any theming or configuration that should affect the issue (as far as I can tell). Mostly plugins, hotkeys, aliases.

Note: I am pretty sure the artifacts are created when on the "Sanitizer" screen, when the screen drops because the command prompt appears. In most cases, the warnings already show some out-of-place characters then, before the resulting screen from the command is shown.

slimus commented 2 years ago

@f4z3r hello! Do you still have this issue? Thanks!

f4z3r commented 2 years ago

Hi @slimus. Yes I still seem to have this issue. I now use the following setup, which also exhibits the issue.

Currently running:

Eykha commented 9 months ago

Also still an issue running k9s with:

Further findings:

  1. It is always only the last letter of a warning message, when exiting out of the pods, serviceaccounts, daemonsets, nodes, deployments view, e.g. ☣️ (POP-102) No probes defined will leave a d floating
  2. When looking into the services or replicasets view and exiting, the last two letters of the name will be floating resulting e.g. 💁‍ my-namespace::my-servicece or 💁‍ my-namespace::my-service(5)5)
  3. Clusterrolebindings leave the last letter of their name floating
  4. The rest leave either nothing or I could not test it