1.5 Alpha opens new Total Commander windows instead of tab in existing one

Discussion related to "Everything" 1.5 Alpha.
Post Reply
thanksforeverything
Posts: 6
Joined: Wed Sep 02, 2015 7:52 pm

1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by thanksforeverything »

Up until Version 1.4.1.1005 (x64) adding these 3 lines in everything.ini

open_folder_command2=$exec("c:\totalcmd64\TOTALCMD64.EXE" /O /T /L="%1")
open_file_command2=$exec("c:\totalcmd64\TOTALCMD64.EXE" /O /T /L= "%1")
open_path_command2=$exec("c:\totalcmd64\TOTALCMD64.EXE" /O /T /L= "%1")

resulted in when double clicking on a file in results, opened a new tab in an open instance of Total Commander
which is the desired behavior for me.
In 1.5 alpha the same action (same 3 lines in Everything-1.5a.ini) however result in opening a new instance of Total Commander
every time.

Thanks
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by tuska »

Hi,

Everything.ini
alpha_instance=0

Reference: Disable 1.5a Instance
To use the Everything 1.4 SDK you will need to disable the "1.5a" instance.
This 1.5a instance will be removed when Everything 1.5 is ready for beta/release. ...
Sorry, I was wrong. Thanks to Horst.Epp!

See also:
- 13. SETTINGS: For 'Everything' in Total Commander & 'Everything' -> from 'Everything' Version 1.5
- CONTEXT MENU entries in 'Everything'
- How to make a full switch to 1.5?
Last edited by tuska on Fri Sep 03, 2021 5:13 pm, edited 1 time in total.
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by horst.epp »

There is no difference from version 1.4 to 1.5

The following are my entries and they open a new tab on the active side as they did with version 1.4.

open_folder_command2=$exec("C:\Tools\Wincmd\totalcmd64.exe" /o /t /s "%1")
open_path_command2=$exec("C:\Tools\Wincmd\totalcmd64.exe" /a /o /t /s "%1")
thanksforeverything
Posts: 6
Joined: Wed Sep 02, 2015 7:52 pm

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by thanksforeverything »

Thanks for the help.
Still not working for me.
For some reason there seems to be some different behavior between 1.4 and 1.5 in this respect.
I've copied the entries again and again but 1.5a still opens a new instance of total commander instead of a tab on the active panel of the existing instance.
Any further ideas would be very much appreciated.
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by void »

What is Everything executing?
  • In Everything, from the Tools menu, under the Debug submenu, check Console.
  • Open a folder.
  • What is shown in the Debug console?
To close the debug console:
  • In Everything, from the Tools menu, under the Debug submenu, uncheck Console.

$exec differences between Everything 1.5 and 1.4:
Everything 1.5:
Calls ShellExecute without an idlist
Converts really long paths to short paths.
Supports URLs and virtual paths

Everything 1.4:
Calls ShellExecute with an idlist.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by tuska »

2thanksforeverything

Which version exactly are you using? -> Menu "Help" - "About Everything..."
Currently, Everything 1.5.0.1273a from 27.08.2021 is the latest version.

One of the first versions still had this problem.
by NotNull » 13.03.2021 14:25 wrote:Also: As the /O option (re-use existing/running Total Commander) is not being passed along, a new TC instance will be started.
thanksforeverything
Posts: 6
Joined: Wed Sep 02, 2015 7:52 pm

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by thanksforeverything »

When opening folder "other" debug log shows

2021-09-04 13:11:15.229: selection: 1/1: C:\temp\image\screen_snapshots\other\other
2021-09-04 13:11:15.229: exec: first expr
2021-09-04 13:11:15.229: exec: command $exec("c:\totalcmd\TOTALCMD64.EXE" /o /t /s "%1")
2021-09-04 13:11:15.229: exec: fullfilename C:\temp\image\screen_snapshots\other\other
2021-09-04 13:11:15.230: exec: depth 0
2021-09-04 13:11:15.230: exec: exec "c:\totalcmd\TOTALCMD64.EXE" /o /t /s "%1")
2021-09-04 13:11:15.230: exec: depth 1
2021-09-04 13:11:15.230: exec: got "c:\totalcmd\TOTALCMD64.EXE" /o /t /s "C:\temp\image\screen_snapshots\other\other"
2021-09-04 13:11:15.230: exec: shellexecute (idlist) file:c:\totalcmd\TOTALCMD64.EXE param:/o /t /s "C:\temp\image\screen_snapshots\other\other"
2021-09-04 13:11:15.231: shellexecute invoke
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by void »

Thanks for the debug output.
shellexecute (idlist)
This is an older version of Everything.

Please try the latest Everything 1.5 alpha.
thanksforeverything
Posts: 6
Joined: Wed Sep 02, 2015 7:52 pm

Re: 1.5 Alpha opens new Total Commander windows instead of tab in existing one

Post by thanksforeverything »

This is an older version of Everything.

Please try the latest Everything 1.5 alpha.
Thank you!
Installed 1.5.0.1273a.x64 and it works fine now.
By mistake I had installed Version 1.5.0.1238a.x64 thinking it was the latest version.

Also it seems that TC tab is opening faster somehow? Maybe I'm just too excited.
Switching to 1.5a as my everyday version.

Thank you again.
Post Reply