Hide folders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Stretto
Posts: 108
Joined: 30 Jan 2012 06:43

Hide folders

Post by Stretto »

Is is possible to hide folders?

I do not ever want to see the recycle bin folder or the system volume information folder.

highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Hide folders

Post by highend »

View - Show Items - Show Hidden Files and Folders
View - Show Items - Show System Files and Folders
One of my scripts helped you out? Please donate via Paypal

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Hide folders

Post by j_c_hallgren »

Stretto wrote:Is is possible to hide folders?

I do not ever want to see the recycle bin folder or the system volume information folder.
As highend said, you can do so but it's globally only...you can't do it for specific folders only.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Re: Hide folders

Post by admin »

See also Config / General / Items in Tree and List.

Stretto
Posts: 108
Joined: 30 Jan 2012 06:43

Re: Hide folders

Post by Stretto »

None of these are acceptable. I do not want to hide all hidden folders but just specific ones. The configuration says not to show recycle bin and it doesn't. The recycle bin I'm seeing is $Recycle.Bin... I Also see Config.Msi which is useless to see and clutters up the tree.

It should be quite easy to add the ability to hide specific folders.

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

Re: Hide folders

Post by TheQwerty »

Stretto wrote:It should be quite easy to add the ability to hide specific folders.
Delete them. :twisted:
  • If a user hides a folder should it be hidden from the tree and the list?
  • Once it is hidden what should happen should the user attempt to navigate to it through other means (Go > Go to; address bar; favorites)?
  • If the user selects and deletes/copies/moves all items which are siblings of the hidden item should XY remind them about these hidden items?
  • What if items within a hidden folder match the user's current search terms?
  • Likewise what happens in branch view?
  • How does a user unhide a folder?
It might be easy to add the feature but there's a number of questions that need answers before it becomes a good one.

eil
Posts: 1875
Joined: 13 Jan 2011 19:44

Re: Hide folders

Post by eil »

i used to ask for quite same "hide folders"-feature in past. my idea was to make such places accessible only by AB direct path input(so only the one who hided it, knew "where to search"), any other access would be forbidden and path would be expeled from search, BV etc.
all that should have being provided by admin-file. :roll:

there is no need in any notification -the path is hidden and nothing should give it away. yet again, some time ago, i proposed to add "watch" function for tagged items, that would notify if delete/copy/move occurs over tagged item, or there are any in subs. that could be used to preserve important items from unintentional "malicious" operations. :wink:
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Hide folders

Post by TheQwerty »

eil wrote:there is no need in any notification -the path is hidden and nothing should give it away.
So you view hide folders as a security/privacy measure?

I think it would be more desirable as a means to clean up the tree/list/etc. of items the user typically doesn't use or rarely needs.

One possible solution is for XY to have a Global Inverted Visual Filter which would also be applied to the tree.
When populated this would automatically enable Persistent Visual Filters, and filter out those items.

The items could still be navigated but would be hidden from all (normal/find/branch) views.

There would be no notification when doing a select all > file op. but there would be a "notification" similar to today's VF (# items of #) or another means (new status bar icon?) for the user to identify at a glance that something is hidden - at least as an option.

This could be managed with either a new Category within the Configuration or added to List Management.


From there, Don would have the groundwork to then expand it such that there could be additional paths defined in Admin.ini and the option to not alert the user about these or allow them to be modified.


It's a thought.


I should have stated this in my previous post but let me make it clear now:
I'm not at all against the idea of hiding items, but I find it offensive when it's claimed that a vague wish would be easy to implement.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Hide folders

Post by j_c_hallgren »

TheQwerty wrote:I think it would be more desirable as a means to clean up the tree/list/etc. of items the user typically doesn't use or rarely needs.
I think that was the OP's issue but the folders he didn't want to see are those types that I like to see always so it's a individual preference
I'm not at all against the idea of hiding items, but I find it offensive when it's claimed that a vague wish would be easy to implement.
Fully agree! We almost always have NO idea as how simple or complex a given wish is for Don...sometimes the simplest wishes are hardest to code and the reverse even happens on occasion.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

grindax

Re: Hide folders

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 22:34, edited 1 time in total.

Stretto
Posts: 108
Joined: 30 Jan 2012 06:43

Re: Hide folders

Post by Stretto »

You find it offensive that a "vague" claim is easy to implement?

lol.. Seriously?

Why is it easy to implement? I've have 20+ years of programming experience from low level hardware and embedded stuff up to newer stuff like .NET wpf, etc.

I find it offensive that a non-programmer would judge others who make claims about programming. How can you know if it is easy or not if you do not have any experience?

Why is it easy? Because When the tree view is displayed it must enumerate over each and every folder to list. This is obvious and any programmer will know this. It usually involves just a few lines of code. To hide a folder from *view* one simply has to skip over that item in the enumeration. A check must be done to know if it is to be shown or not. This is where any real work will be needed as some type of user interface must be created. It could simply be a specific text file with the folders in it to something more advanced.

