XY opens multi instances while option is disabled

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

XY opens multi instances while option is disabled

Post by yusef88 »

↓
To see the attached files, you need to log into the forum.

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: XY opens multi instances while option is disabled

Post by Filehero »

Can't confirm over here with Win 8.1 Pro and 14.80.0236.

Standard reply: with ::fresh as well?

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: XY opens multi instances while option is disabled

Post by yusef88 »

well i'll check latest version

Code: Select all

You are running the BETA release 14.80.0224.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: XY opens multi instances while option is disabled

Post by yusef88 »

same thing with v14.80.0236 (i deleted old profile)

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: XY opens multi instances while option is disabled

Post by Filehero »

yusef88 wrote:same thing with v14.80.0236 (i deleted old profile)
How do you trigger the start of the 2nd/next instance?

klownboy
Posts: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: XY opens multi instances while option is disabled

Post by klownboy »

As Filehero asked, it really depends on how you obtained the 2nd instance. As stated in Help, the config setting is disregarded when you purposely open a new XY using the "/new" command line switch.
/new

Open a new instance regardless of any settings that would otherwise force any existing instance to be re-used.
XYplorer.exe /new
Ken

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: XY opens multi instances while option is disabled

Post by yusef88 »

from cmd and shortcut also " xy is portable"

Code: Select all

start Z:\portable\Xyplorer\XYplorer.exe
====================
after some tests:
with clean profile it opens one window , with my setting xy opens multi instances but i can't figure out where' the wrong
To see the attached files, you need to log into the forum.

Stef123

Re: XY opens multi instances while option is disabled

Post by Stef123 »

Same here. I start up portable XY with a launching tool that runs "..\XYplorer\XYplorer.exe" - no additional parameter. The launchbar application also has an option that tries to re-use an open instance. This works nicely for all my other tools, but not for XY. It always comes up with a new instance.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: XY opens multi instances while option is disabled

Post by PeterH »

Started by a launching tool...
...you are sure that it doesn't supply any parameter to XY?

In both executing XY: click Help/Various Information
Look for text after Command: and the next 2 lines.
If there's something: :roll:

Stef123

Re: XY opens multi instances while option is disabled

Post by Stef123 »

Nope. Nothing. It only says
Command:
CommandW:
Command Normalized:
In the launcher I have "..\XYplorer\XYplorer.exe" in the field "Command path" and all other fields empty (working directory, arguments) except for the Startup Mode. It's a dropdown and I selected "Normal" (instead of Maximized, Hidden etc.)

klownboy
Posts: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: XY opens multi instances while option is disabled

Post by klownboy »

Stef123, if I remember correctly you use PopSel as well. Though based on you statement about the launching syntax, that's not the one you are talking about. In any case, running XY from either PopSel or from AHK uses the existing instance of XY.

Stef123

Re: XY opens multi instances while option is disabled

Post by Stef123 »

klownboy wrote:Stef123, if I remember correctly you use PopSel
Yep, I dumped or rather supplemented my Qsel+PopSel combination with LaunchBar. My tools got too numerous which slowed down the portable startup, not to mention some other luxuries. Now that you mention it, I recall complaining about the multiple instances to the other developers because I blamed them. Time for an update, maybe it got fixed in the meantime. The XY forum is the only one I really keep up with. :oops:

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: XY opens multi instances while option is disabled

Post by yusef88 »

remodeling the problem
for better viewing http://www.xyplorer.com/xyfc/download/file.php?id=6918
To see the attached files, you need to log into the forum.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: XY opens multi instances while option is disabled

Post by TheQwerty »

Do you have a space on both sides of <app> in your title bar template?

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: XY opens multi instances while option is disabled

Post by yusef88 »

Yes and thanks because you identified the cause of the problem
with blow template xy launches multi windows

Code: Select all

<folder>    {<tabset> - <get userrole> <xydrive>} -<app>-<ver>
with no spaces also launches multi windows

Code: Select all

<folder>{<tabset>-<get userrole><xydrive>}-<app>-<ver>
with app only it launches single window

Code: Select all

<app>
To see the attached files, you need to log into the forum.

Post Reply