cozy-labs / cozy-desktop

File Synchronisation for Cozy on Desktop and Laptop
https://cozy-labs.github.io/cozy-desktop/
GNU Affero General Public License v3.0
99 stars 45 forks source link

gui: Fix Tray status updates #2183

Closed taratatach closed 2 years ago

taratatach commented 2 years ago

We have witnessed de-synchronizations between the status within the app's main Window and the systray which we believe arise from close asynchronous status updates (partially) overwriting each other. To prevent these, we will now enqueue those updates so only one is processed at a time.

We also take the opportunity to reduce the number of systray image changes which can be costly CPU wise.

Please make sure the following boxes are checked: