Live Filtering and the dot

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 strongly 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, and we won't have to search for that vital information.

: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
MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Live Filtering and the dot

Post by MBaas »

I noticed a little problem as I attempted to filter for a certain file WITH extension:
  • I entered the name into the LFB: DUI and the list only showed matching files)
  • Next was the dot: DUI. - and the list was emptied
  • Next the first character of the extension: DUI.d - and the list showed two matching files.
So why was it emptied in step 2? (Actually this had me so confused that I first did not even think about trying to continue my typing)

Hopefully it's a bug and not a feature! ;)
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

Horst
Posts: 1400
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Live Filtering and the dot

Post by Horst »

This is not an error and expected behaviour.
There can be files with a dot at the end and no extensions.
Windows / Linux users often have config files named like this.
Windows 11 Home, Version 25H2 (OS Build 26200.9278)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.2, Listary Pro 7.0.0.9 beta

RalphM
Posts: 2113
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Live Filtering and the dot

Post by RalphM »

I think it is a feature as the "." without anything following represents anything without an extension.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

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

Re: Live Filtering and the dot

Post by admin »

So it is.

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: Live Filtering and the dot

Post by MBaas »

I understand - but this seems a bit contradictory, as "foo" is not interpreted as "names ending with `foo`", nor is "foo.a" - so it seems a bit odd that "foo." would suddenly be. But I see the point (ha, pun intended) about there being no extension - but then I guess a similar case could be constructed when the filter for "foo.doc" also shows ".docx" files and we accept it - so why can't file with an extension be included as well?. Maybe an explicit symbol for "end of match" (perhaps ":") would be more consistent...

Another example: how can I search a folder for ALL files w/o extension? Surprisingly "." alone doesn't do it - as that includes only filenames WITH an extension and EXCLUDES those without one...
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: Live Filtering and the dot

Post by admin »

*.

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: Live Filtering and the dot

Post by MBaas »

Oh well, you've beaten me, I give up. (grumble, grumble)
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

Post Reply