fyne-io / systray

a cross platfrom Go library to place an icon and menu in the notification area
Apache License 2.0
223 stars 41 forks source link

ensure ID is not empty on linux #63

Closed lucor closed 9 months ago

lucor commented 9 months ago

Some desktop environments like the one provided by Ubuntu 22.04 requires the systray ID to be not empty to be displayed. This commit ensure the ID is always set trying to use the title and fallback to a default ID based on the pid.

Fixes fyne-io/fyne#3678