Bug 352472 - "Search mails" ignores all settings
Summary: "Search mails" ignores all settings
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: search (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-09 10:25 UTC by piedro
Modified: 2022-11-25 05:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description piedro 2015-09-09 10:25:14 UTC
No matter what settings I choose in the "search messages" window - the list comes up with the same 97 mails everytime, even when I explicitly disable this hosting folder within the "choose folder" dialog (which btw should respect the same sort order as the main kmail window... it's really confusing the way it is now....). 

I tried with only one condition, with different conditions, searching only one folder, searching all folders, - in short: I tried every combination I could think of. Ther result is always the same 97 mails that do not match any of my search patterns... though there are may mails matching the criteria. 

Also these criteria aren't complicated pattern, just really simple as  "from" contains an email address. 

Probably stuff has to be reindexed or something broke after the update of akonadi from akonadi 4 to akonadi 5 by the ARCH packages but I have no way of knowing. 

A related issue seems to be: I have existing virtual search folders. Trying to "edit search" by rightclicking on the virtual folder XY does give me the search messages dialog but there are no settings to edit (just empty ones) and the location of the search is set to "search/XY"... 

So at least for me it seem,s the search system is completely broken.   

  
 

Reproducible: Always

Steps to Reproduce:
1. try editing "search messages" 
2. search messages 
3. check results 

Actual Results:  
settings show no influence on results

Expected Results:  
find messages according to pattern
Comment 1 Tom Warnke 2016-01-14 12:34:17 UTC
Is this still an issue in KMail 5.1.1? I had a similar problem, but it seems to be fixed now.
Also, possible duplicate of https://bugs.kde.org/show_bug.cgi?id=352472.
Comment 2 Tom Warnke 2016-01-14 14:19:25 UTC
Of course this bug is a duplicate of itself... nevermind
Comment 3 piedro 2016-01-15 12:42:46 UTC
Searching E-Mails seems to work better now but I have not tested the results for consistency yet... 

Once a "search folder" is established pushing "edit search" and changing the search criteria does NOT change the contents (the results) within the search folder. This is still a broken feature. 

sad, p.
Comment 4 piedro 2016-01-15 13:10:25 UTC
Annoying:

- refining the search of a search folder has no effect... though the criteria is changed the mails "found" are just a repeated result of the prior search - I tried to search for a completely different name in the header but all the mails of the last search are still in the search folder, no new mails are added, no mails are removed... this happens everytime regardless of whether I change the name of the search folder or not... 

- also it is not possible to copy a search pattern and create a new refined search folder with a different name - the old search folder just gets renamed (but, as mentioned before, doesn't change the content in any way...) 

- removing a search criteria is not possible, the button to remove a criteria line is greyed out... 

- the search folder shows 240 results but the mail list area only shows around 30 mails... 

All in all, the virtual folder system is not in a working shape. I vote to remove it while it's a mere proof of concept (not even as such it is convincing!) - it scares of users from kmail. If searches do not provide reliable results. You have to trust your mail system if you want to work productivly with it. 

p.
Comment 5 Andre Heinecke 2016-02-01 10:18:21 UTC
I can reproduce the "Ignores all Settings part" with Kontact 4.14 (branch vendor/intevation). Baloo from 4.14 branch. After a restart of my PC search worked great I got good results etc.
But after Closing the Search dialog, working a bit with Kontact and searching again It always showed the results of the last query I ran with the previously opened Search dialog. Regardless of changes I've made. Restarting Kontact and even restarting akonadi with akonadictl restart had no effect on this.
Comment 6 piedro 2016-10-24 17:51:50 UTC
I am glad to hear that KDE decided to focus on professional use cases... maybe we start getting something moving here then. Though it feels like the announcements on the KDE pages are completely disconnected from development and bug hunting... 
p.
Comment 7 Justin Zobel 2022-10-26 03:07:15 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 8 Bug Janitor Service 2022-11-10 05:11:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2022-11-25 05:22:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!