DESCRIPTION When you put 63 or more characters into krunner's search box, the systemd journal is flooded with copies of krunner[37410]: Pattern is too long for bitap algorithm, max length is 63 In testing, I've managed to get over 18400 of those messages in *one second*. I often use KRunner as a temporary clipboard to store some text, and keymash into it in general. Last time I was cleaning my journal, I was surprised (horrified, even) when I saw that 5461077 out of 5587459, or 97.74% of the lines in my 2.2GiB journal was this exact line, produced by KRunner. STEPS TO REPRODUCE 1. Open `journalctl -f` in a journal window 2. Keymash into krunner until the contents is 63 or more characters long OBSERVED RESULT journal is flooded with messages EXPECTED RESULT no log message flood SOFTWARE/OS VERSIONS Operating System: Arch Linux, linux 7.2.6.arch2-1 KDE Plasma Version: 6.7.5 KDE Frameworks Version: 6.30.0 Qt Version: 6.11.2
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7082
Git commit a45871a7b24f68bed09df3c7282effc86c42535c by David Edmundson. Committed on 21/09/2026 at 21:17. Pushed by davidedmundson into branch 'master'. runners/services: Truncate to fit in assigned bitap space <!-- Thank you for submitting a merge request to make KDE Software better! Use the information from the commit message(s) to fill in the template below. (For future reference, follow the guidelines at https://cbea.ms/git-commit/#seven-rules) --> ### Original commit message(s) * runners/services: Truncate to fit in assigned bitmap space One behaivoural change is we allow one more character before erroring out as I think the maths was wrong. A string of 63 characters with a 64 bit mask should be fine according to the surrounding comments. We could dynamically adjust the mask size, but it probably doesn't make sense to be looking for specific services at 60+ characters a substring match will be fine. ### Reason for the change <!-- If this merge request change is resolving a problem, describe the problem and explain why the approach taken here is the correct way to resolve it. If the merge request adds a new feature or UI change, explain the benefits of the change. --> ### Test plan <!-- Extend any related autotests with new test cases to validate your changes. If none exist, consider adding one if you have the technical skills to do so. Otherwise, at least describe how you tested the change, and how someone reviewing this merge request can test it themselves. No need to mention obvious things like "Apply the changes". --> ### Screenshots or screen recordings <!-- If this merge request introduces a visual change, please add before-and-after screenshots in the following format: | Before | After | | ------ | ----- | | [drag "before" screenshot here] | [drag "after" screenshot here] | --> ### Bugs fixed <!-- If the changes in this merge request fix any Bugzilla tickets, add the following keyword for each one: --> M +5 -4 runners/services/bitap.h M +1 -1 runners/services/servicerunner.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/a45871a7b24f68bed09df3c7282effc86c42535c
Git commit 0d97605cb7dc95a5d7d77f9e7e0077a04c623e40 by Nate Graham, on behalf of David Edmundson. Committed on 22/09/2026 at 01:56. Pushed by ngraham into branch 'Plasma/6.8'. runners/services: Truncate to fit in assigned bitap space <!-- Thank you for submitting a merge request to make KDE Software better! Use the information from the commit message(s) to fill in the template below. (For future reference, follow the guidelines at https://cbea.ms/git-commit/#seven-rules) --> ### Original commit message(s) * runners/services: Truncate to fit in assigned bitmap space One behaivoural change is we allow one more character before erroring out as I think the maths was wrong. A string of 63 characters with a 64 bit mask should be fine according to the surrounding comments. We could dynamically adjust the mask size, but it probably doesn't make sense to be looking for specific services at 60+ characters a substring match will be fine. ### Reason for the change <!-- If this merge request change is resolving a problem, describe the problem and explain why the approach taken here is the correct way to resolve it. If the merge request adds a new feature or UI change, explain the benefits of the change. --> ### Test plan <!-- Extend any related autotests with new test cases to validate your changes. If none exist, consider adding one if you have the technical skills to do so. Otherwise, at least describe how you tested the change, and how someone reviewing this merge request can test it themselves. No need to mention obvious things like "Apply the changes". --> ### Screenshots or screen recordings <!-- If this merge request introduces a visual change, please add before-and-after screenshots in the following format: | Before | After | | ------ | ----- | | [drag "before" screenshot here] | [drag "after" screenshot here] | --> ### Bugs fixed <!-- If the changes in this merge request fix any Bugzilla tickets, add the following keyword for each one: --> (cherry picked from commit a45871a7b24f68bed09df3c7282effc86c42535c) 61400964 runners/services: Truncate to fit in assigned bitmap space Co-authored-by: David Edmundson <kde@davidedmundson.co.uk> M +5 -4 runners/services/bitap.h M +1 -1 runners/services/servicerunner.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/0d97605cb7dc95a5d7d77f9e7e0077a04c623e40