[Bug]: Files - files are downloaded instead of opened on click #41551
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
In certain circumstances (see below), selecting a file with the intention of opening/editing does not open the file in an editor, but instead downloads the file locally via browser dialogue. Selecting a folder will browse to it but show as empty.
Circumstances
Not 100% on how to reproduce, so speculating:
- This seems to occur after the browser window has been open for extended periods of time, i.e. open in the background for many hours, or after a suspend of the laptop/computer.
- heartbeats seem to be succeeding, despite the behaviour
- it does, indeed, download the correct document, but sometimes takes long to begin the download (30s+)
- occurs with
.md
,.ods
if you are having this behaviour w files, if you click to open a folder then it browses to the folder, but it is show as empty, even if this is incorrect (i.e. clearly this folder has contents):
problem occuring in both Firefox 119.0 and Chromium 118.0.5993.117
linux/openSUSE Tumbleweed
Steps to reproduce
- leave Files session open for extended period of time (speculation..)
- click on a file or folder
- browser's file download dialogue appears, ~~folder will open but show as empty ~~
Expected behavior
click on a file opens the file in the appropriate editor (.md or .ods..)
click on a folder opens the folder for browsing and shows the actual contents
Installation method
None
Nextcloud Server version
28
Operating system
Other
PHP engine version
None
Web server
None
Database engine version
None
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
cloud.nextcloud.com
28.0.0 beta 3
I have additional helpful browser logs, but would appreciate some eyes on it to censor sensitive info before posting publicly. Please ping me.
Activity