Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Propose error-avoiding filename on new file creation #7539

Closed

Description

@hurradieweltgehtunter

Steps to reproduce

  1. Click on button New -> text file
  2. Do not alter proposed filename ("New file.txt")
  3. Hit "Create"
  4. Click again on button New -> text file

Expected behaviour

The current behaviour is not wrong but the user experience could be improved if the proposed filename would be "New file(2).txt" thus avoiding displaying an error.

Actual behaviour

Error message shows "New file.txt already exists"

grafik

Environment general

Operating system: https://ocis.ocis-wopi.latest.owncloud.works

Activity

  1. kulmann commented on Aug 29, 2022

    @kulmann
    Contributor

    Good idea! We have the same logic anyway when the user chose "keep both" in a copy/move conflict situation. Could be reused here.

  2. added
    Type:Bug
    Priority:p3-medium
    on Aug 29, 2022
  3. AlexAndBear commented on Aug 30, 2022

    @AlexAndBear
    Contributor

    Fair enough, good catch!

  4. self-assigned this
    on Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority:p3-mediumType:Bug

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions