Skip to content

MacOS out-of-focus speedup #51

@CaspianA1

Description

@CaspianA1

When the dashboard is out of focus on MacOS, it speeds up its operations greatly (I suspect this is due to vsync not working properly for out-of-focus windows). This can lead to nasty things like API rate-limiting.

The current band-aid for this is the key maybe_pause_subduration_ms_when_window_unfocused in app_config.json. If it's null, the window won't pause when out of focus; otherwise, it will pause, and try to resume operations every N milliseconds.

The window_always_on_top key can also be used for this (theoretically, enabling this should also keep the window in focus indefinitely).

Maybe see if I can fall back to manually sleeping if a render cycle completes too quickly? Or just wait for Apple to fix this?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions