Program opens path in XYplorer and then in File Explorer
Posted: 21 Dec 2021 23:13
A program called HTTP Downloader has an option to Open Directory which should just open fine in XYplorer, which it does. The problem is, after 15-20 seconds, the same path also opened in File Explorer. I haven't noticed any other program producing a duplicate window in File Explorer after opening in XYplorer so I thought it may be HTTP Downloader's fault. The dev disagreed, here's a quote:
The only relevant configuration option I can think of is that I have "Open command line start path in new tab" enabled (I think this is disabled by default, and as a side note, I think should be the inverse -- was really quite annoying at the start until I found this option
and something I think File Explorer users, i.e. potential new users, would not expect).
Maybe this is something you could look into?
Thanks!
XYplorer 22.60.0100
Windows 11 Pro (21H2 build 22000.376)
It looks like HTTP Downloader is falling back to ShellExecute because the duplicate File Explorer window which opens doesn't highlight the file.I wouldn't know why it's opening Explorer's window as well. The code to open a folder and highlight a file is pretty standard so if there's anything going on, then it's with XYplorer. HTTP Downloader will use SHOpenFolderAndSelectItems first and if that fails, then it'll fall back to ShellExecute (which opens the folder, but doesn't highlight the file). The code block that that code is in doesn't stall, so there should not be a 15-20 second delay. I would suspect that XYplorer's interception of one of those API calls is causing the issue.
The only relevant configuration option I can think of is that I have "Open command line start path in new tab" enabled (I think this is disabled by default, and as a side note, I think should be the inverse -- was really quite annoying at the start until I found this option
Maybe this is something you could look into?
Thanks!
XYplorer 22.60.0100
Windows 11 Pro (21H2 build 22000.376)