Opened 4 years ago
Closed 3 years ago
#1485897 closed Feature Requests (fixed)
New or configurable default behavior of the search bar
| Reported by: | lommy | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.4-beta |
| Component: | User Interface | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hey Roundcube-Developers,
since you modified the search bar in the folder view the default search behavior changed: From searching in the message subjects, senders and recipients to just only in the subjects. I criticize that new behavour because I often search for the sender of my messages in my INBOX and for the recipient in my Sent folder and since that change I have to select that search modifier every time. I think we should restore the old default behavior or add a new site or user wide configuration option. Maybe it should be definable for each folder or the search could just simply save the used search modifiers per folder and reuse then for the next search even in a new session.
If you are using new default modifiers I personally would like to see the followings:
INBOX: subject, sender
Draft: subject, recipient
Sent: subject, recipient
Trash, Junk & all other folders: subject, sender, recipient
Thanks a lot for your great work. lommy
Change History (6)
comment:1 Changed 4 years ago by alec
- Milestone changed from 0.3-stable to later
comment:2 Changed 4 years ago by corbosman
comment:3 Changed 4 years ago by globex
I think search should always be set to search all fields unless they are ticked off. We should follow Gmail's example. When I search for something, I assume it's going to search everywhere (all folders), in all possible fields.
If not, at the very least there should be a label somewhere that says "Searching in ... inside ... folders." So that there's no confusion.
comment:4 Changed 4 years ago by corbosman
Thats easier said than done. Almost no company has Google's resources, and search is usually a very resource intensive operation. Especially searching in BODY is horrible from a performance perspective because very few imap servers index the body information. In large scale environments (with about 1 million mailboxes I consider ours medium scale) you have to juggle resources and find a balance.
I do agree that subject by itself is not enough. Thats what prompted me to write the plugin. With the plugin you can tell RC to search everything by default, if you want that. We'll probably default it to subject/from.
comment:5 Changed 4 years ago by fendres
I agree with corbosman.
Thanks for the plugin. Works fine.
In principle however, I think this should be
configurable by default in the settings.
comment:6 Changed 3 years ago by thomasb
- Milestone changed from later to 0.4-beta
- Resolution set to fixed
- Status changed from new to closed
Fixed in [b975da27]

This may be of partial help. I made a plugin that lets you set the default search set. In your case you could set subject/to/from as the default.
http://code.google.com/p/roundcube-plugins/downloads/list
Needs API plugin, pretty recent SVN as well.
Cor