JDK-8341144 : Java AWT TrayIcon uses the old xembed while most Linux distros switched to SNI
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 17,21,23,24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86_64
  • Submitted: 2024-09-28
  • Updated: 2024-10-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Duplicate :  
Description
ADDITIONAL SYSTEM INFORMATION :
Arch Linux

A DESCRIPTION OF THE PROBLEM :
Newer Linux distributions switched to SNI for the management of the tray icon while Java (AWT) still uses xembed.

Will Java TrayIcon be updated to support the newer SNI standard?



Comments
Additional Information from submitter: ================================== To support the new tray icons in Linux distributions that no longer support xembed, you can use the StatusNotifier protocol (also known as AppIndicators). This protocol has been adopted by desktop environments like KDE Plasma and Ubuntu Unity. The StatusNotifier protocol offers better integration and works on both X11 and Wayland, making it a versatile choice for modern tray icons. xembed is long unsupported and distros that supports it are using legacy tools like xembed-sni-proxy that "converts" xembed icons to SNI protocol / statusnotifier
14-10-2024

I don't know off hand how comparable SNI is or it is what it implies but it seems to be at least a GTK dependency ?
29-09-2024

Moved to JDK for more discussions.
29-09-2024