nextcloud / nextcloud/mail

Opening the search modal changes the match operator to allof.

Open
#10,758 4 comments 1 reaction 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

Case A:

  1. Open Mail
  2. Search for something in your mailbox (by using the field in the message list)
  3. See a result
  4. Open the search modal
  5. Close it again (x or close button)
  6. The list is empty now

https://github.com/user-attachments/assets/d3cbd59c-8b6d-4105-b8b1-97876062b23b

Case B:

  1. Open Mail
  2. Search for something in your mailbox (by using the field in the message list)
  3. See a result
  4. Open the search modal
  5. Click search without changing anything
  6. The list is empty now
Expected behavior

Regarding A) The match operator should not change to allof when closing the modal.

Regarding B) I'm not sure, we need a better way ;) Introducing a toggle for match could be an option.

Actual behavior

Search result becomes empty

Mail app version

stable4.2 (f9c963bc380070ff89981a11968bbceb27700ba4)

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

Reproduce the issue in the Mail app using the listed steps for Case A and Case B, then trace how the search modal updates the match operator and search results. Confirm that closing the modal does not change the operator, and clarify the expected behavior when searching without changes before considering the issue done.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.