Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File list footer info displays the info about hidden file even when the show hidden file option is disabled #9036

Closed
SwikritiT opened this issue May 15, 2023 · 3 comments · Fixed by #10907
Assignees
Labels
Interaction:Needs-Concept Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@SwikritiT
Copy link
Contributor

Steps to reproduce

  1. Create a folder newFolder
  2. Create a hidden file .hidden.txt
  3. make sure that the show hidden files option is disabled

Expected behaviour

The footer should only say that there's one folder as only one folder is actually visible. Something like 1 item in total (0 files, 1 folder)

Actual behaviour

The info about the hidden file is also displayed

Screenshot from 2023-05-15 14-41-31

Screenshot from 2023-05-15 14-42-46

Environment general

Operating system: Ubuntu 22.04.2 LTS

Backend (ownCloud Core or Infinite Scale): tested with OCIS but the bug exists in both

Environment ownCloud Infinite Scale

Version: 3.0.0-rc.3+08797f705

@SwikritiT SwikritiT added Type:Bug Something isn't working Priority:p4-low Low priority labels May 15, 2023
@kulmann
Copy link
Contributor

kulmann commented May 15, 2023

@tbsbdr do you agree with the expected behaviour? I do.

@kulmann kulmann added Priority:p3-medium Normal priority and removed Priority:p4-low Low priority labels May 15, 2023
@JammingBen
Copy link
Contributor

How do we handle the displayed folder size such case? Only show the size of the displayed items? While this would be doable when being inside a folder (because we calculate the folder size by accumulating all items inside), the size for a folder being returned from the server always includes hidden files. Hence we might get different folder sizes.

@SwikritiT
Copy link
Contributor Author

I don't know if this will be of any help but the classic UI displays the information about hidden file like so

Screenshot from 2023-06-12 09-30-36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interaction:Needs-Concept Priority:p3-medium Normal priority Type:Bug Something isn't working
Projects
Archived in project
Status: Blocked
Development

Successfully merging a pull request may close this issue.

4 participants