-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Windows 11: Notifications vanishes after few seconds. #987
Comments
@karianna thanks for the kind answer, I appreciate it. People from OpenJDK closed this issue with a PASS status but it's obviously not passed since I can reproduce it in all my computers with various JDK versions and various Windows versions :) it's sad to see that issues are closed without even testing them since sometimes opening them requires time... |
I've added you use case to that issue to see if that helps them repro. |
See https://bugs.openjdk.org/browse/JDK-8310352 - this is a Windows issue that will need to be reported to Microsoft. |
Thanks for the answer karianna, I appreciate it. Java is using a 30 years old API for the notifications. Microsoft released new APIs for Windows 11 notifications. (ToastNotification). Is it correct to consider it a Windows issue? |
Might be, I've updated the upstream issue with some MSFT learn docs on the new API |
https://bugs.openjdk.org/browse/JDK-8310352 has been updated with a link to the new feature request for toast notifcations |
hope to see it implemented in the near future, thank you for your help and for your super great work here karianna, |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
https://bugs.openjdk.org/browse/JDK-8323821 for the new feature |
something tells me that we will not see it implemented (for the next years) but thanks for linking the new feature request. :) |
Please provide a brief summary of the bug
With previous version of Windows and JDK notification sticked in the Windows Notification Center forever until cancelled.
Since the latest Windows/JDK, notifications vanishes automatically after few seconds.
Code to reproduce the problem
Expected Results
Notifications sent from a TrayIcon should not vanish automatically after few seconds but should stay in the notification center until cancelled by the user.
Actual Results
Notifications sent from a TrayIcon vanishes automatically after few seconds
What Java Version are you using?
21.0.1
What is your operating system and platform?
Windows 11
How did you install Java?
MSI
The text was updated successfully, but these errors were encountered: