Skip to content

Crash if you use easeOutElastic for the smoothing option in the Zoom plugin #2918

@kalaposfos13

Description

@kalaposfos13

Describe the bug
If you zoom in and zoom out using the smoothing option in the title, Wayfire will crash, presumably due to easeOutElastic producing interpolation values outside of the 0-1 range.

To Reproduce
Steps to reproduce the behavior:

  1. Enable the Zoom plugin
  2. Zoom in, then fully back out
  3. Wayfire crashes

Expected behavior
No crashing occurs, and the space at the edges where there's no output to display is filled with black or something.

Screenshots or stacktrace
log.txt

Wayfire version
0.10.0, from the AUR

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions