zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
19.38k stars 610 forks source link

Missing borders of floating window #3424

Open dav-wolff opened 2 weeks ago

dav-wolff commented 2 weeks ago

Issues with the Zellij UI / behavior / crash

Issue description

Sometimes the left and right borders of floating windows are only partly shown with fullscreen app in the main pane. Which parts are visible seems to depend on the contents of the background. I have reproduced the issue using lazygit and helix in the background. Using lazygit most of the border was hidden. Using helix, the amount of the border hidden seemed to be affected by how many lines of text of the document were rendered.

Minimal reproduction

  1. Open some fullscreen application like lazygit in the main pane
  2. Open a floating pane
  3. Open another floating pane
  4. Resize the second floating pane horizontally to the edge of the screen and make it smaller again so that its left and right borders are directly adjacent and inside the left and right borders of the first floating pane (this can also be achieved by moving it with the mouse)
  5. Switch back to the first floating pane
  6. Toggle the floating pane off and on again. The left and right borders are now partly missing.

Other relevant information

zellij --version: zellij 0.40.1

stty size: 51 254