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]: Files app doesn't open middle-clicked file/folder in new browser tab since Nextcloud 28 #44994

Closed
4 of 8 tasks
siccovansas opened this issue Apr 23, 2024 · 1 comment · Fixed by #45571
Closed
4 of 8 tasks
Assignees
Labels

Comments

@siccovansas
Copy link

siccovansas commented Apr 23, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

In Nextcloud 27.1.8 I could middle-click on files and folders in the Files app and the middle-clicked file/folder would then open in a new browser tab. This doesn't work anymore after upgrading to Nextcloud 28.0.4.

I found three places where this issue is mentioned: PR #42457, Forum, Reddit.

Steps to reproduce

Folder

  1. Open the Files app (https://<nextcloud_domain>/apps/files/files)
  2. Middle-click a folder, e.g. the folder 'Documents'
  3. Firefox: A new tab is opened with the URL https://<nextcloud_domain>/remote.php/dav/files//Documents showing a white page with only this text:

This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.

  1. Chromium: A file names Documents.html is downloaded containing this text:

This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.

File

  1. Open the Files app (https://<nextcloud_domain>/apps/files/files)
  2. Middle-click a file
  3. Either nothing happens (e.g, .pdf, .txt files)
  4. Or the file is downloaded (e.g., .md, .gif, .odt, .ods files)

Note: after I click on the 'All files' button at the top left, nothing happens when I middle-click files/folders. The URL is then https://<nextcloud_domain>/apps/files/files?dir=/ instead of https://<nextcloud_domain>/apps/files/files.

Expected behavior

I expect folders and files to open in a new browser tab, just like in Nextcloud 27.

Installation method

Community Docker image

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

PostgreSQL

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

Upgraded to a MAJOR version (ex. 22 to 23)

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

No response

@siccovansas siccovansas added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Apr 23, 2024
@BloodyIron
Copy link

I have this problem too.

@skjnldsv skjnldsv self-assigned this May 29, 2024
@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants