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

Marco Martin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/e6c7d9f870ab4be0f08e6a65f
                   |                            |fde7954543f7bd1
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Marco Martin <[email protected]> ---
Git commit e6c7d9f870ab4be0f08e6a65ffde7954543f7bd1 by Marco Martin.
Committed on 14/10/2025 at 12:37.
Pushed by mart into branch 'master'.

servicerunner: calculate the distance of the "beginning" of the items too

bitap worked in a way that strongly favored matches trough the end of the word,
rather than treating them the same
When matching the various entries, change how bitap works, and now end instead
of the end of the word where it maches, calculate the end of the pattern when
we have a match, this giving equal tretment where the match is

M  +22   -17   runners/services/autotests/bitaptest.cpp
A  +14   -0    runners/services/autotests/fixtures/Set Resolution
2560x1440.desktop
A  +14   -0    runners/services/autotests/fixtures/Set Resolution
3440x1440.desktop
A  +17   -0    runners/services/autotests/fixtures/org.kde.dolphin.desktop
A  +18   -0    runners/services/autotests/fixtures/org.kde.rkward.desktop
M  +26   -0    runners/services/autotests/servicerunnertest.cpp
M  +12   -11   runners/services/bitap.h
M  +1    -1    runners/services/servicerunner.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/e6c7d9f870ab4be0f08e6a65ffde7954543f7bd1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to