New issue
Advanced search Search tips

Issue 893653 link

Starred by 4 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

requestIdleCallback sometimes hangs until the mouse moves again

Reported by bzugme...@gmail.com, Oct 9

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Steps to reproduce the problem:
* Add the attached JS file in a blank HTML page or go to http://jsfiddle.net/s7x8yu0e/.  The script run requestIdleCallback every 500ms, and logs a message when the idle callback is called.

* Open the console to verify that a message is logged every 500ms.

* Focus the page with the mouse (= click the jsfiddle page frame), and move the mouse around.  Stop moving the mouse.  Repeat.

What is the expected behavior?
The message should be logged every 500ms (more or less).  The "count" variable should stay at 0.

What went wrong?
Sometimes, when the mouse stops moving and pointer becomes still, the callback is not called until the pointer moves again.  We can see the setInterval callback was still correctly called every 500ms because the "count" variable is incremented.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 69.0.3497.100  Channel: stable
OS Version: ArchLinux
Flash Version: 

This happens quite often on Linux.  A colleague tried on macOS (laptop + trackpad, no mouse) and reproduced the issue almost everytime.
 
bug.js
198 bytes View Download
Labels: Needs-Triage-M69
Cc: susan.boorgula@chromium.org
Labels: Triaged-ET Needs-Bisect
Status: Untriaged (was: Unconfirmed)
bzugmeyer@ Thanks for the issue.

Able to reproduce this issue on Windows 10 and Mac OS 10.13.3 on the reported version 69.0.3497.100 and the latest Canary 71.0.3578.0 by following the steps given above.
Will provide the bisect information soon. Hence adding the 'Needs-Bisect' label and marking this issue as Untriaged .

Thanks..
Labels: -Type-Bug -Pri-2 -Needs-Bisect Target-70 Target-71 M-71 FoundIn-71 FoundIn-70 Target-69 FoundIn-69 OS-Mac OS-Windows Pri-1 Type-Bug-Regression
//Adding to comment #3.

Able to reproduce this issue on Windows 10, Ubuntu 17.10 and Mac OS 10.13.3 on the reported version 69.0.3497.100 and the latest Canary 71.0.3581.0, but the issue is inconsistent.
Unable to provide the bisect information as both good and bad behaviors are observed on 69.0.3497.100.
Attached are the screen shots for reference.

Hence adding the appropriate labels and requesting Dev to look into the issue and help further.

Thanks..


893653-M69-good.PNG
112 KB View Download
893653-M69-bad.PNG
149 KB View Download

Sign in to add a comment