Limit search to unified inbox when starting search there
Checklist
- [x] I have used the search function to see if someone else has already submitted the same bug report.
- [x] I will describe the problem with as much detail as possible.
App
K-9 Mail
App version
8.2
Where did you get the app from?
Google Play
Android version
14
Device model
Samsung A23
Steps to reproduce
- Goto inbox of a not unified account
- Note the subject of email, then delete it.
- Click back to 'Unified Inbox'.
- Search in 'Unified Inbox' the previous subject, the deleted email will show in the search result.
Expected behavior
Not unified account's emails should not appear in 'Unified Inbox' after deleted.
Actual behavior
The deleted email will show in the search result.
Logs
No response
This is working as originally intended. Using the search action from the unified inbox won't limit the search to folders included in the unified inbox. It will search all downloaded messages.
Changing the behavior after so many years would probably disrupt the workflows of many users. So I don't think we should do that right now.
Dealing with this could be part of a larger search overhaul. The current behavior would be less confusing if the search view displayed where search results came from (a particular folder of a particular account vs. all folders of all accounts).
Once we display that information, we could also change the behavior when starting a search from the unified inbox. It would still disrupt workflows. But at least users would be able to easily notice the behavior change.
When clicking on such a message, we see a ribbon with the name of the account on top like (Work). This should also include the folder name I think (Work:Inbox) or (Work:Trash).
The same ribbon could also be used in the search results, that would make the behaviour transparent to anybody.