3 ms·
Does that make it okay? There are many ways to have it learn the process dies without needing to signal the process.
by surajrmal 3mo ago
Does that make it okay? There are many ways to have it learn the process dies without needing to signal the process.
- justsomehnguy 3mo agoYes, let's invent some system for Explorer to query and maintain the notification area icons and for the apps to report their list of the notification icons. Some KPI pusher would be vewy-vewy glad. By the way, if the app wouldn't respond in time, what should happen with the icon? What would happen if Explorer removes the icon but the app which still thinks it has - would update it?
- surajrmal 2mo agoI'm not suggesting a new system or a timeout. I'm suggesting passing a two sided handle (like a socket) where you can listen for the other end closing. Upon closing, which should only happen due to a bug or the process exiting, the notification bar can remove the icon. This is IPC 101.
- justsomehnguy 2mo agoWhat happens if Explorer itself crashes? What happens if your NotificationAreaAPIv2 is not widely adopted? What happens with the apps what were never adopted to your v2 API? (You still have the problem anyway). EDIT: And what happens with the old apps when you deprecate the old API?