After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 714496 - Search operator to specify a specific folder
Search operator to specify a specific folder
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: engine
master
Other All
: High critical
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks: 788816
 
 
Reported: 2013-04-19 12:57 UTC by Jim Nelson
Modified: 2019-12-15 01:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Charles Lindsay 2013-11-21 20:26:47 UTC


---- Reported by jim@yorba.org 2013-04-18 17:57:00 -0700 ----

Original Redmine bug id: 6832
Original URL: http://redmine.yorba.org/issues/6832
Searchable id: yorba-bug-6832
Original author: Jim Nelson
Original description:

The default search scope is the entire account. The user should be able to
click on the magnifying glass to drop down a menu of scopes. For this pass,
the choices are current account (all folders) and the current folder.

Related issues:
related to geary - 6833: Search all accounts (Open)
related to geary - Feature #6834: Extended search specifiers (Open)
related to geary - 7182: unread message count includes messages which
haven't been... (Invalid)



---- Additional Comments From geary-maint@gnome.bugs 2013-08-20 11:20:00 -0700 ----

### History

####

#1

Updated by Jim Nelson 7 months ago

Like the header field specifiers (#6834), the folder should be specifiable on
the search query.

####

#2

Updated by Robert Schroll 5 months ago

I don't know if you've had much time to think about the UI in the folder case,
but I wonder if it'd be possible to keep the folder selected in the account
column when searching a single folder. Perhaps the icon could change to a
magnifying glass. Then when you clear the search field, the same conversation
would stay selected.

Sometimes, I can't figure out how to find a message I'm looking for, but I can
find a chronologically nearby message. So being able to get to a specific time
with search and then look through all the messages in that folder would be
useful for me.

####

#3

Updated by Jim Nelson 5 months ago

Robert Schroll wrote:

> I don't know if you've had much time to think about the UI in the folder
case, but I wonder if it'd be possible to keep the folder selected in the
account column when searching a single folder. Perhaps the icon could change
to a magnifying glass. Then when you clear the search field, the same
conversation would stay selected.

That's one possibility, although I wonder about folder searches that have
other qualifiers, i.e. multiple folders specified. What you're describing
sounds more like a filter, which is an approach we considered early on. It's
not off the table, but I'd like to think and discuss more how that would work
vs. the current search model.

Also, our approach of a separate search folder opens the doors to saved
searches, which would simply be additional folders persisting between
sessions.

####

#4

Updated by Jim Nelson 5 months ago

As pointed out in #6834, this ticket also encompasses allowing the user to
construct a search of various extended specifiers with the UI rather than have
to type it in.

####

#5

Updated by Jim Nelson 3 months ago

  * **Tracker** changed from _Bug_ to _Feature_
  * **Target version** changed from _0.4.0_ to _0.5.0_

Unfortunately, this isn't going to make it in to 0.4.



--- Bug imported by chaz@yorba.org 2013-11-21 20:26 UTC  ---

This bug was previously known as _bug_ 6832 at http://redmine.yorba.org/show_bug.cgi?id=6832

Unknown milestone "unknown in product geary. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Charles Lindsay 2014-03-18 17:55:28 UTC
I've split off the UI aspect of this to bug #726657.  This ticket is about supporting scopes other than "account" for search, at all.
Comment 2 Federico Bruni 2017-12-03 08:37:27 UTC
So if the UI aspect is in that bug, is this about implementing a search specifier? Something like [in:MyFolder]?
Comment 3 Michael Gratton 2017-12-04 06:00:17 UTC
(In reply to Federico Bruni from comment #2)
> So if the UI aspect is in that bug, is this about implementing a search
> specifier? Something like [in:MyFolder]?

I'd say so. The case Robert was discussing might be more like a button on the search bar for an implicit "in:this-folder"
Comment 4 Michael Gratton 2019-12-15 01:09:27 UTC
Closing in favour of https://gitlab.gnome.org/GNOME/geary/issues/656