hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.5k stars 899 forks source link

No support for xembed tray icons. #8389

Closed sblantipodi closed 4 hours ago

sblantipodi commented 4 hours ago

Already reported ? *

Regression?

No

System Info and Version

Arch linux: 2024.11.01 Included Kernel: 6.11.5

Description

hi there... I am writing a Java app with JavaFX... I would like to create a tray icon in Hyprland but it seems that there is now way to make it work with it. Java uses xmebed legacy method... is it possible to add the support for legacy tray icons in Hyprland?

How to reproduce

simply test the tray icon support with SystemTray.isSupported()

Crash reports, logs, images, videos

No response

fufexan commented 4 hours ago

Hyprland does not handle trays. No modern bar supports the legacy xembed method, instead using the more modern StatusNotifierItem.

If this is just for testing purposes, you could try using stalonetray or some other X trays, though they will act in unexpected ways due to being run on Wayland.