Skip to content

Inactive cogentcore application uses CPU #1659

@Evgeniyuzbek

Description

@Evgeniyuzbek

Describe the bug

Inactive cogentcore application uses CPU. Same bug as in fyne.
It is critical bug for mobile devices if application will work in background or permanently.

How to reproduce

Create any cogentcore application with .RunMainWindow() and check cpu using. For example, you can use linux top. It indicated from 4% to 4.6% of cpu.

Example code

Relevant output

Platform

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions