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

[Bug]: New file name modal does not always set focus #43659

Closed
4 of 8 tasks
ChristophWurst opened this issue Feb 19, 2024 · 1 comment · Fixed by #44847
Closed
4 of 8 tasks

[Bug]: New file name modal does not always set focus #43659

ChristophWurst opened this issue Feb 19, 2024 · 1 comment · Fixed by #44847
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: files

Comments

@ChristophWurst
Copy link
Member

ChristophWurst commented Feb 19, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

As a Nextcloud user enjoying #42993 I noticed that sometimes I can use my keyboard to change the default file name, other times there is no focus and I have to click into the input first.

Bildschirmfoto vom 2024-02-19 15-46-27

(hard to screenshot but there is no cursor inside the input)

Steps to reproduce

  1. Open Files
  2. Click + New
  3. Click New text file

Expected behavior

Focus of the filename input is always set.

Nit: set it to the last character before the file extension, or set the focus to the filename without extension, like
image. That's how Nautilus does it, for example.

Bildschirmfoto vom 2024-02-19 15-51-22

Installation method

None

Nextcloud Server version

28

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

Tested on FF for Linux.

@ChristophWurst ChristophWurst added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: files labels Feb 19, 2024
@ChristophWurst
Copy link
Member Author

Observation: works reliable with folders but not with text files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: files
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants