Tested with brush preset bundle with ampersand character in tag name.
Brush preset docker does recognize the ampersand correctly and filters the brush presets accordingly.
BUT:
Pop up palette tag selector does not recognize the ampersand character and subsequently does not filter the brush presets (the ampersand character is even not shown in the tag selector of the pop up palette).
I tried it with v5.2.9 (git ac6cae8), I got the same result as you.
I also noticed something else.
It seems that when there is an & and a space between words, the display uses an underscore.
Thanks for taking the time to cross check.
Bug report:
Fun facts:
There are currently 719 Krita reports in the bug tracker which have the state “reported”. That means somebody reported it but nobody has taken a look into it, to confirm its really a bug.
And there are 576 reports with state confirmed, which means they are confirmed being a bug but have not been solved or closed yet.
Edit:
Filtering for version 5.2.9 the tracker shows 46 reported states.
Yes… When adding any entry to a menu, an ampersand is seens as a sign to define the following letter as an accelerator. That means you can select that entry with alt-letter (and space is a letter, too). There simply isn’t a way around that.
From a user standpoint:
Brush bundle creator has created a tag with ampersand.
User has imported brush bundle.
User filters by the tag with the ampersand.
Result:
Filter works in brush presets docker
Filter does not work in pop up palette
As I understand it as a user, there is a way around it in the brush preset docker but not in the pop up palette?
No, there’s no way around it: a combobox is a different thing from a menu. This is the way things have been since the late eighties, and there is no workaround that I know of.
I understand.
Would’nt it make sense in that case to add a check in the tag creation code that prevents using unsupported characters?
As it is now, the creator can create any character she / he wants, but a user then has no clue why it does not work in the pop up palette filtering (or maybe a tech savy one knows it but others don’t).
You can escape the & with another &. So technically right now you can create a new second tag e.g. “Art && Design” and that will display as “Art & Design” in the menu and filter for the original tag instead of itself. Maybe it would be possible to automatically escape the tag name in the code that builds the menu?
That would be good, because the tag creators could work as they are used to. I guess most of them don’t know what “escaping” is or understand why they need to type two && (it’s a dev thing not an artists one).
But only the Krita devs know if a kind of auto escaping would work and if there is time to implement it for the palette.
Most users don’t even know what this underscore in menus and elsewhere in programs is for, let alone which function or action they could use to insert/create it to their advantage. We already had questions about it in the forum.
hello @stuffin ,
I am not sure if I understand your post correctly.
Do you mean that the issue is already fixed in a new nightly build?
I ask because you wrote “… it was a seperate issue…” which indicates it is not anymore.
Or are you requesting that it gets solved in the future?
In the bug report there is only a reply from @halla saying it can’t be solved.