Bug 3987 - Magnifier icon on folders does not update correctly upon update of folder contents
Summary: Magnifier icon on folders does not update correctly upon update of folder con...
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: QuickSearch (show other bugs)
Version: 3.16.0
Hardware: PC Linux
: P3 trivial
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2018-03-14 16:25 UTC by George
Modified: 2018-03-14 17:59 UTC (History)
0 users

See Also:


Attachments

Description George 2018-03-14 16:25:44 UTC
STR:

1. Have an example folder structure in Mailbox (MH) like:

Parent
Parent/Child1
Parent/Child2
...
Parent/ChildN/...

and put some messages in all folders except Parent.

2. Create a sticky+recursive Extended quick search such as:

message matchcase "something" & ~tag matchcase "ZZZ"

and run it on Parent

3. The folders containing the messages with given parameters get the "magnifier" icon after the search is completed. Suppose Child2 has matches

4. Click to open Child2 folder

5. Select all the filtered messages and apply tag "ZZZ"

6. Click to open Parent folder

EXPECTED:
The "magnifier" icon should be removed from Child2.

ACTUAL:
The "magnifier" icon remains on Child2 although it does not contain matches

7. Click to open Child2 folder

EXPECTED and ACTUAL: same as above.

The only way to have proper update is to clear the filter and reapply it on Parent, i.e. not a "sticky" behavior.
Comment 1 George 2018-03-14 17:40:55 UTC
Why did you mark this 'trivial'? It is not trivial at all. Considering that CM does not provide a consolidated list of search results but one has to rely on these icons for recursive search - this is crucial for search functionality.

Please reconsider.
Comment 2 Paul 2018-03-14 17:49:57 UTC
QuickSearch updates when you re-run it.
Comment 3 George 2018-03-14 17:59:13 UTC
This is not 'sticky'!

Note You need to log in before you can comment on or make changes to this bug.