[kmail2] [Bug 371228] New: enable remote search on IMAP servers

RJVB via KDE Bugzilla bugzilla_noreply at kde.org
Wed Oct 19 17:25:55 BST 2016


https://bugs.kde.org/show_bug.cgi?id=371228

            Bug ID: 371228
           Summary: enable remote search on IMAP servers
           Product: kmail2
           Version: unspecified
          Platform: Other
                OS: other
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: message list
          Assignee: kdepim-bugs at kde.org
          Reporter: rjvbertin at gmail.com

Dan suggested on the kdepim-users ML that someone might want to submit a
wishticket for a feature to allow remote search on IMAP servers, all the more
since support for the feature is already implemented but dormant.

In his words: 

> maybe we could add a checkbox to the "Quick Search" to enable it and allow 
> full-text search in a specific folder even if the bodies are not available
> locally. Would not work for the "Search" dialog though.

I've taken the bait, so here's the wish ticket :)



Reproducible: Always

Steps to Reproduce:
Do a search in an IMAP folder which isn't configured to download all message
bodies.

Actual Results:  
Messages not available locally are skipped

Expected Results:  
Those messages could be included on user request

I've started to implement the feature. As I'm still using 4.14 that's the code
base I'm using, but I suppose that porting should be relatively
straightforward.

The available support I've been able to find is part of
Akonadi::SearchCreateJob, so that's what I've tried to use. Currently I'm
getting a "cannot create persistent search" error, and I'm still stuck at how
to get the actual results from the returned collection, but I hope it's a
start.

I'm not entirely sure why remote search couldn't be part of the "Search"
dialog, given that the underlying code uses classes that support remote
search??

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list