void icon indicating copy to clipboard operation
void copied to clipboard

Crash + lost work on drag starting from window, ending at screen y-coordinate 0

Open hegza opened this issue 5 years ago • 3 comments

Platform: Lenovo X220, Arch Linux, Awesome window manager, rxvt terminal.

Reproduction:

  1. Start holding left mouse button anywhere in the terminal hosting a void instance.
  2. Touch top of the entire screen, not the top of the terminal window.
  3. -> Application exits with exit code 101, which is rustc for "panic", without a trace on debug logs (as far as I reckon).

Other notable

  • Left edge (x=0) of screen does not produce this issue.

Seems like a pretty simple out-of-bounds or a division by zero-like issue. I will investigate and try to implement a fix when I get back from work in 6 hours.

hegza avatar Jan 23 '20 11:01 hegza

Ahha! This is an issue with termion. I tried to use another application that uses termion, and experienced the exact same issue.

hegza avatar Jan 23 '20 14:01 hegza

Filed an issue at termion. The panic happens without backtrace, so I don't feel like there's anything void can do in terms of saving work for instance, but I wouldn't know.

hegza avatar Jan 23 '20 15:01 hegza

This only happens on rxvt terminal emulator. Details in issue at termion.

hegza avatar Feb 09 '20 21:02 hegza