Live Filter Box - won't accept full stop character?

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Live Filter Box - won't accept full stop character?

Post by petersboulton »

Hi,

Very small thing here, but I have 'Enable type ahead find' and 'Redirect typing to Live Filter Box' checked.

If I type ahead find (i.e. the list view has focus) I get inconsistent behaviour:

- If I type ahead ".rc" I only get "rc" in the Live Filter Box
- If I type ahead "*.rc" then that's what I get

I'm not sure why there should be this inconsistency. Not having to switch focus to the Live Filter Box is nice.

Secondly, and this probably applies generally, I've never understood how to filter for, say, "*.rc" and not get results like "file.rc.bak".

As I said at the start, totally not a show-stopper but to be perfectly honest, I only noticed the second behaviour (i.e. "*.rc" works) while I was writing this post. Before that, I just thought it was an oversight that, let's be honest, is workable around!

Pete

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

Re: Live Filter Box - won't accept full stop character?

Post by admin »

Works here. :?

Are you maybe using the dot as a keyboard shortcut?

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Live Filter Box - won't accept full stop character?

Post by petersboulton »

admin wrote:Works here. :?

Are you maybe using the dot as a keyboard shortcut?
Ah yes, you're quite right! Not me as far as I know though - presumably the dot as a keyboard shortcut for 'next' in type ahead is a default? Anyway, removing the keyboard shortcut fully fixes it, many thanks!

Any insight into avoiding ".rc" returning files like "file.rc.bak"?

Thanks again!

Pete

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

Re: Live Filter Box - won't accept full stop character?

Post by admin »

Might be it was a default in previous versions. Not anymore.
petersboulton wrote:Any insight into avoiding ".rc" returning files like "file.rc.bak"?
If there are no wildcards, then they are auto-added: *.rc*

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Live Filter Box - won't accept full stop character?

Post by petersboulton »

admin wrote:
petersboulton wrote:Any insight into avoiding ".rc" returning files like "file.rc.bak"?
If there are no wildcards, then they are auto-added: *.rc*
OK, so how does one stop them being auto-added? I mean, surely it's reasonable to want to filter on "*.rc" without getting "*.rc*"? To be clear, why doesn't "*.rc" omit "*.rc.bak" and "*.rc.*" include "*.rc.bak"? Is Xyplorer trying to be too helpful (whilst not helping in my case) by auto-adding the '*' at the beginning and end? Could we switch auto-add off or something?

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

Re: Live Filter Box - won't accept full stop character?

Post by admin »

:? "*.rc" does omit "*.rc.bak"

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Live Filter Box - won't accept full stop character?

Post by petersboulton »

admin wrote::? "*.rc" does omit "*.rc.bak"
Sort of, yes. But if I type ahead "*.rc" I get ".rc" auto-entered in the Live Filter Box and "*.rc.bak" etc. in the filtered list.

If I enter "*.rc" in the Live Filter Box I get the desired result - i.e. no "*.rc.bak".

It's great that type ahead in the list also adds what you typed to the live filter box. I just think the current behaviour is inconsistent because some characters you type in type ahead don't make it to the Live Filter Box, and I can't see why they shouldn't(e.g. '*'). Surely that would be a more consistent implementation - i.e. if you choose to set "Redirect typing to Live Filter Box" then all the characters should be redirected, not just some of them!

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

Re: Live Filter Box - won't accept full stop character?

Post by admin »

petersboulton wrote:But if I type ahead "*.rc" I get ".rc" auto-entered in the Live Filter Box and "*.rc.bak" etc. in the filtered list.
Not here. Another keyboard shortcut?

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Live Filter Box - won't accept full stop character?

Post by petersboulton »

admin wrote:
petersboulton wrote:But if I type ahead "*.rc" I get ".rc" auto-entered in the Live Filter Box and "*.rc.bak" etc. in the filtered list.
Not here. Another keyboard shortcut?
Nope. The '*' on the numeric keyboard is not captured in this functionality. The '*' above the '8' key (UK keyboard) is captured.

Or rather:
- Numeric keyboard '*' is NOT captured in type-ahead, BUT
- Numeric keyboard '*' IS captured when typing into Live Filter Box

Can't see why there should be this inconsistency, can you?

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

Re: Live Filter Box - won't accept full stop character?

Post by admin »

Interesting! Never crossed my mind to fetch this wildcard from the numeric block. I'll see what I can do...

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Live Filter Box - won't accept full stop character?

Post by petersboulton »

admin wrote:Interesting! Never crossed my mind to fetch this wildcard from the numeric block. I'll see what I can do...
Thank you! That would be superb.

Apologies for taking rather long to get to the point! There was one, but not the one I started with. :titter:

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

Re: Live Filter Box - won't accept full stop character?

Post by admin »

Turns out the key is assigned as keyboard shortcut:

Miscellaneous / Tree / Fully Expand #1011 Numpad Multiply

If you remove it the key will work as you expected it.

OTOH, I was surprised that this key (which only affects the Tree) works while the focus is in the List. I think I will change this. If I do then you don't have to do anything, all will work in the next beta.

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Live Filter Box - won't accept full stop character?

Post by petersboulton »

admin wrote:Turns out the key is assigned as keyboard shortcut:

Miscellaneous / Tree / Fully Expand #1011 Numpad Multiply

If you remove it the key will work as you expected it.

OTOH, I was surprised that this key (which only affects the Tree) works while the focus is in the List. I think I will change this. If I do then you don't have to do anything, all will work in the next beta.
Great, that's fantastic, thank you!

(In the meantime I changed #1011 to use Shift and NumPad Multiply. But I think you're right - the shortcut key only needs to work in the tree so capturing it for the Live Filter Box when the list has focus makes the best sense.)

Post Reply