Add selfilter to cell context menu

Features wanted...
Post Reply
jupe
Posts: 3323
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Add selfilter to cell context menu

Post 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.

admin
Site Admin
Posts: 65389
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Add selfilter to cell context menu ?

Post by admin »

Yes, I like it. How to call it, "Select Identical Items", "Select Similar Items"?

jupe
Posts: 3323
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Add selfilter to cell context menu ?

Post 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.

admin
Site Admin
Posts: 65389
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Add selfilter to cell context menu ?

Post by admin »

1) :tup:

2) :eh: Works here, eg: >>>GPS:35°0'51.8"N 135°40'8.5"E

jupe
Posts: 3323
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Add selfilter to cell context menu ?

Post by jupe »

1) Wow thanks it works great, I can see myself using this frequently. :appl:

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.

admin
Site Admin
Posts: 65389
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Add selfilter to cell context menu ?

Post by admin »

Ambiguous column names can lead to unexpected results. But that's an easily avoidable user error.

jupe
Posts: 3323
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Add selfilter to cell context menu

Post by jupe »

Wow, I thought you'd have a little bit more faith in me by now. :cry:

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.
  1. fresh;
  2. Right click Column Header + select Add Column
  3. Right click newly added column and select default CC#1 = Dimensions
  4. Right click newly added column and select "Configure Custom Column #1"
  5. Add below Snippet in dialog then close dialog
  6. >>>XYZ:txt
         
    // modify ext to suit whats visible in list
  7. 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
  

admin
Site Admin
Posts: 65389
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Add selfilter to cell context menu

Post by admin »

jupe wrote: 23 Nov 2024 04:25 Wow, I thought you'd have a little bit more faith in me by now. :cry:
Sorry, I think I said that with all the interested lurkers in mind :whistle:

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.

Post Reply