Skip to content

Upload file dialog: hidden files/folders are shown first #460

Closed

Description

@jancborchardt

Currently when I want to upload a file, the dialog shows the hidden files and folders before the other ones. This is very distracting since the hidden files

Four possible solutions:

  1. Don’t show hidden folders or files (I don’t think that’s good because you might want to upload them)
  2. Have a switch to show hidden files (Might be good, but a bit more work and it would be a prominent switch.)
  3. Sort hidden files and folders after normal files and folders (Not very elegant and just shifts the problem)
  4. Sort hdiden files and folders among normal files and folders, alphabetically. Basically just omit the dot when sorting.

I think option 4 is the most elegant and easy one. What do you think @rperezb @davivel?

Activity

  1. davivel commented on Apr 11, 2014

    @davivel
    Contributor

    Well, I agree that 1, 2 are 2 are not nice solutions :) .

    We could try 4. Personally, I have no problem with hidden files being shown at first, since that's what I expect after years of 'ls -a'. But that can easily be a biased opinion.

  2. jancborchardt commented on Apr 11, 2014

    @jancborchardt
    ContributorAuthor

    Well if you ask ownCloud users, only the minority will probably know about ls -a (or hidden files, for that matter). ;)

  3. tobiasKaminsky commented on Aug 23, 2015

    @tobiasKaminsky
    Contributor

    How does popular file browser (dolphin, gnome(?), mac, windows, ...) handle this?

  4. jancborchardt commented on Aug 24, 2015

    @jancborchardt
    ContributorAuthor

    They do not show hidden files. They do have a setting for showing them, but Dropbox etc don’t do that. So the minimum fix here is to just hide hidden files.

  5. tobiasKaminsky commented on Aug 25, 2015

    @tobiasKaminsky
    Contributor

    Hm.
    I think this is an additional feature (Shall I create one?). But when the files are shown, we should decide how to show them.
    For me it is acceptable that they are shown first.

  6. jancborchardt commented on Aug 25, 2015

    @jancborchardt
    ContributorAuthor

    Well, I think it’s a bug that hidden files are shown. ;) Having a means to show them would then be a new feature.

    And if they are shown, they should be shown alphabetically in the flow. That is, the dot in front should be ignored for sorting.

  7. tobiasKaminsky commented on Aug 25, 2015

    @tobiasKaminsky
    Contributor

    Hiding hidden files should be done in every file view?

    • uploader
    • local file browse
    • owncloud file browse
  8. jancborchardt commented on Aug 25, 2015

    @jancborchardt
    ContributorAuthor

    Yes please :)

  9. tobiasKaminsky commented on Aug 25, 2015

    @tobiasKaminsky
    Contributor

    Closing in favour of
    #1115 (toggle view, sort alphbetically)
    #1116 (hide)

  10. added a commit that references this issue on Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions