Calling XYplorer from external app stopped working

Things you’d like to miss in the future...
elbitjusticiero
Posts: 32
Joined: 11 Mar 2018 20:57

Calling XYplorer from external app stopped working

Post 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.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Calling XYplorer from external app stopped working

Post 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...
One of my scripts helped you out? Please donate via Paypal

elbitjusticiero
Posts: 32
Joined: 11 Mar 2018 20:57

Re: Calling XYplorer from external app stopped working

Post 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".

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

Re: Calling XYplorer from external app stopped working

Post 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.

elbitjusticiero
Posts: 32
Joined: 11 Mar 2018 20:57

Re: Calling XYplorer from external app stopped working

Post 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

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

Re: Calling XYplorer from external app stopped working

Post 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.

elbitjusticiero
Posts: 32
Joined: 11 Mar 2018 20:57

Re: Calling XYplorer from external app stopped working

Post by elbitjusticiero »

Ah... so wonderful:

Code: Select all

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

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

Re: Calling XYplorer from external app stopped working

Post by admin »

Are you sure that this is ticked?

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

elbitjusticiero
Posts: 32
Joined: 11 Mar 2018 20:57

Re: Calling XYplorer from external app stopped working

Post by elbitjusticiero »

Yes. Just checked again to make sure.

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

Re: Calling XYplorer from external app stopped working

Post 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.

elbitjusticiero
Posts: 32
Joined: 11 Mar 2018 20:57

Re: Calling XYplorer from external app stopped working

Post by elbitjusticiero »

Same thing. Both procedures work as long as XYplorer wasn't already open.

elbitjusticiero
Posts: 32
Joined: 11 Mar 2018 20:57

Re: Calling XYplorer from external app stopped working

Post 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.

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

Re: Calling XYplorer from external app stopped working

Post 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

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

Re: Calling XYplorer from external app stopped working

Post 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.

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

Re: Calling XYplorer from external app stopped working

Post 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

Post Reply