Obviously when you don't understand something it seems complex... but to claim that it *IS* complex is quite offensive... or, rather, arrogant. Only arrogance can make you think you have a clue about something you've never worked with.

Now, am I saying that it will be easy to implement? Not really... cause obviously there are many ways to do it and some are more complex than others. But it is an easy programming task that any third rate programmer can accomplish. It is not trying to come up with a new algorithm to solve some new integrodifferential unified field theory.

Seeing that Don is pretty active and up to date on his code I have no doubt he can handle it. If I were you I would apologize for implying that he isn't capable of it.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Hide folders

Post by j_c_hallgren »

Stretto wrote:You find it offensive that a "vague" claim is easy to implement?
lol.. Seriously?

Why is it easy to implement? I've have 20+ years of programming experience from low level hardware and embedded stuff up to newer stuff like .NET wpf, etc.
I find it offensive that a non-programmer would judge others who make claims about programming. How can you know if it is easy or not if you do not have any experience?
Yes, because while the basic task may be easy to do, the ripple effects on other functions can make it not so...like the list that TheQwerty mentioned.

{Rant mode=on}

Ok..you have 20+ yrs programming...yea, so you don't think some of us have any? :evil:

I began programming in 1975 (maybe before you were born?) and did it as career for 25+ yrs until I retired in 2001...did some in assembly and machine code on both home systems (pre-PC) and large systems, but most was in COBOL...while I don't have much modern language exp (I've done a bit of Perl), you can't say that we don't understand!! As one of my for-fun projects back in the late 1970's, I disassembled and commented the entire TRS-DOS operating sys so that I could make custom improvement patches for it, some of which were distributed worldwide...maybe not relevant to this, but just to show that I'm just NOT a user of PC's.

I don't want to make a big deal of this but as a relative newcomer in this forum, while we value your contributions and want you to add to XY via same, you also need to know that some of us have "worked" with Don for years so have some idea of his capabilities, ok? So diss'ng us XY veterans isn't a good way to make friends here.
Why is it easy? Because When the tree view is displayed it must enumerate over each and every folder to list. This is obvious and any programmer will know this. It usually involves just a few lines of code. To hide a folder from *view* one simply has to skip over that item in the enumeration. A check must be done to know if it is to be shown or not. This is where any real work will be needed as some type of user interface must be created. It could simply be a specific text file with the folders in it to something more advanced.
Agree that may be easy but as above, the other effects are the issue.
Obviously when you don't understand something it seems complex... but to claim that it *IS* complex is quite offensive... or, rather, arrogant. Only arrogance can make you think you have a clue about something you've never worked with.
Sorry, but as NEITHER one of us has seen the XY code...you're thus just as clueless about it as we are and the same arrogance claim applies to you...All I know is that Don has said that it's about 200K lines of code, I believe.
Now, am I saying that it will be easy to implement? Not really... cause obviously there are many ways to do it and some are more complex than others. But it is an easy programming task that any third rate programmer can accomplish. It is not trying to come up with a new algorithm to solve some new integrodifferential unified field theory.
Nobody here said it couldn't be done by Don...we just said it wasn't as simple as adding a tweak for some obscure setting because of the ramifications.
Seeing that Don is pretty active and up to date on his code I have no doubt he can handle it. If I were you I would apologize for implying that he isn't capable of it.
Repeating: We NEVER said Don couldn't do it! We just said implementing a vaguely defined wish may not be as easy as it first appears because of the impacts on other functions/features. Thus, I think it's you that needs to apologize to a couple of us who have been offended by your comments in this recent post...you have no ideas of what skills or experience we have so to make claims that you're so superior is quite insulting...am really sorry to be taking such a hard line but look at it from our POV, not yours as a relative XY forum newcomer...thanks.
{Rant mode=off}
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Re: Hide folders

Post by TheQwerty »

If I've ever offended anyone, please PM me and I will attempt to make amends.
/off-topic

To reiterate...

Global Inverted Visual Filter:
  • Enables Persistent Visual Filter.
  • Hides all matching items from tree and all list views.
  • Hidden items would still be navigable via various existing "Go to" methods.
  • In line with previous bullet, using the item as a source would still allow search/branch view.
  • No notification when user may have meant to include hidden items in file ops.
  • An option for visible notification that there are hidden items in list. (ie "# items of #", status icon, toolbar button, or tab icon overlay.)
  • List is managed in either new Configuration category or List Management list.
  • Possibly extend to allow adding to list in admin.ini. These would be read-only to user.
Thoughts?

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

Re: Hide folders

Post by admin »

Please save your energy everybody and don't discuss this further. I'm not planning to do this. It's a can of worms and infinite troubles.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Hide folders

Post by aurumdigitus »

j_c_hallgren wrote:...Don has said that it's about 200K lines of code
Have been wondering for a long time how many SLOC's there were "behind the curtain". :)

Post Reply