Closed Bug 1830550 Opened 2 years ago Closed 2 years ago

The filter results info text in the quick filter bar turns green (from red) for "No results" with tags filter

Categories

(Thunderbird :: Toolbars and Tabs, defect)

Thunderbird 114
defect

Tracking

(thunderbird_esr102 unaffected, thunderbird114 wontfix)

RESOLVED FIXED
115 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird114 --- wontfix

People

(Reporter: soeren.hentzschel, Assigned: micah)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [Supernova3p])

Attachments

(1 file)

STR:

  1. Make sure that you don't have any tagged messages
  2. Make sure that the quick filter bar is enabled
  3. Press the button to show messages with tags

Actual:

The message that no messages were found appears in red and changes to green.

Expected:

The message keeps its red color.

Additional notes:

Similar to bug 1818204 (different feature of the quick filter bar, but also a color change of the status text). Before fixing bug 1828341 the color changed from red to grey, now from red to green.

Confirming for Daily 114.0a1 (2023-05-01) (64-bit), Win10. "No results" quick filter feedback flashes red for a split second, then turns green, which is wrong. Richard, can you have a look?

Flags: needinfo?(richard.marti)
Whiteboard: [Supernova3p]
Summary: The filter status text in the quick filter bar becomes first red, then green if you want to show only tagged messages and no tagged messages exist → The filter results info text in the quick filter bar turns green (from red) for "No results" with tags filter

This isn't a CSS issue. The #quick-filter-bar has correctly set filterActive="nomatches" but after a short time it switches to filterActive="searching" and stays in this state. Also successful searches end in filterActive="searching".

Flags: needinfo?(richard.marti) → needinfo?(alessandro)

Yes, it seems we're updating the markup attribute too often even when things don't change.
I'll investigate and assign someone.

Flags: needinfo?(alessandro)

Apparently the matching attribute is wrongly updated when searching text alongside tags.
Upon investigating we also found that those colors are not accessible and not properly handling light/dark/HC mode variations.
It's safer to remove this code and only show the results count without any color.

Assignee: nobody → micah
Status: NEW → ASSIGNED
Target Milestone: --- → 116 Branch
Target Milestone: 116 Branch → 115 Branch

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/037ea96d7379
Remove color from quick filter results. r=freaktechnik

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Regressions: 1874419
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: