[kmail2] [Bug 387618] words less than 3 letters are ignored
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Thu Oct 12 10:55:23 BST 2023
https://bugs.kde.org/show_bug.cgi?id=387618
enthlinn at outlook.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |enthlinn at outlook.com
--- Comment #16 from enthlinn at outlook.com ---
It is now 2023. Obviously, this is an issue that all users will notice when
they open `kmail` and want to do something serious. After many times I am
pressing the `s` key to open the search dialog box, I decided to take out my
reliable partner: `gdb`, download the source code and install all of symbol
files, and then try to shut down this "feature" completely.
TL;DR: if you want to disable this "feature", you need to modify at least the
following places:
https://invent.kde.org/pim/messagelib/-/blob/e80b91038ba805682c129c7fa0f6e434220c83d2/messagelist/src/core/filter.cpp#L241-L249
https://invent.kde.org/pim/messagelib/-/blob/e80b91038ba805682c129c7fa0f6e434220c83d2/messagelist/src/core/widgets/quicksearchwarning.cpp#L29-L46
https://invent.kde.org/pim/messagelib/-/blob/e80b91038ba805682c129c7fa0f6e434220c83d2/messagelist/src/core/widgets/quicksearchline.cpp#L68-L81
These are hard-coded and must be recompiled and installed. And after reading
the source code, I found that kmail quick search does not only limit once
search to a minimum of 3 characters, but also *each word* must be greater than
3 characters. Why is it designed this way? I found the ancient commit history
(that's true for 2023):
https://github.com/KDE/kdepim/commit/1e416df1618989abd4364247966e621a608893b9
Are there any performance issues? I don't know. But in my opinion, the user
should at least be given a choice (to disable this).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list