[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&nbsp;Davide,</span><br /><br /><span \
style="white-space: nowrap;">On&nbsp;30/08/2023&nbsp;15:42,&nbsp;Davide&nbsp;Perini&nbsp;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&nbsp;for&nbsp;the&nbsp;answer&nbsp;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&nbsp;looks&nbsp;like&nbsp;it's&nbsp;what&nbsp;Windows&nbsp;does.&nbsp;It&nbsp;may&nbsp;change&nbsp;in&nbsp;the&nbsp;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;">...&nbsp;any&nbsp;idea&nbsp;on&nbsp;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&nbsp;submit&nbsp;a&nbsp;new&nbsp;bug.</span><br /><br />--&nbsp;<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&nbsp;icons&nbsp;worked&nbsp;perfectly&nbsp;well&nbsp;some&nbsp;"Windows&nbsp;updates"&nbsp;ago...</span><br \
/><br /><span style="white-space: \
nowrap;">Non&nbsp;Java&nbsp;apps&nbsp;seems&nbsp;to&nbsp;work&nbsp;well,</span><br \
/><span style="white-space: \
nowrap;">is&nbsp;there&nbsp;something&nbsp;we&nbsp;can&nbsp;do&nbsp;to&nbsp;workaround&nbsp;this?</span><br \
/><br />Thanks<br />Davide<br /><br /><span style="white-space: \
nowrap;">Il&nbsp;30/08/2023&nbsp;15:52,&nbsp;Aleksei&nbsp;Ivanov&nbsp;ha&nbsp;scritto:</span>
 <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"><span style="white-space: nowrap;">Hi&nbsp;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&nbsp;coincides&nbsp;with&nbsp;what&nbsp;you&nbsp;stated&nbsp;in&nbsp;the&nbsp;bug&nbsp;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&nbsp; 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 &ldquo;Display the \
Notification&rdquo; [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