Comment 8 for bug 1821765

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks Chris for those details.

AppIndicatorIcon::WriteUnityTempImageOnWorkerThread() calls base::CreateNewTempDirectory(), which calls GetTempDir() (in https://cs.chromium.org/chromium/src/base/files/file_util_posix.cc), which honours the TMPDIR environment variable.

So we need a way for chromium to share icons with the host's libappindicator. I'm pretty sure this has already been solved for other snaps, but I don't know how.