I set "C:\" as my start path, and saved the config. Then, I checked the don't save tabs and don't save history options.
When I now launch a new XYplorer instance with a path on the command line, XYplorer opens and shows 2 tabs : one new tab for the specified path and one "empty" tab. When I click the empty tab, the view pane reads : "Currently not available". This also happens when I launch XPplorer with the same command line path as the start path in the ini file.
Build ...32 tabs bug
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
Last open tab.
I also think, that if 'don't save tabs' is checked, XYplorer should retain the old start path, instead of change it to the last tab that was open.
-
admin
- Site Admin
- Posts: 64915
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Last open tab.
Yep, the bug was there. Fixed now. Thanks!
EDIT: Then also an interface for stating/changing a permanent startpath would be necessary. Else how could you change the startpath?
I get the idea, but isn't it 2 different things that should be kept separated? Not sure yet...blackbit wrote:I also think, that if 'don't save tabs' is checked, XYplorer should retain the old start path, instead of change it to the last tab that was open.
EDIT: Then also an interface for stating/changing a permanent startpath would be necessary. Else how could you change the startpath?
That would be nice
That would be nice. Personally, I prefer my startpath to remain the same always. Depending on the project I'm working on, I can then change it at will...
-
admin
- Site Admin
- Posts: 64915
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: That would be nice
Maybe later.blackbit wrote:That would be nice. Personally, I prefer my startpath to remain the same always. Depending on the project I'm working on, I can then change it at will...
But as a workaround: why don't you simply always close the app without saving? Then you start always in the same way at the same location, until you explicitly "Save Configuration" at some other location which will then be the startpath.
Even better:
I'll try to explain it...
By default, when I double click a directory icon in Windows, I use XYplorer to open it (Windows Explorer crashes on me a lot due to some problem with TortoiseSVN or so). However, unless I double click my start-path folder, XYplorer always shows me 2 tabs... In fact, when I open a new instance, using a comand-line path, I'dd prefer that the command-line path would override the start path. That's the folder I'm interested in after all...
Think of XYplorer as an MDI application, like Word or Excel. You just use tabs instead of child windows. By default if I would start Word without any parameters, I would expect to see a 'new' document, based on my default template (would be the start folder in XYplorer). However, when I double-click on a word document, I want Word to immediately open that document, without creating a new one... The same would hold through for XYplorer.
You might even add an option, so that if you would start XYplorer using it's icon, or without a parameter, you would start with NO tabs at all...
The same applies to for example FireFox... By default : your home page. Firefox opended due to url request : no home page.
By default, when I double click a directory icon in Windows, I use XYplorer to open it (Windows Explorer crashes on me a lot due to some problem with TortoiseSVN or so). However, unless I double click my start-path folder, XYplorer always shows me 2 tabs... In fact, when I open a new instance, using a comand-line path, I'dd prefer that the command-line path would override the start path. That's the folder I'm interested in after all...
Think of XYplorer as an MDI application, like Word or Excel. You just use tabs instead of child windows. By default if I would start Word without any parameters, I would expect to see a 'new' document, based on my default template (would be the start folder in XYplorer). However, when I double-click on a word document, I want Word to immediately open that document, without creating a new one... The same would hold through for XYplorer.
You might even add an option, so that if you would start XYplorer using it's icon, or without a parameter, you would start with NO tabs at all...
The same applies to for example FireFox... By default : your home page. Firefox opended due to url request : no home page.
-
admin
- Site Admin
- Posts: 64915
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Even better:
As the "2-tab bug" is fixed (upload in a minute) I think it works just as you like it.
BTW, it was always the case that the command line path overwrites the old startpath. It just changed shortly due to some little bugs I'm just fixing right now...
BTW, it was always the case that the command line path overwrites the old startpath. It just changed shortly due to some little bugs I'm just fixing right now...
-
admin
- Site Admin
- Posts: 64915
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: OK.
Code: Select all
+ Here's what happens when you start XY with startpath in command
line, in wild man's code:
If any existing tab points to that path
select this tab
else
if 1st instance
if it is not locked AND
if "Open command line start path in new tab" is false
overwrite the current tab
else
create new tab
else [2nd instance]
create new tab
XYplorer Beta Club