question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG: handled idle incorrect

See original GitHub issue

If switch between tabs, any time I get “idle” if the time has not come: I expected get “focus” not “idle”

Example of code:

ifvisible.setIdleDuration(600); // 10 min == 600 sec
ifvisible.idle(function(){
    console.log("ifvisible.idle handled");
});

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
serkanyersencommented, Jul 9, 2016

Wait I think I closed the wrong issue 😕 I’ll work on this one as well. sorry about that

0reactions
akira32chencommented, Mar 6, 2018

ifvisible.js prevent blur to trigger idle event as below http://blog.xuite.net/akira32/home/569372678

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filters with Idle Allocation handled incorrectly in new ETL · Issue ...
Describe the bug Changing the filter is causing idle allocation to be recalculated in a way that is incorrect/not idempotent. Right now this...
Read more >
Bug #30557 “cpu idle time in /proc/stat wrong”
The cpu idle time (4th number) in /proc/stat only increases by a few counts per second when the system is idle. In 2.6.12,...
Read more >
Issue 15809: 2.7 IDLE console uses incorrect encoding.
The problem is that IDLE passes an UTF-8 encoded source string to compile, and compile, in the absence of a source encoding, uses...
Read more >
Bug: Incorrect amplifier multipliers when buying in bulk :: Idle ...
Bug : Incorrect amplifier multipliers when buying in bulk ... can't be larger than the energy output after buying it, and the game...
Read more >
Find & Fix Code Bugs in Python: Debug With IDLE
In this tutorial, you'll learn how to identify and fix logic errors, or bugs, in your Python code. You'll use the built-in debugging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found