Page 1 of 1
Add selfilter to cell context menu
Posted: 19 Nov 2024 17:22
by jupe
Just a suggestion, not sure what you think about it, but I reckon it would be useful if the cell context menu also contained a Selection Filter entry, especially if it could support the add/rem shift modifiers too.
Currently by default the selfilter auto wildcards, so I guess If you added it, that in this scenario it would need to be exact matches though.
Re: Add selfilter to cell context menu ?
Posted: 20 Nov 2024 11:23
by admin
Yes, I like it. How to call it, "Select Identical Items", "Select Similar Items"?
Re: Add selfilter to cell context menu ?
Posted: 20 Nov 2024 20:03
by jupe
Since the existing LF/QS entries just use their normal caption (without tailing ...), I don't see why this couldn't just use "Selection Filter", which may possibly allow translators to be able to reuse the string. I think being that it would be in a cell context menu, it isn't ambiguous.
PS: I noticed that selfilter/QuickSelect/GUI doesn't work with custom columns.
Re: Add selfilter to cell context menu ?
Posted: 21 Nov 2024 11:42
by admin
1)
2)

Works here, eg:
>>>GPS:35°0'51.8"N 135°40'8.5"E
Re: Add selfilter to cell context menu ?
Posted: 21 Nov 2024 23:34
by jupe
1) Wow thanks it works great, I can see myself using this frequently.
2) It seems to only work sometimes for me, Scripted Custom Columns don't seem to (in my config), I'll need to find time to make repro steps and get back to you.
Re: Add selfilter to cell context menu ?
Posted: 22 Nov 2024 13:49
by admin
Ambiguous column names can lead to unexpected results. But that's an easily avoidable user error.
Re: Add selfilter to cell context menu
Posted: 23 Nov 2024 04:25
by jupe
Wow, I thought you'd have a little bit more faith in me by now.
TLDR; Long story short, it seems the differences between soft/hard custom columns is a factor, in addition to the method used to add the column to the list
I will admit that when I first mentioned the issue, after finding it not working in my config, I proceeded to quickly test in fresh just by using the default inbuilt custom columns to confirm there was a issue, and it didn't work there either,
and still doesn't, so I posted hastily because I was trying to notify you before you had added this topics feature, because I thought it would be easier for you to work on it at the same time, rather that finding out afterwards, but now I see the new cell menu works regardless anyway.
Those inbuilt custom columns are basically just clones of Special Properties, and I didn't notice until later that when those are added to the list they don't actually have a caption, which you can notice if you check the Configure Column dialog, and giving them a NON AMBIGUOUS caption still doesn't work, but it gave me a clue how to repro the issue, so here are steps.
- fresh;
- Right click Column Header + select Add Column
- Right click newly added column and select default CC#1 = Dimensions
- Right click newly added column and select "Configure Custom Column #1"
- Add below Snippet in dialog then close dialog
>>>XYZ:txt
// modify ext to suit whats visible in list
- Result = 0 items selected
So that's why it was working for me intermittently, it seems if the column gets added in cc11+ it works, but changing cc10- (which I have done in my conf) makes it fail. Although if you add the column in an alternate way, like from Show Columns dialog instead, then it works when done that way. Additionally I noticed when you add columns from the Show Columns dialog that the column ends up having a different col header context menu than when adding via Add Column, that's just an observation, I am skeptical that is relevant to this issue though.
FYI Spot/QuickSel/Jump are all affected under these same conditions.
Code: Select all
Snip: CustomColumn 1
XYplorer 26.60.0310, 23/11/24 2:43:53 PM
Action
ConfigureColumn
Caption
XYZ
Type
3
Definition
return <cc_ext>;
Format
0
Trigger
0
Item Type
0
Item Filter
Re: Add selfilter to cell context menu
Posted: 23 Nov 2024 10:52
by admin
jupe wrote: ↑23 Nov 2024 04:25
Wow, I thought you'd have a little bit more faith in me by now.
Sorry, I think I said that with all the interested lurkers in mind
Yep, the repro was reproducible. Interesting stuff. Turns out it was indeed caused by ambiguous column names, but in a complex way, and certainly a bug. Should be fixed in the next beta.