Closed Bug 294464 Opened 20 years ago Closed 20 years ago

Esc key no longer halts canvas animation

Categories

(Core :: Graphics: Canvas2D, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Waldo, Unassigned)

References

()

Details

Back when canvas was new, the Escape key would halt it -- this is typical for
in-page animations.  Sometime recently a bugfix regressed this behavior,
although I don't know when.  (I use home builds which aren't built on any
regular schedule.)  I tried the 2005-05-11-11 build, which exhibited the
failure, but I didn't try any further back because right around that time was
when canvas got hooked up to the tinderboxen.  Stopping animated GIFs still
works with Esc.

Adding a few people to the CC list who might be able to fix this...
I'm pretty sure the escape key never did this... the canvas isn't animating like
images are -- you're just continuing to draw to the canvas from js timeouts.  So
there's no way to stop any "animation" without blocking all further paints to
the canvas, which doesn't make any sense.
Doesn't Esc kill off JS timeouts these days? Hm, seems like it doesn't any more,
but I know it did recently...
Ah, bz says the escape key did this for a few months (jan 31 through may 8), but
that change had to be backed out... see bug 292921.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.