Open
Bug 1245562
Opened 10 years ago
Updated 18 days ago
Playbackrate button in the animation panel toolbar should not be bound with animation.playbackRate
Categories
(DevTools :: Inspector: Animations, defect, P3)
Tracking
(Not tracked)
REOPENED
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
(Whiteboard: [btpp-backlog])
Attachments
(1 file, 1 obsolete file)
|
694 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160123151951
Steps to reproduce:
1. Open attachment
2 [review]. Open the devtools
3. Select the body element in the inspector panel
4. On the side-panel, go to the "Animations" tab
5. Select the 2x pl
Actual results:
The animation timeline header is updated, showing an overall 5s total animation duration ( was previously 10s ).
Typing the following in the console :
> $("div").getAnimations()[0].playbackRate
Will output : "2"
Expected results:
The animation timeline header should not be updated and still show a 10s animation duration.
If played, the animation scrubber should move 2 times slower than in "1x" mode.
The command :
> $("div").getAnimations()[0].playbackRate
Should output : "1"
| Assignee | ||
Updated•10 years ago
|
Has STR: --- → yes
Component: Untriaged → Developer Tools: Animation Inspector
| Assignee | ||
Comment 1•10 years ago
|
||
The name of the playbackRate button could be misleading here, I will refer to it as "speedRate button" in the following.
---
As discussed on IRC with pbrosset, I think the speedRate button in the toolbar should not affect how time is displayed in the animation timeline, but rather affect how fast the scrubber move.
At the same time, the animation.playbackRate ( set by javascript ), should be more visible ( currently, you have to hover the animation block to see it ).
With those change, the animation panel would be able to deal with multiple playbackRates ( currently, when there are differents playbackRates, we show a "-" in the speedRate button ).
This could be difficult to do as, for now, it uses animation.playbackRate in order to play the animations to the selected rate. pbrosset evoked GroupEffects to deal with this ( http://danielcwilson.com/blog/2015/09/animations-part-4/ ), but this is not in the WebAnimation API Level 1 spec.
I hope I made this clear enough.
Feel free to tell me if not, I will happily provide screenshots/video if needed.
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
| Assignee | ||
Comment 3•21 days ago
|
||
The flag will be set from DevTools to control the playback rate of all animations
in the page.
Updated•21 days ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/cf9c6759ce6f
https://hg.mozilla.org/integration/autoland/rev/e3e77b93583a
Add animationsPlayBackRateMultiplier BrowsingContext flag. r=hiro.
Pushed by chorotan@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/71b8fe687b34
https://hg.mozilla.org/integration/autoland/rev/fbc8640ae274
Revert "Bug 1245562 - Add animationsPlayBackRateMultiplier BrowsingContext flag. r=hiro." on request for being attached to the wrong bug
Comment 6•18 days ago
|
||
Comment on attachment 9538076 [details]
Bug 1245562 - Add animationsPlayBackRateMultiplier BrowsingContext flag. r=hiro,boris.
Revision D279259 was moved to bug 2011224. Setting attachment 9538076 [details] to obsolete.
Attachment #9538076 -
Attachment is obsolete: true
Comment 7•18 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 18 days ago
status-firefox149:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
| Assignee | ||
Comment 8•18 days ago
|
||
Flags: needinfo?(nfay)
Updated•18 days ago
|
Status: RESOLVED → REOPENED
status-firefox149:
fixed → ---
Resolution: FIXED → ---
Target Milestone: 149 Branch → ---
Updated•18 days ago
|
Flags: needinfo?(nfay)
You need to log in
before you can comment on or make changes to this bug.
Description
•