Skip to content

Electron freezes when asking if a window is focused #34

Description

@NimbusFox
  • Version: 34.0.1.55684
  • Target: Linux

When asking a window if it is focused the electron side no longer responds and no error appears making my app look like it's frozen even though the electron rendering is behaving correctly. My app is not receiving any commands via clicks. I have added a lot of Console.WriteLine calls and found that window.IsFocusedAsync() is where things lock up

Steps to Reproduce:

  1. Setup ASP.net Blazor project
  2. Trigger an event on the webpage that asks Electron if the window is focused
  3. The function locks up and does not return a value

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions