Skip to content

[bug] TAURI UI NOT WORKING PROPERLY AFTER SYSTEM AWAKE FROM SLEEP. #10662

@Sampaths4u

Description

@Sampaths4u

Describe the bug

I have authenticated my tauri app and then I am hiding tauri UI. Then after my system went to sleep and will awake and then my UI code with hooks UseEffect is not working and also not sure whether UI code is loading or not. Tried with tauri:run event: resumed even this is not called after awake from sleep/hibernate.
I have dual monitor. Tried visibility/ focus nothing works. What is the event for sleep in rust or react to handle

Reproduction

No response

Expected behavior

No response

Full tauri info output

I have authenticated my tauri app and then I am hiding tauri UI. Then after my system went to sleep and will awake and then my UI code with hooks UseEffect is not working and also not sure whether UI code is loading or not. Tried with tauri:run event: resumed even this is not called after awake from sleep/hibernate. 
I have dual monitor. Tried visibility/ focus nothing works. What is the event for sleep in rust or react to handle

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions