Skip to content

5% cpu usage After sending ViewportCommand::Visible (false) #3902

@khassar00

Description

@khassar00

The following text was generated by automatic translation:
Describe the bug
If focus on the egui window,Continuously produces the following events after sending ViewportCommand::Visible (false).

winit event: NewEvents(Poll)
winit event: AboutToWait

The program has 5% usage in the background, On a Ryzen 5900x with 12 cores and 24 threads.
This does not happen if the window is not in focus or after it is minimized

Expected behavior
Same cpu usage as window minimization.

Desktop (please complete the following information):

  • OS: Windows 10 LTSC 19044.3693
  • Version: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions