Closed
Bug 1211886
Opened 9 years ago
Closed 9 years ago
Infinite animations that are past their first iterations can't be paused/played
Categories
(DevTools :: Inspector: Animations, defect)
DevTools
Inspector: Animations
Tracking
(firefox45 fixed)
RESOLVED
FIXED
Firefox 45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: pbro, Assigned: pbro)
References
Details
(Whiteboard: [polish-backlog][difficulty=medium])
Attachments
(1 file, 1 obsolete file)
8.95 KB,
patch
|
miker
:
review+
|
Details | Diff | Splinter Review |
STR:
- go to http://bgrins.github.io/devtools-demos/inspector/animation-timing.html
- open the animation-inspector
- wait until all animations have completed their first iteration (i.e. the scrubber has gone beyond the timelines in the panel)
- try to use the pause button in the toolbar
Expected: the pause button still looks like a pause button and clicking it actually pauses the animations displayed in the timeline.
Actual: once the scrubber reaches the end of the timeline, the button turns to its play mode again, and clicking it has no effect on the animations.
Assignee | ||
Comment 1•9 years ago
|
||
I have a fix for this, build on top of a rather long commit series that ends with bug 1211801, so making this depend on bug 1211801.
Assignee | ||
Updated•9 years ago
|
Blocks: de-44-polish
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 2•9 years ago
|
||
No need to wait for bug 1211801 which I'll land later after all. This is small annoying bug that should be fixed asap. Will attach a patch later.
No longer depends on: 1211801
Assignee | ||
Comment 3•9 years ago
|
||
The code change itself is pretty simple: if there are infinite animations displayed in the timeline, we let the scrubber move even past the timeline bounds. This way there's no doubt possible when deciding if the button should be in paused or playing state.
I added more test cases for this.
@Mike: this is a relatively urgent review request, this bug has been noticed when working on our FF44 campaign demo material, so it'd be great to fix it before 44.
Attachment #8679968 -
Flags: review?(mratcliffe)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8679968 [details] [diff] [review]
Bug_1211886_-_Make_infinite_animations_that_iterat.diff
Wrong patch, sorry.
Attachment #8679968 -
Attachment is obsolete: true
Attachment #8679968 -
Flags: review?(mratcliffe)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8679969 -
Flags: review?(mratcliffe)
Attachment #8679969 -
Flags: review?(mratcliffe) → review+
Assignee | ||
Comment 6•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=45d6f2e1ecb1
This try build is catching some weird, seemingly unrelated, leaks in other devtools tests.
Since they seem really unrelated and I don't see how this patch could cause them, I'm going to request check-in.
Keywords: checkin-needed
Assignee | ||
Comment 7•9 years ago
|
||
Got confirmation today that the leaks in the previous try builds are unrelated. Landing this now:
https://hg.mozilla.org/integration/fx-team/rev/a88a1f9ba215
Keywords: checkin-needed
Comment 8•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8679969 [details] [diff] [review]
bug1211886.patch
Approval Request Comment
[Feature/regressing bug #]: This is a bug from the original animation-panel timeline implementation in bug 1153271 and bug 1155661.
[User impact if declined]: If declined, the UI of the animation-panel (which is one of the tools demo'd heavily in FF44 marketing campaign) will be wrong for infinite animations. Indeed, the pause button will go back to play state after a while even if the animation is still playing.
[Describe test coverage new/current, TreeHerder]: Added a new browser devtools mochitest for this.
[Risks and why]: There are quite a few tests for the animation UI, so this is low risk, I don't think this introduced any new regressions. If it did, it will be something related to the play/pause button in the animation-inspector. So it's quite contained.
[String/UUID change made/needed]: None.
Attachment #8679969 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 10•9 years ago
|
||
Alright, it seems we have "blanket approval" for devtools polish bugs for dev-edition 44 (and this one is a pretty important one for the animation-inspector which is demo'd in the marketing campaign). So here it goes:
https://hg.mozilla.org/releases/mozilla-aurora/rev/56e2e69aea4d
Assignee | ||
Updated•9 years ago
|
Attachment #8679969 -
Flags: approval-mozilla-aurora?
Comment 11•9 years ago
|
||
bugherder uplift |
status-b2g-v2.5:
--- → fixed
Comment 12•9 years ago
|
||
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
Comment 13•9 years ago
|
||
bugherder uplift |
status-b2g-v2.5:
--- → fixed
Assignee | ||
Updated•9 years ago
|
status-b2g-v2.5:
fixed → ---
Component: Developer Tools: Inspector → Developer Tools: Animation Inspector
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•