Closed kowach closed 8 years ago
sry for the late reply, definately makes sense and I will see what I can do.
One problem is that I noticed the text does not update at all on Ubuntu after a while so this should be fixed before doing that. (not sure if it's a bug in trayhost, or my program, testing if it happens with a more simple program...)
Problem with not updating text is now hopefully fixed by changing the tray library used, will test that for some time and if it works I will start working on putting more info in there.
This will be great. I have another issue, my tray icon constantly shows red arrow (upload). WebGUI says constant 1-2 B/s Upload Rate, but I think that is not the problem. I have device that is in constant Syncing State because I have set ignore patterns that partially sync one folder on first device and same folder fully sync on other. I have searched Syncthing forum and there is sad that this is the way Syncthing works.
As I can see syncthing-tray reads completion instead upload/download rate?
As I can see syncthing-tray reads completion instead upload/download rate?
yes it does, it should show the same thing as the GUI. When one remote device has completion<100 it is considered "syncing".
As soon as I have the upload rate in the tooltip it could easily be used to optionally set the icon based on this.
But in my case I have folder that never completes (because ignore pattern) - in GUI it looks like stuck on 74% but that is "feature" - annoying thing.
I looked into Syncthing code and they calculate current UL/DL bandwidth from two queries on /rest/system/connections, they calculate inbps = (inBytesTotal second - inBytesTotal first) / time between queries
.
rates are now shown and can be used to determine upload/download state with command line option -R
It would be nice to have more info in icon tooltip text like