Skip to main content
Open

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?

Did this topic help you find an answer to your question?

3 replies

AndreKemmeren
Captain
Forum|alt.badge.img+3

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!)


Mark Jongeling
Administrator
Forum|alt.badge.img+23

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 ðŸ˜„


Mark Jongeling
Administrator
Forum|alt.badge.img+23
New→Open

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings