Disable change detection when browser runs in background

Related products: Universal GUI

Currently, change detection and badges continue to be refreshed when a user is running the browser in the background and is not actively working in it. Can we somehow check the browser and see if it is being used at all and thus needs to be refreshed?

This shouldn't be a hard thing to implement since there are plenty ways to detect a browser window being out of focus (or even covered by another full screen application).

 

Simply pausing change detection in that case would be ideal and safe ALOT of unnecessary calls which needlessly use resources (Think of the planet!)


Great idea Bram! I'll convert the question to an Idea.

It's not possible in the Change detection to detect if a screen is active or not. This should be handled by the Universal GUI. Like Andre says, Change detection, Badges and even auto-refresh could be halted if a window is not active, but I'll leave the exact implementation to the experts 😄


NewOpen