Related downstream issue: localsend/localsend#2902 (comment)
Related code:
|
'id': shortid.generate(), |
|
indicator = app_indicator_new(id, icon_path, |
If I am reading this correctly, tray_manager generates a random string and then uses it as the id with libappindicator/libayatana-appindicator. This is not correct since the id should be unique to the app and consistent across sessions. Otherwise, desktop environments and other apps can't properly interact with the app that is using tray_manager (see downstream issue).
Related downstream issue: localsend/localsend#2902 (comment)
Related code:
tray_manager/packages/tray_manager/lib/src/tray_manager.dart
Line 113 in d7ec4be
tray_manager/packages/tray_manager/linux/tray_manager_plugin.cc
Line 118 in d7ec4be
If I am reading this correctly,
tray_managergenerates a random string and then uses it as theidwithlibappindicator/libayatana-appindicator. This is not correct since the id should be unique to the app and consistent across sessions. Otherwise, desktop environments and other apps can't properly interact with the app that is usingtray_manager(see downstream issue).