Crash + lost work on drag starting from window, ending at screen y-coordinate 0
Platform: Lenovo X220, Arch Linux, Awesome window manager, rxvt terminal.
Reproduction:
- Start holding left mouse button anywhere in the terminal hosting a void instance.
- Touch top of the entire screen, not the top of the terminal window.
- -> 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.
Ahha! This is an issue with termion. I tried to use another application that uses termion, and experienced the exact same issue.
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.
This only happens on rxvt terminal emulator. Details in issue at termion.