Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category User Interface
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by idak - 2011-12-23
Last edited by nls - 2012-03-03

FS#12479 - Hide empty directories if dircache is enabled

This patch adds support for hiding empty directories if dircache is enabled.
Known issue: Empty directories are displayed until dircache is initialized

All comments are welcome.

Closed by  nls
2012-03-03 11:42
Reason for closing:  Out of Date
Additional comments about closing:  

moved to
http://gerrit.rockbox.org /r/#/c/151/

If I create a directory, it remains visible until Rockbox or dircache is restarted. As a result, if I want to create a directory and move some stuff into it, I don't have to show all files. One could call this a bug, but for me, it's more like a useful feature. I sometimes rearrange music like that, and I prefer not having to show all files to do it.

Admin
fg commented on 2011-12-23 19:43

To be honest, if you don't want to see a directory, why is it there? And if it's there because of e.g. the OF, why didn't you just set it to hidden?

I'm with Frank here – I don't see much point in hiding empty directories. Instead a patch to allow setting the hidden flag on files / folders might be a nice / useful thing.

idak commented on 2011-12-24 15:12

Than you for comments.

The above patch is my first step.
Second step, I'm planning to filter out non-visible direcories.
For example, if I select SHOW_PLAYLIST, then filetree filters out directories not including *.m3uX.
Any objection? ;)

# I think setting the hidden flag is also needed. Because none of the linux GUI file managers can set the hidden flag for vfat.
# Only mtools which is very old school can do it.

idak commented on 2011-12-25 09:00

This is v2 patch which supports filtering out non-visible directories.

All comments are welcome.

idak commented on 2011-12-26 12:26

Fix for dircache disabled

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing