Skip to content

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

@hegza

Description

@hegza

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions