Bug 383009 - Searching body of message returns all messages with attachment
Summary: Searching body of message returns all messages with attachment
Status: REOPENED
Alias: None
Product: kmail2
Classification: Applications
Component: search (other bugs)
Version First Reported In: 5.5.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-01 16:11 UTC by clx
Modified: 2023-02-08 13:01 UTC (History)
1 user (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 clx 2017-08-01 16:11:19 UTC
Observed: Pressing "S" to search then searching "Body of message" or "Full message" (in an indexed folder) results in both messages that contain the search string in body, as well as any message with any attachment at all. My attachments are predominantly PDFs. The pattern persists even using very long and nonsensical search strings and results in identical results every time, so it's probably not a case of random binaries in the PDF getting somehow matched to the search string. 

Expected: Either the search should not touch attachments at all, or it should intelligently parse the content of PDFs. I'll be very happy if it just doesn't touch attachments / non-plaintext attachments.
Comment 1 Justin Zobel 2022-11-06 09:25:41 UTC
Thank you for reporting this issue 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 2 Bug Janitor Service 2022-11-21 05:14:52 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 3 Bug Janitor Service 2022-12-06 05:21:36 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!
Comment 4 Patrick 2023-02-08 13:01:01 UTC
Reproducible in Kmail 5.22.2 (22.12.2) on Arch Linux.