BUG: 196771
BUG: 366322
BUG: 358435
The actual problem in my case was that 'enabled categories' list was in English, while actual plugin names (which are used as categories for some reason - but that is out of scope of this MR) were in Russian.
davidedmundson | |
kossebau |
Plasma: Workspaces | |
Frameworks |
BUG: 196771
BUG: 366322
BUG: 358435
The actual problem in my case was that 'enabled categories' list was in English, while actual plugin names (which are used as categories for some reason - but that is out of scope of this MR) were in Russian.
my test scenario:
killall krunner && ninja && sudo mv bin/libKF5Runner.so.5.51.0 /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5.51.0 && krunner
alt+f2
enter 'chromium'
finally get results and be able to run chromium after hitting enter
Lint Skipped |
Unit Tests Skipped |
src/runnermanager.cpp | ||
---|---|---|
274 | what does deadRunners have to do with this? |
src/runnermanager.cpp | ||
---|---|---|
274 | if deadRunners is empty then there is no sense rerunning this method, and it even could cause endless recursion |
Dead runners will surely be empty on the first load. You could still have had a locale change then.
Also, now I'm re-reading it you're relying on locales to always have unique strings. It's perfectly plausible that spanish and italian could have 1 word matching. Or two locales having an untranslated value. As long as 1 value remains the same this workaround won't work.