server icon indicating copy to clipboard operation
server copied to clipboard

File numbering in case of different upper/lower case letters

Open wizzardking opened this issue 1 year ago • 1 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

If a file is sent in Talk where the filename already exists, a "(1)" is appended to the filename. But this logic requires that the upper and lower case is identical.

So it is possible that in the Talk folder there is a file "1.jpg" as well as a "1.JPG".

With Linux based systems this is no problem. On Windows systems, however, I have to regularly clean up the Talk folder for all users so that the NextCloud desktop client no longer issues error messages because of this.

It would therefore be useful if it would take into account the WIndows machines here and also add a (1) to the file name if the files differ in case.

Steps to reproduce

  1. Send a File with filename "1.jpg"
  2. Send another File with filename "1.JPG"
  3. Wait until the Windows desktop client tries to synchronize the Talk folder - which will throw an error message.

Expected behaviour

The second sent file should be saved in Talk folder as "1 (1).JPG", because it already has a file with identical filename (for windows systems)

Actual behaviour

The second sent file will be saved as "1.JPG", because it theoreticaly has an other filename as the first file - but it will result in a sync error on Windows Desktop Clients.

Talk app

Talk app version: 14.0.3

Custom Signaling server configured: no

Custom TURN server configured: no

Custom STUN server configured: no

Browser

Microphone available: yes

Camera available: yes

Operating system: Windows

Browser name: Chrome

Browser version: 103

Server configuration

Operating system: Ubuntu

Web server: Nginx

Database: MySQL

PHP version: 8.1

Nextcloud Version: 24.0.3

List of activated apps:

wizzardking avatar Aug 08 '22 13:08 wizzardking

While this is fully correct and I understand the trouble, it's outside of the scope of Nextcloud Talk. The files app itself allows creating such files next to each other without adding the (1) or showing a conflict or anything.

nickvergessen avatar Aug 08 '22 13:08 nickvergessen

Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you!

My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!

If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+

szaimen avatar Jan 23 '23 15:01 szaimen