Flat view - hidden files&folders

Is there a way to hide (not display) hidden folders, hidden files and files in hidden folders in flat view?
Especially: don't display files from hidden folders (eg. ".svn") in flat view.

Either:

  • Temporary: Push * to open the Filter Bar, then turn on Filter folders in Flat view.

  • Permanent: Turn on Preferences / Miscellaneous / Advanced: flatview_folder_filters.

If you do the 2nd thing, you may need to close & re-open your Opus window(s) for it to take effect.

Neither works for me...

I set option you mentioned to true exited Opus from tray icon and ran it again.
Then used this button:

@toggle disable Set FLATVIEW=On,MixedNoFolders Set VIEW=Details

Then tried to use "filter bar" -> "activation key" (dot for me) or "find as you type" -> "filter" (slash) and type * but no results (even though "filter folders in flat view is turned on).

But it displays files from ".svn", which is hidden.

Opus version: 10.0.3.3
Windows 7

You don't need to type * into the filter (although it shouldn't hurt); just need to activate the filterbar so you can see the checkbox.

If the checkbox is on but hidden folders are still shown, then you probably don't have Opus set to hide hidden items in the first place. There's a toggle for that in the default Folder Options menu, near the top-right of the default toolbars.

Ok, now I know what's wrong. I don't use GLOBALHIDEHIDDEN. I use hide filter so I can make hidden files visible automatically on usb drives.
Is there any way to avoid using GLOBALHIDEHIDDEN?

Once the Filter-Bar checkbox (or the Prefs/Advanced settings) are on, Flat View should use exactly the same filters as any other window, so you can filter out hidden files in exactly the same way as you do now (presumably via the Folder Options -> Filter tab).

Note that turning on Flat View may change the folder format (to the Default / Flat View format in Prefs, Folders, Folder Formats), so you might want to use the Folder Options dialog after turning on Flat View and not before, just in case that's the problem.

Sometimes it works, but I think there might be some bugs.

I have "hide hidden files" disabled in "folder display" in preferences.
My default format hides hidden files



Flat view format doesn't override it.

Steps:

  1. Choose flat view mixed (no folders)
    I can see files in hidden folders (wrong behavior)
  2. Hit apt button to shop filter bar, uncheck "filter folders in flatview" (default is checked) and check it again
    Still see files in hidden folders (still wrong)
  3. Change to flat view mixed
    I can see hidden folders and files in hidden folders (still wrong)
  4. Hit apt button to shop filter bar, uncheck "filter folders in flatview" (default is checked) and check it again
    Hidden folders and files in hidden folders disappears! (correct)
  5. Change to flat view mixed (no folders)
    Still correct.

Anyone can confirm?

The Opus Help description of FLAT mode does not say anything about the treatment of hidden folders but testing shows a difference in the way H attributes are handled in NORMAL and FLAT modes.

In the screen grab below the same folder structure is shown in both FLAT (Mixed) mode [on top with grey background] and NORMAL mode. With the default format set to hide files with the H attribute set, both H-files and H-folders are hidden. However, in FLAT mode with no filter override, H-files are hidden but H-folders (and visible files within H-folders) are not. Given that H-folders are displayed in FLAT mode I suppose it makes sense to also display files within the H-folder that are not hidden.


Maybe there is a case for an Advanced option to control the treatment of H-folders and H-folder contents in FLAT mode.

Regards, AB

It's nothing to do with the H attribute, it's simply that folders are (by default) unaffected by filters when in Flat View.

In the second post in this thread Leo explained how to change that if you want.

Thanks Jon. Always pays to read the whole thread carefully! :blush:

Regards, AB

Compare steps 1 and 5 in my post above. The same configuration of flat view and hide attributes causes Opus to display hidden files and folders in step 1, but hide in step 5. How can this get explained?

The temporary option on the Filter Bar only affects the filter that you set with the Filter Bar; the filter set through Folder Options is only applied to folders if the advanced option is set.

something strange still happens ;
in a folder with a .git directory ,
in the status bar, the 'h!' directive applied to hidden / show everything
is not consistent
eitheir if we start in "hidden" mode vs if we start in "show everything" mode


if we enter in the folder in "show everything" mode , and activate flatview
the subfolders of .git folder are displayed but can be hidden since the status part is clickable

conversely. if we enter in the folder in "hidden" mode , and activate flatview, the subfolders of .git folder are displayed but cannot be hidden since the status part is not displayed (and not clickable!)

--
my current hack is to remove the h! directive in the status bar like this

// ...
// Hidden item count, or "Everything" indicator when in Show Everything mode:
<#%error_text><b>{hi} hidden</b></#>
<#%ok_text><b>{hse}</b></#>
// ...

the display is a bit more awkard (i prefer the original form) , but one can still hide .git and its subfolders

BTW my flatview_folder_filters is already true

We've made some changes for the next beta, please let us know how you get on.

1 Like

Thanks for your feedback
I do not want to install hazardous sw on our network.
and do not hav enough time to evaluate beta now thru any kind of vm

Thanks anyway. will try to catch up on the long run