Open saket opened 3 years ago
Someone on kotlin lang suggested these kind of apps are actually called "daemon" apps that don't have any main UI windows and are only accessible through their tray icon. Please feel free to edit the title.
Guess it could be implemented as a regular app without border rendered at predefined position.
True. It'll also need to,
After spending some time on this, this seems impossible with the set of APIs provided by AWT. I couldn't find any existing pattern or app that has managed to do this. In comparison, there are tons of examples with electron. Here's one: https://github.com/maxogden/menubar
Just being able to customize the tray content would be really nice, considering the current implementation is really limiting (and ugly on windows)
Any update on this?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
It'd be really nice if compose-desktop supported creation of apps that live solely on the system tray. It is currently possible to interact with the system tray using Tray, but it is limited to text buttons. Being able to add arbitrary content to the popup would enable us to create apps like these:
I came across this StackOverflow answer which suggests doing so should be possible with AWT: https://stackoverflow.com/questions/13481504/creating-an-nsstatusitem-menubar-app-in-java