CFA asterisk pattern for all files doesn't work in network paths or mapped drives

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
jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

CFA asterisk pattern for all files doesn't work in network paths or mapped drives

Post by jupe »

x86/x64 both affected.

In network locations or mapped network drives, the single * CFA pattern used as id for "all files", doesn't actually seem to match files in those locations, if entry is changed to *.* then files are matched though.

To repro in fresh,
  • goto a \\SERVER\folder or mapped network drive path that contains a file
  • select a file
  • press :openwith button
  • result = any * pattern "all files" entries are missing
Theoretically you should see the default entries "Copy file size in bytes" & "Append Mod Date...", but they're missing, at least for me on Win10.

This issue seems to go back at least as far as v17 x86, which was as far as I checked, but it's also present in latest x64 builds.

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

Re: CFA asterisk pattern for all files doesn't work in network paths or mapped drives

Post by admin »

Weird. Works fine here with x32/x64 on Win8.1 and Win11 in all locations. :?

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

Re: CFA asterisk pattern for all files doesn't work in network paths or mapped drives

Post by jupe »

Oops my bad, I wrote this bug report from memory so forgot to mention that on normal Windows shares or even subst drives it works fine, can't remember about linux, but on things like a network printer or router with a usb drive conected is when there is a problem, maybe its not an XY issue, but somehow what ever os the host device is running, anyway the workaround I mentioned is usable if you don't think it is an XY issue.

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

Re: CFA asterisk pattern for all files doesn't work in network paths or mapped drives

Post by admin »

While I don't see why the workaround makes a difference, I don't think it's an XY issue. Those wildcard patterns are fed into Windows API, and nobody knows what the API does with them.

Post Reply