krunner stores enabled categories in krunnerrc file in KDE local language. If someone changes language in KDE regional settings, on next startup krunner unmarks all categories, which has another name in new language. For example, category "Windows" in Lithuanian language is "Langai". If I change language in KDE regional settings from Lithuanian to English, o next run krunner disables "Windows" category. But "Audio" category, which has the same name in Lithuanian also, stays enabled.
Ah crap. Confirmed.
Still not fixed on plasma 5.5.3
Thanks! I was already wondering why it seemingly randomly forgot the enabled catgegories. Will investigate.
Crap. This is a fundamental thing in krunner itself, ie. a runner can provide a category (which is already i18n'd) and then the runner manager saves that. Not sure if that's fixable :/
Doesn't have categories some kind of ID, general (unique) category name or something? Using human readable caption as key is absolutely wrong.
Git commit 44866deb0261662eafde10fd750def25c17aef91 by Marco Martin. Committed on 29/09/2016 at 11:06. Pushed by mart into branch 'master'. use KPluginSelector to enable runners Summary: the configuration dialog for enabling runners by category was a neat idea but had several problems, gave by it reinventing the wheel too much. when changing the locale, the enabled categories list was resetted due to categories being localized. it was also pretty difficult to disable a particular plugin as you would have to know what categoriesyou have to disable. this approach is more basic, but reusing a common implementation, we avoid some bugs and misbehaviors. Test Plan: ran on an existing krunnerrc with different sets of categories enabled, tested krunner and its kcm with it, all expected runner plugins were used both in the kcm and while searching with krunner Reviewers: broulik, #plasma, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: davidedmundson, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D2872 M +13 -244 kcms/runners/kcm.cpp M +2 -26 kcms/runners/kcm.h http://commits.kde.org/plasma-desktop/44866deb0261662eafde10fd750def25c17aef91
*** Bug 374519 has been marked as a duplicate of this bug. ***