numworks / epsilon

Modern graphing calculator operating system.
https://www.numworks.com/resources/engineering/software/
1.75k stars 463 forks source link

Unneccesary re-plotting in the Functions app #1294

Open nsajko opened 4 years ago

nsajko commented 4 years ago

Describe the bug

When in the "Graph" environment in the "Functions" app, after the graph has already been plotted, giving Numworks almost any kind of input causes it to annoyingly recompute and redraw the graph.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the Functions app
  2. Plot a function, preferably one that takes some time to compute and plot
  3. Press the up arrow or the back button after the graph is already drawn
  4. See the graph being redrawn unnecessarily

Expected behavior

There is no reason for the graph to be redrawn. It should not be re-plotted. This is especially annoying when I want to exit the Functions app or change the function to be plotted.

Environment

nsajko commented 4 years ago

This would become a negligible issue if #1293 were fixed.