Search results are suddenly discarded
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Click on a folder, e.g. "send" of a mail account.
- Type in some search word in the mail search bar, that generates a lot of results.
- The results are showing up.
- Scroll down the result list for a while, maybe click on one or two mails.
I'm not sure what triggered the search result refresh. I don't think it was user action, as the update happens without any immediate action.
Expected behavior
As long as I don't change the search parameters, the results should not change either.
Actual behavior
After a few seconds, sometimes 20 seconds, sometimes longer, the results are automatically updated (refreshed). This is done in such a way that the search term is no longer searched for, but as if the filter had been lost. This means that the correct search results are no longer displayed. However, the search mask still contains the same parameters.
Mail app version
5.1.4
Nextcloud version
31.0.5
Mailserver or service
No response
Operating system
No response
PHP engine version
PHP 8.3
Nextcloud memory caching
No response
Web server
Apache (supported)
Database
None
Additional info
No error or warning in the logs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Reproduce the search in a folder with many results, then trace where the search results refresh while scrolling or opening messages. Done means results remain filtered by the unchanged search parameters after automatic updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100