App indicator adds an entry for each snap launch
Bug #1600140 reported by
David Planella
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Snaps that use the app indicator area via Qt add an new entry to it every time they are launched, instead of reusing the existing entry.
Steps to reproduce and screenshot:
https:/
Some research:
- Uses http://
- didrocks mentions that this might be related to bug 1600136, that is /tmp is not being reused between run instances
Ok, so to be a little bit more verbose on the issue there,
What happens if for the indicator to apps communication, a socket is created and stamped in /tmp. That enabled in case of app crash to create a new indicator appmenu entry.
What I think is happening is, as with snapd, we create a new /tmp everytime (and not being accessible to the system with the same address, see other bug report), a new instance is created.