vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.27k stars 3.52k forks source link

Split Horizontal/Vertical, render issues when connecting/disconnecting monitors #3778

Open emiljohansson opened 5 years ago

emiljohansson commented 5 years ago

Issue

In my projects, I always split my window using "Split Horizontal" (CMD+D) and "Split Vertical" (Shift+CMD+D) and randomly one or more of them will stop working. It seems like the canvas turns into an image and nothing works anymore. I can type and scroll, but nothing updates visually, see screenshot. If I change the size of the area, it stretches the text. If I change the theme, the broken canvas stays the same.

I'm not sure how to consistently reproduce this, but it seems to happen only when I connect/disconnect my monitor to/from my Macbook.

It's kind of hard to see, but in the screenshot I am scrolling when the mouse cursor is not moving.

Kapture 2019-07-31 at 7 39 49

rastating commented 5 years ago

I have been getting this same problem running under Ubuntu 18.04. I'm not disconnecting monitors at all, but seemingly at random (even if Hyper is not being interacted with), it will become unresponsive and this will happen (with the renderer seemingly stopping and it stretching the last frame around instead of redrawing).

I use panes / splitting so much that I'm not sure if that's had an impact on it, but it's probably safe to say that when it's happened I've had multiple panes in the terminal at once.

Stanzilla commented 5 years ago

Can you try with a CI build of current canary or maybe compile one yourself?

johhnry commented 3 years ago

Hi,

Same issue here on Hyper 3.0.2 (stable) running on Pop!_OS 20.10.

If I split the terminal vertically and I resize it, it's stretching the fonts :

hyper_split_bug

Not that it works fine when splitting horizontally.

It's doing this at first run without disconnecting displays.

Thanks! :)