Notification no longer appears in the Windows 11 notification center
Davide Perini
perini.davide at dpsoftware.org
Thu Aug 31 13:40:38 UTC 2023
Thank you for the answer and for your work Aleksei, I really appreciate
it!
Can you share the bug report with the list to let us follow the bug
progress please?
Davide
Il 2023-08-30 20:19 Aleksei Ivanov ha scritto:
> Hi Davide,
>
> On 30/08/2023 15:42, Davide Perini wrote:
>
>> Ok,
>> thanks for the answer Aleksei,
>> now it's clear to me, I would say that it is now the Microsoft desired
>> behaviour by default.
>
> I looks like it's what Windows does. It may change in the future.
>
>> Another thing I noticed is that the icon on the notitification is now
>> "corrupted" even if the icon on the tray icon is correctly shown.
>>
>> ... any idea on this?
>
> I got your screenshot from a previous message. I can reproduce the
> problem both in Windows 10 and 11.
>
> If the main display scale is 100%, it works correctly: the icon
> displayed in the notification banner is the same as the one displayed
> in the notification area. If the scale is different, the icon is
> displayed correctly in the notification area but the icon in the banner
> and in the action/notification center is corrupted.
>
> I'll submit a new bug.
>
> --
> Regards,
> Alexey
>
> Same icons worked perfectly well some "Windows updates" ago...
>
> Non Java apps seems to work well,
> is there something we can do to workaround this?
>
> Thanks
> Davide
>
> Il 30/08/2023 15:52, Aleksei Ivanov ha scritto: Hi Davide,
>
> I ran your test again on Windows 10 and 11, and the results are
> different. In both cases, I used a recent build of Java 22, which is
> the mainline.
>
> On Windows 10, the notification goes to the Action Center, it stays
> there until I explicitly dismiss it.
>
> On Windows 11, the notification doesn't go to the Notification Center,
> it's completely gone as soon as the toast disappears.
>
> This coincides with what you stated in the bug description.
>
> I added this analysis to the bug. As I explained there, Java uses
> Windows Shell API to display a notification. This API is available
> since Windows 95, and it provides no control whether the notification
> disappears or goes to the Action Center; after all, the Action or
> Notification Center didn't exist until Windows 8.
>
> So, the status Cannot Reproduce seems wrong. At the same time, there's
> nothing we can do about it.
>
> The "Display the Notification" [1] section explains how to display a
> notification, this is what Java does.
>
> Does the Windows SDK sample, NotificationIcon Sample [2], behave the
> same way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20230831/c1c6ed85/attachment-0001.htm>
More information about the client-libs-dev
mailing list