Closed gfgit closed 8 months ago
This topic is also worth to mention if user language / application names use special unicode characters: https://invent.kde.org/multimedia/elisa/-/merge_requests/319
It's half OT but I was wondering why some items which are not shown in the categories (if "Leave" and "Preferences" are omitted in the menu file) were shown by the search, for example kvantum-manager or "Suspend" or "Leave" but none of thelxqt-config-*
items.
It looks like adding utility in their .desktop files like Categories=Settings;DesktopSettings;Qt;LXQt;Utility;
makes them retrievable by the search. So we could add this everywhere, as already "simple" menu doesn't include settings and we could add a fancy-applications-menu.
Of course other settings are out of our control and will be found only in Configuration-center.
Or maybe include searching by default also "LXQt" if possibile?
It's half OT but I was wondering why some items which are not shown in the categories (if "Leave" and "Preferences" are omitted in the menu file) were shown by the search
Is the behavior different in MainMenu or "broken" in both?
Using "simple" menu which includes only lxqt-config
it looks the same: "leave" items, kvantum-manager are found, settings not (except the one where I added "Utility").
It looks like the search includes akways one or both "System;X-Leave;" categories.
Ok, the solution looks simple: adding a category for all settings in the menu but not display it.
This topic is also worth to mention if user language / application names use special unicode characters: https://invent.kde.org/multimedia/elisa/-/merge_requests/319
@tsujan what about unicode normalization?
@tsujan also I forgot to remove comment about "keywords are already lowercase" which is not true anymore
also I forgot to remove comment about "keywords are already lowercase" which is not true anymore
Sorry; I merged it because, first, it was OK, and second, as there was a discussion about other subjects on this page, I thought you might add a commit not related to the main goal. It's highly preferable to limit each PR to one subject. Next time I'll ask if your work is finished.
what about unicode normalization?
I don't know. Isn't it an overdoing?
also I forgot to remove comment about "keywords are already lowercase" which is not true anymore
Sorry; I merged it because, first, it was OK, and second, as there was a discussion about other subjects on this page, I thought you might add a commit not related to the main goal. It's highly preferable to limit each PR to one subject. Next time I'll ask if your work is finished.
See #1989 which removes the wrong comment
See #1989 which removes the wrong comment
It doesn't need a review; please merge it yourself by pressing "Squash and merge" button.
what about unicode normalization?
I don't know. Isn't it an overdoing?
I think it's useful for Chinese/Japanes/Korean language. But also for Dutch which has many accent and weird letters. We should ask a native speaker user
We should ask a native speaker user
I agree.
I think italian and german beats dutch with accents.
Improve matching by doing case insensitive comparison. Also tweak code to not move cursor while typing