<Swing Dev> taskbar icon badge issue

Alan Snyder javalists at cbfiddle.com
Mon Oct 26 21:16:42 UTC 2020


> I have tested the "DockBadge.java" from the https://bugs.openjdk.java.net/browse/JDK-8230869 on macOS 10.15.7 + JDK12 and it does not work =(

That seems odd. Are you saying that no dock icons ever show a badge on 10.15.7?

On my 10.15.6, I see dock badges on System Preferences, App Store, and Feedback Assistant. How are they accomplishing this? Do Apple apps use a private API?

I’m suspicious that the problem is in the JDK, in which case it should be fixable.

  Alan



> On Oct 26, 2020, at 2:01 PM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> 
> Hi, Alan.
> 
> It was disabled due to the bug in macOS Catalina builds.
> 
>> I’m also confused by why ICON_BADGE_NUMBER is not supported on macOS 10.15.6 in JDK 15, as the underlying OS issue reported in JDK-8230869 has been fixed. It works fine from JDK 12.
> 
> I have tested the "DockBadge.java" from the https://bugs.openjdk.java.net/browse/JDK-8230869 on macOS 10.15.7 + JDK12 and it does not work =(
> 
> 
> -- 
> Best regards, Sergey.
> 



More information about the swing-dev mailing list