I've sent IDM's dev an email about this because I thought it was a bug in IDM but, according to him, it's a XYplorer's side problem. Here is the email:
Hello,
You need to contact developers of this XYplorer. It seems they catch call of Microsoft function SHOpenFolderAndSelectItems:
https://docs.microsoft.com/en-us/window ... electitems
It it seems it returns wrong result. In Microsoft description:
If this function succeeds, it returns S_OK.
And S_OK here should be equal to zero.
And several seconds delay also must be connected with this catch of Microsoft function call.
Best regards,
Dave Saeger
IDM Support
Tonec Inc.
-----Original Message-----
Sent: Friday, August 12, 2022
To: support@tonec.com
Subject: Problem with XYplorer and opening paths
> In the latest versions when a download finished and "Open folder"
> is selected the app opens an explorer window and then after some
> seconds (something like 20 to 60) it opens a another (second) window
> again. I'm *guessing* that the first time is opening an Explorer
> window because what really happens is it first opens XYplorer with
> the correct path pointing to the downloaded file and then some
> seconds after it opens a Microsoft Explorer window also pointing to
> the downloaded file, also sometimes, as it takes several seconds to
> show the Explorer window, I have already moved the file to another
> directory and so instead of the Explorer window pointing to the (now
> missing) file it just opens in "This computer" view.
> XYplorer is configured to be the default file manager in the app
> configuration. Before IDM never opened the path in XYplorer, it
> always opened the Explorer window, is only in the recent versions
> that this has been happening which is appreciated but the second window opening is annoying.
> This doesn't happen when I go to the download list, right click a
> file and select "Open folder". In that case only the Microsoft
> Explorer window is opened pointing to the file.
> Thank you.