"pattern select command" filter not set as default anytime
Tested with versions: 3.15.3 , 4.6
config > button configuration > [buttton with it] > pattern select > Configure
window: configure "pattern select"
Enter default filter : *.en.txt
okay
then with a click on the button requester pops up yet
filter is not set as default anytime
sometime -often- seemingly a random entry being in the list is set instead.
it seems sometimes the currently selected file extension is used to craft the filter:
if I select a .c file the "*.c"
is set as default pattern also .deb
yet it's not anytime and often only "*\n*"
is set as default pattern
Expected:
pattern/filter set as default in requester anytime
or better
matching list entries selected directly without requester
most of the times I was using "pattern select", it was with wanting/expecting the requester, then I didn't remark it. Yet I tried recently to have a button with a specific pattern/filter so I did remark it.
also compared to other functions, "pattern select" cannot be replaced with a script or something.
Hi,
the behavior actually exists since version 3.3.3. The command will select the pattern from the history of used pattern that matches the current file. If none of those patterns match, the file ending is used instead. So the "defautl pattern" settings is pretty much unused and useless. But maybe sometimes one actually wants to use that very specific pattern no matter what. So maybe I should add a separate option to only use the entered pattern. Would that help in your case?
yes!
it depends on the project, I'm sometimes using it much.
last time was a long time ago though, it seems.
thanks .
hi,
with worker version 4.7, pattern select is now as expected, as earlier than 3.3.3.
so I confirm #35 is fixed with worker version 4.7
thanks .