Skip to content

Removing item in Comparison drawer instead selects everything (with weird filter) #11578

@DHager

Description

@DHager

DIM Version

Version 8.95.0.4483 (beta), built on 10/22/2025, 4:53:38 PM

Browser Details

Chrome Version 141.0.7390.108 (Official Build) (64-bit)

OS Details

Windows 10

Describe the bug

Very minor, reporting it solely in case it leads to an "a-hah" moment for some bigger issue.

Visible symptom

The X button in the Comparison drawer will sometimes increase the number of items seen, rather than removing the one picked.

Reproduction steps

  1. Pick any filter-expression that narrows to a comparable subset of a broader comparable set. For example, exactname:boomslang-4fr is narrower than the parent comparable set of is:linearfusionrifle.

  2. Append an incorrect or on the end, such as exactname:boomslang-4fr or. The bug does not occur if there is a trailing space. Despite the trailing or, everything seems to work as expected.

  3. Click the "Compare" icon inside the search-box, in-between "X items" and the star-icon to toggle as favorite.

  4. The comparison drawer will pop out with your X different boomslang-4fr items.

  5. Pick one item, and click the corner "X" to remove it from consideration.

Expected result: One fewer item showing in the comparison.

Actual result: Comparison grows to include everything it can, in this case example equivalent to is:linearfusionrifle.

Additional thoughts:

  • Perhaps removing an item causes the flawed filter to be re-evaluated differently when the X button is clicked, so that it is implicitly changed to "or true", which causes a broader comparison constrained by an implicit broader category like weapon-type or armor class-and-slot.

  • Other examples of typed filter versus after-X behavior:

    • exactname:"the xûrfboard"
    • is:chest is:exotic or
    • is:helmet is:warlock power:<500 or
  • Does not occur with is:engrams power:<500 or, in that case the filter is immediately considered invalid and the comparison-drawer cannot be opened.

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions