chri55w / QuickBooks-Timer

Savantech QuickBooks Timer - Issue Tracking / Wiki ONLY
3 stars 0 forks source link

'Today' filter issues when application left running overnight. #90

Open AlexSoldevila opened 8 years ago

AlexSoldevila commented 8 years ago

Hi Chris,

Small issue, can be circumvented easily but I rather let you know.

I left the QuickBooks Timer application open overnight with the filter set to 'Today'. Today when I create a new Time Log activity, the "Edit Time Log" panel opens but there are no fields in it. The new entry doesn't show in the list either and yesterday activities remain visible.

I think the panel being empty is caused by a binding error because the new entry is not preselected in the list (due to it not appearing). Changing to "This week" shows the new entry, but switching back to "Today" still shows yesterday activities.

Re-launching the application fixes the issue.

today
chri55w commented 8 years ago

Thanks Alex,

That's pretty much exactly the issue, the Filter items are created on application start up and not refreshed. So in the same way that leaving it overnight shows the 'Today' option incorrectly, if you were to leave it over a weekend it would also mean 'This Week' and 'Last Week' would also be incorrect, this is also repeatable with the Monthly options.

I will look into setting up regular refreshing of the filters, perhaps a daily event? or something similar

BradConnor commented 8 years ago

Great when users can also debug the application :)

AlexSoldevila commented 8 years ago

Aaaaaactually! I don't know where the source code is, and I'd quite like to know. There are many great ideas and approaches I'd like to learn for future WPF adventures :)