Comments (7)
looks like they never get deleted (a problem in systray I assume...) I could add a workaround that deletes every systray_temp_icon*
file at startup but in the (unlikely) case that someone runs different programs using systray that could cause problems...
from syncthing-tray.
I think that new icon is created every time icon changes in tray. By file timestamp I see it's created every few minutes or seconds.
from syncthing-tray.
Why is it writing icons anyway? It should just write once and then load/reload the appropiate icon.
from syncthing-tray.
I'm sorry about my previous comment but it seems to be inside the github.com/getlatern/systray
linux implementation:
https://github.com/getlantern/systray/blob/master/systray_linux.c#L11-L12
from syncthing-tray.
same for windows: https://github.com/getlantern/systray/blob/8e63b37ef27d94f6db79c4ffb941608e8f0dc2f9/systray_windows.go#L66
not sure about OSX, is it done better there?
from syncthing-tray.
@alex2108 OSX loads it in a different way yes. No temporary file saves to disk (as far as I see).
from syncthing-tray.
More or less fixed by the latest release. On a crash/forced quit there may stay one icon that never gets deleted but it does not create infinite icons while running.
from syncthing-tray.
Related Issues (20)
- Freezes after some time on Ubuntu 12.04 32 bit HOT 2
- Mac OS X DMG/App creation of Syncthing + syncthing-tray HOT 3
- Syncthingtray crashes every few days HOT 1
- Crashes when adding new device to syncthing without restart
- the icon doesn't change in tint2 HOT 8
- Read host:port from local config
- request: more info in tooltip HOT 6
- error when no apikey is provided since syncthing v0.13.2 HOT 2
- v.4 Won't run on Mac HOT 24
- Memory leak HOT 2
- Versioning scheme for go get using gopkg.in git-tag proxy
- panic: sync: unlock of unlocked mutex
- Expose version/hash/build date HOT 3
- Build without cgo on Windows? HOT 3
- initialize.go: invalid character 'C' looking for beginning of value | failed to remove temp icon file (null): invalid address HOT 6
- Keeps closing on Windows (TLS Handshake errors) HOT 3
- Show Notifications on Windows HOT 3
- When Syncthing has a user/password set the tray can't connect HOT 1
- License missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syncthing-tray.