Coder Social home page Coder Social logo

Comments (7)

alex2108 avatar alex2108 commented on August 27, 2024

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.

kowach avatar kowach commented on August 27, 2024

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.

xor-gate avatar xor-gate commented on August 27, 2024

Why is it writing icons anyway? It should just write once and then load/reload the appropiate icon.

from syncthing-tray.

xor-gate avatar xor-gate commented on August 27, 2024

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.

alex2108 avatar alex2108 commented on August 27, 2024

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.

xor-gate avatar xor-gate commented on August 27, 2024

@alex2108 OSX loads it in a different way yes. No temporary file saves to disk (as far as I see).

from syncthing-tray.

alex2108 avatar alex2108 commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.