Changes not immediately shown in taskbar & popup's menu item
Created by: mariospr
As mentioned in https://github.com/projecthamster/hamster-shell-extension/issues/189#issuecomment-336856348, when I enter a new task, or stop one in progress, from the popup menu I don't get "immediate feedback": I would expect to see the new/stopped task reflected both in the text showing up in the top panel and in the menu item in the popup menu, but instead I see no change until a minute has passed (at which time the callback kicks-in and updates the text).
STEPS TO REPRODUCE:
- Create a new task, either from the Popup menu or from Hamster's Overview window
OR, if there's a task already in progress:
- Click in "Show overview" from the Popup menu
- Right click on the task currently in progress then select "Remove"
EXPECTED OUTCOME:
Changes should be immediately reflected in both the extension's popup panel and the taskbar: for newly-created tasks, a new item is shown in the popup and the task's name is shown in the shell's taskbar. For removed items, the task should no longer be visible in the popup panel and, if the removed task was "in progress" the task bar should reset its text to "No activity"
ACTUAL OUTCOME:
No visual change happens in the taskbar nor in the popup panel until a minute has passed since the creation/removal of the aforementioned task