New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification unresponsive after ~40s of inactivity #20323
Comments
@alexanderturinske This is expected behavior, your |
🤦♂ Ah, thank you. That is not a problem I encounter very often. |
@alexanderturinske Have u found a way to set timeout for notifications which last more than 5secs? Guide me if u found one pls! |
As discussed above, my issue was that my variable was being garbage collected, so I created a top-level variable to retain it as suggested.
|
Preflight Checklist
Relates to: feat: allow Linux/Windows users to set notification timeout #20153, Notification Duration #11690, Timeout parameter for Notification for Linux #12458, eb#1604
Documentation: https://electronjs.org/docs/api/notification#new-notificationoptions-experimental, which conflicts with https://electronjs.org/docs/tutorial/notifications a little
Issue Details
Expected Behavior
Check for update
menu itemTo Reproduce
Workaround
Create a
setTimeout
that automatically closes the Notification after ~30sThe text was updated successfully, but these errors were encountered: