Flat view: why filter files only?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Flat view: why filter files only?

Post by TheQwerty »

v10.50.0028 - 2011-11-18 12:39
* Flat View: On a mixed Flat View (i.e. /:flat = showing files and
folders), any Visual Filters or Name Search patterns from now on
only apply to files, not to folders. In other words, all folders
always pass any filters.
I don't get the point of this, at least not as it pertains to visual filters.
It was previously possible to use "\" in your filter to include (and "!\" to exclude) folders, so prior to 10.50.0028 the user could choose how the filter should work.

What's the justification for changing the behavior in flat view?

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

Re: Flat view: why filter files only?

Post by admin »

The point is that you normally (IMO) don't want to filter your folders away, just the contents.

If you don't need the folders use /:flatfiles as Flat View.

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

Re: Flat view: why filter files only?

Post by TheQwerty »

I just don't see a point in carving out special exceptions in how visual filters work just for the flat view.

You've broken the ability to filter folders, because you want the default filter of "pattern" to act the way "\|pattern" already did. Only now there's no way to get the pre-10.50.0028 behavior of "pattern" back. :roll:

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

Re: Flat view: why filter files only?

Post by admin »

TheQwerty wrote:I just don't see a point in carving out special exceptions in how visual filters work just for the flat view.

You've broken the ability to filter folders, because you want the default filter of "pattern" to act the way "\|pattern" already did. Only now there's no way to get the pre-10.50.0028 behavior of "pattern" back. :roll:
Yes, but who needs the older behavior? I have the impression that especially this feature was highly welcomed (apart from you). Why would you want to apply a filter to folders in a mixed flat view?

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

Re: Flat view: why filter files only?

Post by TheQwerty »

admin wrote:Yes, but who needs the older behavior?
Well who needs the new behavior? Again, you've removed the ability for the user to do either, just to change the default behavior. :roll: Oh well, you're clearly sold on this and on this Monday I don't have the energy to persuade you otherwise.
Help > Flat View wrote:?a* /:flat = show only items beginning with a* in FV
At least document the special cases correctly. "show only files beginning with a* in FV"

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

Re: Flat view: why filter files only?

Post by TheQwerty »

May as well pile it on here: Persistent Flat View is not very persistent when the tree is locked.

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

Re: Flat view: why filter files only?

Post by admin »

TheQwerty wrote:
admin wrote:Yes, but who needs the older behavior?
Well who needs the new behavior? Again, you've removed the ability for the user to do either, just to change the default behavior. :roll: Oh well, you're clearly sold on this and on this Monday I don't have the energy to persuade you otherwise.
Help > Flat View wrote:?a* /:flat = show only items beginning with a* in FV
At least document the special cases correctly. "show only files beginning with a* in FV"
I need the new behavior! I cannot understand how one cannot see the greatness of it. :?

BTW, I did not take anything away from you. Flat View is a brand-new feature that was added to the app. If you don't like don't use it. :wink:

Thanks for the Help tip.

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

Re: Flat view: why filter files only?

Post by admin »

TheQwerty wrote:May as well pile it on here: Persistent Flat View is not very persistent when the tree is locked.
Works fine here. :? What do you mean?

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

Re: Flat view: why filter files only?

Post by TheQwerty »

admin wrote:BTW, I did not take anything away from you. Flat View is a brand-new feature that was added to the app. If you don't like don't use it. :wink: .
You took away how Visual Filters have worked for a very long time, because you wanted the ability to type "pattern" instead of "\|pattern". Furthermore, in doing so you've made it impossible to actually filter both files and folders using "pattern", which was the behavior for years. That this only applies when Flat View is enabled doesn't really matter - what matters here is you have changed how Visual Filters, a long existing feature, works under certain cases that will not be immediately understood by the user, unless they read the three sentences in help. Anyone familiar with how Visual Filters works is going to be confused and disappointed when it no longer functions as expected in Flat View.
admin wrote:Works fine here. :? What do you mean?
From fresh copy of XY:
1) Check View -> Lock Tree
2) Go to "<xydata>? /:flat"
3) Enable Persistent Flat View Across Folders ( :evil: Where's the scripting command?)
4) Double click on a folder such as Panes.

EDIT: Clarity.

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

Re: Flat view: why filter files only?

Post by admin »

1. Must be a Monday thing.

2. Yes, confirmed. Fix comes.

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

Re: Flat view: why filter files only?

Post by admin »

Give me one good reason to apply the same filter to folders and files in a tree and I make it configurable.

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

Re: Flat view: why filter files only?

Post by TheQwerty »

admin wrote:Give me one good reason to apply the same filter to folders and files in a tree and I make it configurable.
Consistency with the long-time existing behavior which is present EVERYWHERE else visual filters can be applied.

To leave the choice of what the filter applies to entirely up to the user, instead of changing the default on a whim.

Frankly, I think you've reversed the question and there is no good reason to carve out this exception to the long-standing behavior, especially when the new behavior was already available ("\|pattern").

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

Re: Flat view: why filter files only?

Post by admin »

TheQwerty wrote:
admin wrote:Give me one good reason to apply the same filter to folders and files in a tree and I make it configurable.
Consistency with the long-time existing behavior which is present EVERYWHERE else visual filters can be applied.

To leave the choice of what the filter applies to entirely up to the user, instead of changing the default on a whim.

Frankly, I think you've reversed the question and there is no good reason to carve out this exception to the long-standing behavior, especially when the new behavior was already available ("\|pattern").
Hm, disappointing. I thought you come up with something better. :( I already added "Let folders pass all filters" as new option, but if this is all you can think up I will take it away. Your "...on a whim" is outright ridiculuous; apparently you have not understood the feature. Well, it's Monday.

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

Re: Flat view: why filter files only?

Post by admin »

OK, I decided to leave the new option "Let folders pass all filters" in the app. It gives me a good opportunity to promote the new revolutionary Filtered Tree concept.

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

Re: Flat view: why filter files only?

Post by TheQwerty »

EDIT: Thought better of my reply...Thank you for the option to use the old and better behavior! ;)

Post Reply