Skip to content

Ignored rules with blank RegEx #382

Description

@BelKed

As the title says, rules with blank RegEx are ignored by Category Sunburst, Timeline (barchart), and Top Categories. However, they aren't ignored and show as intended in Top Applications or Top Window Titles.


Screenshot

Screenshot

Screenshot 2022-10-26 at 21 17 08


Noticed by @Star ☆ on Discord.

Activity

  1. TimeToBuildBob commented on Feb 27, 2026

    @TimeToBuildBob
    Contributor

    This is a categorization consistency issue. Parent categories with blank regex patterns work correctly as catch-all containers in views that process the full category tree (Top Applications, Top Window Titles), but views that rely on the regex-based categorization query (Sunburst, Timeline barchart, Top Categories) skip entries with empty patterns.

    The root cause is in how aw-transform's categorize function handles the category tree. When a category has no regex pattern, it should still collect uncategorized time from its children as a parent node. Views that build their own category tree handle this correctly, but views that use the flattened categorize output don't.

    A fix would need to ensure that parent categories without regex patterns still appear in the categorized output, aggregating time from their sub-categories. This would likely be a change in aw_transform/classify.py (Python) and aw-transform/src/classify.rs (Rust).

  2. added a commit that references this issue on Oct 6, 2026
    4e8789c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions