Skip to content

FormsPlot: Frequent MouseMove events overflow the stack #1906

@AbeniMatteo

Description

@AbeniMatteo

Bug Report

Issue: StackOverflowException while dragging "Mouse Tracker" demo's graph.

Stack trace:

[External Code]	
ScottPlot.FormsPlot.Refresh(lowQuality, skipIfCurrentlyRendering) Line 158
ScottPlot.Demo.WinForms.WinFormsDemos.MouseTracker.formsPlot1_MouseMoved_1(sender, e) Line 40
ScottPlot.FormsPlot.PictureBox1_MouseMove(sender, e) Line 205
[External Code]	
...repeated...

Reproducing:

  1. Start WinForms demo project
  2. Click "Mouse Tracker" button
  3. Drag around the graph until the exception is thrown (left button, press it and don't release).

System Details

  • ScottPlot Version: main@a3b5909 (4.1.49)
  • Operating System: Windows 10
  • Application Type: WinForms
  • .NET Version: .NET 6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions