Ending a stroke outside the canvas may cause a "shooting line" #810
Labels
cat.Canvas
Issue relates to the canvas
cat.Input.Pointer
Issue relates to pointing capabilities
platform.Linux
Issue is reported on Linux
type.Bug
Something isn't working as intended
Description of the problem
While painting with a tablet, if a stroke ends outside the canvas it seems that MyPaint may render a line that shoots from the end of the stroke towards point the pen re-enters the canvas (even though the pen is up at this point). If the pen is held down outside of the canvas while in this state and then dragged into the canvas, no shooting line is rendered until the pen is picked up; at which point the line shoots towards the current pen position.
The program acts as though the stroke is not properly terminated when the stroke ends outside of the canvas. A notification about the pen being "up" is only sent once the canvas starts receiving pen events again (i.e., when the hovering pen re-enters the canvas, or when a dragged pen stops dragging).
Basic system details
MyPaint version: 1.3.0-alpha+git.be1fe883
Operating system: Arch Linux
Desktop environment: GNOME (Wayland session)
Packages: Python 2.7.13, GTK 3.22.15, GdkPixbuf 2.36.6, Cairo 1.14.8, GLib 2.52.1
Steps to reproduce
MyPaint_Issue_Video.zip
The text was updated successfully, but these errors were encountered: