Hi, great to see this project underway, I make an app that uses, indeed must have, System Tray and its even working on Gnome these days !
But a user has just alerted me to a real problem. When a appindicator is initiated, the library makes a copy of the icon in /tmp/appindicator. And when it exits (gracefully) it removes that icon but not the directory. And that directory is marked other read only.
So, if another user logs on, starts the app, or, I suspect any app that uses an appindicator, that user cannot write to /tmp/appindicator and cannot, therefore display a Icon there. Linux, being a multiuser should be able to support concurrent users too !
Now, I use Lazarus and Free Pascal that has a 'Unit' in our speak between my code and the the AppIndicator library, is there a library API that unit should be using to ensure entries in /tmp are unique to that user ?
EDIT: No, on further research I found the dev docs under (gtk-doc ?) and it looks like its an issue at our end, Lazarus creates that dir, I will address.
Hi, great to see this project underway, I make an app that uses, indeed must have, System Tray and its even working on Gnome these days !
But a user has just alerted me to a real problem. When a appindicator is initiated, the library makes a copy of the icon in /tmp/appindicator. And when it exits (gracefully) it removes that icon but not the directory. And that directory is marked other read only.
So, if another user logs on, starts the app, or, I suspect any app that uses an appindicator, that user cannot write to /tmp/appindicator and cannot, therefore display a Icon there. Linux, being a multiuser should be able to support concurrent users too !
Now, I use Lazarus and Free Pascal that has a 'Unit' in our speak between my code and the the AppIndicator library, is there a library API that unit should be using to ensure entries in /tmp are unique to that user ?
EDIT: No, on further research I found the dev docs under (gtk-doc ?) and it looks like its an issue at our end, Lazarus creates that dir, I will address.
Davo