[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: Notification no longer appears in the Windows 11 notification center
From: Davide Perini <perini.davide () dpsoftware ! org>
Date: 2023-08-31 13:40:38
Message-ID: fd6edc05f99ffcf2f4100568549df54e () dpsoftware ! org
[Download RAW message or body]
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?
[Attachment #3 (unknown)]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" \
/></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'> \
<p>Thank you for the answer and for your work Aleksei, I really appreciate it!</p> \
<p><br />Can you share the bug report with the list to let us follow the bug progress \
please?<br /><br />Davide</p> <p><br /></p>
<p id="reply-intro">Il 2023-08-30 20:19 Aleksei Ivanov ha scritto:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"> <div class="pre" style="margin: 0; padding: 0; font-family: \
monospace"><span style="white-space: nowrap;">Hi Davide,</span><br /><br /><span \
style="white-space: nowrap;">On 30/08/2023 15:42, Davide Perini wrote:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"><span style="white-space: nowrap;">Ok,</span><br /><span \
style="white-space: nowrap;">thanks for the answer Aleksei,</span><br \
/>now it's clear to me, I would say that it is now the Microsoft desired behaviour by \
default.</blockquote> <br /><span style="white-space: \
nowrap;">I looks like it's what Windows does. It may change in the future.</span><br \
/><br /> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px \
solid; margin: 0">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.<br /><br \
/><span style="white-space: \
nowrap;">... any idea on this?</span></blockquote> <br />I got \
your screenshot from a previous message. I can reproduce the problem both in Windows \
10 and 11.<br /><br />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.<br /><br /><span style="white-space: \
nowrap;">I'll submit a new bug.</span><br /><br />-- <br \
/><span style="white-space: nowrap;">Regards,</span><br />Alexey<br /><br /> \
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"><br /><br /><span style="white-space: \
nowrap;">Same icons worked perfectly well some "Windows updates" ago...</span><br \
/><br /><span style="white-space: \
nowrap;">Non Java apps seems to work well,</span><br \
/><span style="white-space: \
nowrap;">is there something we can do to workaround this?</span><br \
/><br />Thanks<br />Davide<br /><br /><span style="white-space: \
nowrap;">Il 30/08/2023 15:52, Aleksei Ivanov ha scritto:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"><span style="white-space: nowrap;">Hi Davide,</span><br /><br />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.<br /><br />On Windows 10, the \
notification goes to the Action Center, it stays there until I explicitly dismiss \
it.<br /><br />On Windows 11, the notification doesn't go to the Notification Center, \
it's completely gone as soon as the toast disappears.<br /><br /><span \
style="white-space: nowrap;">This coincides with what you stated in the bug description.</span><br \
/><br /><br />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.<br /><br />So, the status Cannot Reproduce seems wrong. At the same time, \
there's nothing we can do about it.<br /><br /><br />The “Display the \
Notification” [1] section explains how to display a notification, this is what \
Java does.<br /><br />Does the Windows SDK sample, NotificationIcon Sample [2], \
behave the same way?<br /><br /></blockquote> </blockquote>
</div>
</blockquote>
<p><br /></p>
</body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic