ios icon indicating copy to clipboard operation
ios copied to clipboard

longer filenames not readable as these are truncated "in the middle"

Open ferdiga opened this issue 1 year ago • 2 comments

Steps to reproduce

  1. create many files with similar filenames
  2. in Portrait mode very often essential parts are truncated and replaced by dots - mostly not usable.
  3. in Landscape mode the filenames are better readable, but only 3 at a time, a lot of scrolling is necessary.

Expected behaviour

more efficient use of available space

  • smaller letters (configurable)
  • wrapping instead of truncate
  • don't display the file extension as the icon says it all (mostly)

Actual behaviour

Tell was what instead happens.

Screenshots

2024-04-24 14-39-02-0 2024-04-24 14-39-39-0

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed/implemented?

Environment data

iOS version: e.g. iOS 17.4.1

Nextcloud iOS app version: 5.2.7.0

Server operating system:

Web server: Apache, nginx

Database:

PHP version:

Nextcloud version: see Nextcloud admin page

ferdiga avatar Apr 24 '24 12:04 ferdiga

Hey @ferdiga, thanks for reaching out for your query. Considering that Nextcloud app follows the same rules and style as the iOS Files App in this regard, this is required so as:

  1. The user should have clear idea of extension of file.
  2. We also needs & have to see the initial words of the file name.
  3. Lastly, some chars are also required to be visible before file extension, because they give clear idea regarding the number of files when it has different copies. Eg: file....21.pdf, file....22.pdf, file....23.pdf, etc.
  4. Changing the font size accordingly can cause really bad UI and in edge cases really small font.

iOS Files screenshot for reference. | Nextcloud app

WhatsApp Image 2024-04-27 at 2 00 28 PM WhatsApp Image 2024-04-27 at 2 03 45 PM

adityagi02 avatar Apr 27 '24 08:04 adityagi02

Thanks for your explanation Nextcloud needs space for share and "..." reducing the apace and letters available for the filenames by approximately 10 or more I guess, compared to "Files" Nevertheless I would suggest to wrap the filename if possible or "scroll" all shortened filenames as done pressing Info + Details (Option "List/Icons/List+Scroll")

ferdiga avatar Apr 27 '24 21:04 ferdiga