Page 1 of 1

Quick Search performed on current Tree vs Tab location?

Posted: 21 Jun 2014 15:02
by Alex
Hello,

I have version 14.20.0200

First of all, congrats for this amazing apps! I am deeply impressed by the power and flexibility of XYplorer, I had no concept about what a file management tool could offer before!... I am planning to try how I could use it as a Project Management environment, but I am only scratching the surface for now so I am not there yet...

Thus, also, I am not 100% sure if this is a bug or a normal behavior:

When I have several tabs open to different locations and perform some Quick Searches in the various tabs, the Quick Search changes the location of the active tab to the location of the previous tab. Actually I noticed that when I change tab, the Tree does not change focus and becomes gray and the Quick Search is in fact perform in the current tab, but in the location associated with the Tree. And so if I manually re-focus the Tree to the location of the tab I am in, the "unexpected" switch of location when calling Quick Search does not happen.

Is this behavior on purpose?

Thanks!

Re: Quick Search performed on current Tree vs Tab location?

Posted: 21 Jun 2014 15:22
by admin
Hi and welcome!
Alex wrote:Thus, also, I am not 100% sure if this is a bug or a normal behavior:

When I have several tabs open to different locations and perform some Quick Searches in the various tabs, the Quick Search changes the location of the active tab to the location of the previous tab. Actually I noticed that when I change tab, the Tree does not change focus and becomes gray and the Quick Search is in fact perform in the current tab, but in the location associated with the Tree. And so if I manually re-focus the Tree to the location of the tab I am in, the "unexpected" switch of location when calling Quick Search does not happen.

Is this behavior on purpose?
Depends. :) Each search tab stores the tree location it was at when the search was started. When you select the tab, the tree will be set to that location. If this location is different from the searched location (this can happen when you had entered the search path together with the search, e.g. "C:\?.txt" instead of just "?*.txt"), the tree will turn grey.

This behavior has been like this for many years. I don't think it has ever been discussed here in the forum. I would understand if a user would expect to set the tree always to the searched location so that the tree is in sync with the list.

Don

Re: Quick Search performed on current Tree vs Tab location?

Posted: 21 Jun 2014 16:22
by Alex
Thanks for the quick reply.

I understand what you mean but it doesn't seem to be what I see.
Let me explain:

Let say I have 2 tabs open:
C:\
E:\
If I go to the 1st tab and perform a Quick Search (F3):
a* /n
then I go to the 2nd tab and do nothing, then go back to the 1st tab, the tree will be gray, and if I toggle from here the Quick Search (Ctrl+Shift+F3) the 1st tab points then to E:\

How to understand this result?

Thanks

Re: Quick Search performed on current Tree vs Tab location?

Posted: 21 Jun 2014 17:24
by admin
OK, I've seen it. This is definitely a bug. Very interesting, thank you! Cannot do anything before the German game, (and probably even less after the game :beer: ), but you will see a fix tomorrow.

Re: Quick Search performed on current Tree vs Tab location?

Posted: 21 Jun 2014 18:52
by Alex
Ok, thank you! Enjoy the game! Go Germany (for now!) ;) :beer:

Re: Quick Search performed on current Tree vs Tab location?

Posted: 22 Jun 2014 09:50
by admin
OK, it's not so much a bug, but rather unexpected behavior due to an unexpected setting. The following option is OFF by factory default:

Configuration | Find Files & Branch View | Find Files | Synchronize tree with search location

Frankly, I don't see much use in having this OFF, and I wonder why the option exists at all (probably for backward compatibility with rather early states of XY).

For now I will turn it ON by factory default.

Later I will consider removing the option.

Re: Quick Search performed on current Tree vs Tab location?

Posted: 22 Jun 2014 10:56
by Alex
Indeed, turning on this setting resolves the issue, thanks!