activitywatch: Dashboard filter failing to tag some web content

Describe the bug

Problem with dashboard regex filters. For me youtube videos watched in firefox aren’t being categorized correctly.

To Reproduce

Steps to reproduce the behavior:

  • Have a youtube tab open for long enough that it shows up in the dashboard
  • Set up a filter for YouTube content to get tagged somehow

Expected behavior

I expected youtube media to get grouped inside the “media” category when I set my filter but it’s just showing up under uncategorized.

Documentation

Screenshot 2020-02-09 at 20 31 02 Screenshot 2020-02-09 at 20 31 10

Logfiles can be found in different places depending on platform:

  • Windows: C:\Users\<USER>\AppData\Local\ActivityWatch\Logs
  • macOS: /Users/<USER>/Library/Logs/activitywatch
  • Linux: /home/<USER>/.cache/SuperApp/log

Environment

  • ActivityWatch version: v0.8.4
  • OS: macOS Mojave

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (17 by maintainers)

Most upvoted comments

@Cardosaum I think it’s fine to comment here. My current bet is that it has something to do with the matching, but will need to investigate to figure out what.

I’m facing an issue related to tag some web pages too…

In my case, the regex fail to match Matrícula Web | Dados da Oferta - Mozilla Firefox. My regex rule is: matr.+cula\s*web (ignore case is set to True).

Is it fine to comment in this issue or is it better to create another thread?

Thanks you all for investing time on this amazing software! (Hope soon be able to help in its development as well)