nextcloud / nextcloud/mail

Search results are suddenly discarded

Open
#11,294 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Click on a folder, e.g. "send" of a mail account.
  2. Type in some search word in the mail search bar, that generates a lot of results.
  3. The results are showing up.
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.