Page 1 of 3

Calling XYplorer from external app stopped working

Posted: 11 Mar 2018 21:02
by elbitjusticiero
In the latest versions of XYplorer, opening a folder from another application (JDownloader in this case) fails: double clicking on the folder (with XYplorer set up as Windows Explorer replacement, of course) activates the XYplorer window, but no tab is created and no folder change occurs. This worked fine in previous versions.

I am using Windows 8.1, 64-bit version. XYplorer 18.80.0003 atm.

Re: Calling XYplorer from external app stopped working

Posted: 11 Mar 2018 21:08
by highend
Which scope did you set under Configuration | Other | Shell Integration | Default File Manager | Scope?

If it is for the current user, show the settings of this registry item
HKEY_CURRENT_USER\Software\Classes\Directory\Shell\XYplorer\Command

If it is for all users, show this
HKEY_LOCAL_MACHINE\Software\Classes\Directory\Shell\XYplorer\Command

Additionally show the full path of where XYplorer is installed...

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 01:11
by elbitjusticiero
It worked before, and it stopped working in one of the most recent versions. The setting is for all users.

Another thing I noticed: if I close XYplorer and double click on the folder in JDownloader, it works. i.e. XYplorer is invoked and opens the folder I double-clicked.

And yet another thing: I know it's not a JDownloader issue because the same thing happens with the Opera browser, where clicking on a downloaded file's folder button ("Show in folder") stopped working as well.

The registry key shows the correct path for XYplorer: "C:\bin\file\XYplorer\XYplorer.exe" "%1".

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 02:27
by jupe
Is this setting enabled:

Configuration | General | Startup & Exit | Open command line start path in new tab

There was a change in 18.60.0011, that may have some influence, or did you notice the change more recently than that?

Code: Select all

* Tabs: Now a start path passed by command line will try to reuse any 
      existing tab that already points to that path. Unless "Configuration | 
      Startup & Exit | Open command line start path in new tab" is ticked, of 
      course.

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 03:25
by elbitjusticiero
Yes, that setting is enabled, too.

I wouldn't be able to say which version was the last where this was working properly, sorry.

The fact that closing XYplorer and invoking it from the other program while it's closed does work is pretty puzzling. I've done some additional testing and if I do it again once it's open, it works correctly.

What I mean is:

1. XYplorer is open --> try to open folder through JDownloader or Opera --> XYplorer is brought to front, nothing else happens
2. close XYplorer --> try to open folder through JDownloader or Opera --> XYplorer starts, new tab with requested folder opens
3. leave XYplorer open after step 2 --> try to open folder through JDownloader or Opera --> XYplorer is brought to front, new tab with requested folder opens

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 08:42
by admin
Works fine here.


After it failed with an open XYplorer, click this menu command:
Help | Various Information

Then look at this part of the information:

Code: Select all

Command Line: "D:\Temp"
Command Normalized: "D:\Temp"
CopyData: "D:\Software2014"
Post it here, please.

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 08:58
by elbitjusticiero
Ah... so wonderful:

Code: Select all

Command Line: 
Command Normalized: 
That's all I have... ¯\_(ツ)_/¯

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 09:10
by admin
Are you sure that this is ticked?

Configuration | Other | Shell Integration | Default File Manager | XYplorer is default file manager

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 09:14
by elbitjusticiero
Yes. Just checked again to make sure.

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 09:37
by admin
What happens when you double-click a folder on the Desktop, or when you open a folder in Windows File Explorer via right-click menu? Both should open in XYplorer.

Re: Calling XYplorer from external app stopped working

Posted: 12 Mar 2018 15:04
by elbitjusticiero
Same thing. Both procedures work as long as XYplorer wasn't already open.

Re: Calling XYplorer from external app stopped working

Posted: 13 Mar 2018 06:52
by elbitjusticiero
Another thing I noticed is that after trying to open a folder from Opera (maybe more than once), the procedure not only fails, but the XYplorer window keeps being brought to the front while I'm trying to work in other programs. The desired folder still doesn't open, though.

Do you think this means that XYplorer is being invoked too "slowly", whatever that means?

Another thing that might be worth mentioning is that I have UAC disabled, but a few days ago enabled it and then disabled it again. I honestly don't remember if this was before or after updating XYplorer, nor if it was before or after this bug started happening.

Re: Calling XYplorer from external app stopped working

Posted: 13 Mar 2018 08:10
by jupe
This isn't meant as a solution, but if you wanted, you could download older versions from here, if you indeed want to confirm it was caused by a recent version:

https://www.xyplorer.com/freezer.php

Re: Calling XYplorer from external app stopped working

Posted: 13 Mar 2018 09:01
by admin
admin wrote:Are you sure that this is ticked?

Configuration | Other | Shell Integration | Default File Manager | XYplorer is default file manager
Maybe that registry entry became stale for some reason. Try to untick it and then tick it again.

Re: Calling XYplorer from external app stopped working

Posted: 13 Mar 2018 09:07
by jupe
But if the entry was stale it wouldn't bring XY to the front would it?
elbitjusticiero wrote:1. XYplorer is open --> try to open folder through JDownloader or Opera --> XYplorer is brought to front, nothing else happens
2. close XYplorer --> try to open folder through JDownloader or Opera --> XYplorer starts, new tab with requested folder opens
3. leave XYplorer open after step 2 --> try to open folder through JDownloader or Opera --> XYplorer is brought to front, new tab with requested folder opens