Closed Bug 1699040 Opened 3 years ago Closed 3 years ago

Animation inspector's global play / pause buttons don't work until the rule panel has been finished loading

Categories

(DevTools :: Inspector: Animations, defect, P2)

defect

Tracking

(firefox89 verified)

VERIFIED FIXED
89 Branch
Tracking Status
firefox89 --- verified

People

(Reporter: whimboo, Assigned: daisuke)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0 ID:20210312033752

As it looks like for a certain amount of time after loading a page the global pause button doesn't work. Clicking on it doesn't cause any animations to stop.

Steps:

  1. Load https://www.esprit.de/herrenmode/bekleidung/pullover-strickjacken
  2. Open the devtools inspector and select the animation pane
  3. Click the global pause button

With step 3 the animations don't stop but continue to run. Trying again after a while might then work.

Maybe the amount of animations on that page causes a massive delay of the click event? It might be related to the slowdown as what I just filed as bug 1699039.

Actually at some point the animations stop, and then I have the same problem again with clicking the play button.

Summary: Animation inspector's global pause button doesn't always work → Animation inspector's global play / pause buttons can react very slowly
Attached video slow.mp4

Thank you very much for filing the issue!

As the video I attached, it seems that it takes too much time to load the rule pane if launching the animation inspector with 3 pane view. And also while loading it, it seems that we can't click the pause button.
And bug 1699039 also may be related to the issue.

Priority: -- → P2
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Summary: Animation inspector's global play / pause buttons can react very slowly → Animation inspector's global play / pause buttons don't work until the rule panel has been finished loading

Depends on D109845

Depends on D109846

Attachment #9211682 - Attachment description: WIP: Bug 1699040: Avoid rendering items that are out of displayed area. → Bug 1699040: Avoid rendering items that are out of displayed area.
Attachment #9211683 - Attachment description: WIP: Bug 1699040: Change tests to adapt new changes. → Bug 1699040: Change tests to adapt new changes.
Attachment #9211684 - Attachment description: WIP: Bug 1699040: Send properties as a part of status. → Bug 1699040: Send properties as a part of status.
Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2aac724081d8
Avoid rendering items that are out of displayed area. r=jdescottes
https://hg.mozilla.org/integration/autoland/rev/5df89206e867
Change tests to adapt new changes. r=jdescottes
https://hg.mozilla.org/integration/autoland/rev/67f1b9e425b9
Send properties as a part of status. r=jdescottes,devtools-backward-compat-reviewers
Regressions: 1701610
Regressions: 1701611
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Thanks! This works fine now with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0 ID:20210329214331.

Status: RESOLVED → VERIFIED

I’m glad to hear that!
Thank you very much for letting me know!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: