ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
12.73k stars 566 forks source link

Category colours on Timeline view don't match #646

Open Victor239 opened 3 years ago

Victor239 commented 3 years ago

Describe the bug

In the Activity view and Settings I've set "MTGA" to be in a category with the colour orange, which shows the event with the correct colours. In the Timeline view however, an event with the window title "MTGA" is instead yellow.

So I think to myself, okay for some reason it's been put in my yellow category. But when I change my yellow category to be be the colour purple instead, it doesn't change the colour in the Timeline view and it remains yellow. I've also tried toggling the "fallback colours" option and it changes nothing.

To Reproduce

1. Go to 'Settings', put a regex rule for "MTGA" with a category with the colour orange
2. Start an application with "MTGA" as the window title (e.g. MTG Arena via Lutris)
3. See that the colours are correctly orange in the Activity view, but not the Timeline view

Expected behavior

The colours should match what they've been set to in the Settings page.

Documentation

If logs are needed to diagnose then please inform which ones are necessary.

Additional context

N/A

github-actions[bot] commented 3 years ago

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