[Bug]: file name is not showing NC28.0.10
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
The file name is not showing when saving the file after editing file in NC28.0.10. File name is showing after reload the browser using F5.
I reported about this bug on forum. https://help.nextcloud.com/t/file-name-is-not-showing-in-nc28/205288
Steps to reproduce
1.Create a new test.ods file.
2.Open test.ods and edit file.
3.Save and Close test.ods
File name is not showing..
- Reload browser by using F5.
File name is showing after reload the browser using F5...
you can check from this video. https://www.dropbox.com/scl/fi/3l65218o56sgfyllzzgpx/evidence.mkv?rlkey=5nxmo0k5hhrm7h7eok9y4hq0h&st=iwpfffhx&dl=0
And I reported about this bug on forum. https://help.nextcloud.com/t/file-name-is-not-showing-in-nc28/205288
Expected behavior
File name displays after editing file.
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
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
- [X] Other
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
I'm unable to reproduce this behavior. The filename always is visible as expected.
Are you sure you're not doing any custom css or something?
I do notice something odd in your video: When you are creating a new spreadsheet, after you click Create you're being returned to the file list rather than Office opening immediately. That's not the behavior I have nor would expect.
You didn't fill out the entire support template so unfortunately we can only speculate.
Can you create an issue for the other matter (deleted file / appearing multiple times) you mentioned in that thread on the forum? I am able to reproduce that one, but we need to handle it separately so it needs its own Issue.
I'm unable to reproduce this behavior. The filename always is visible as expected.
Are you sure you're not doing any custom css or something?
I do notice something odd in your video: When you are creating a new spreadsheet, after you click Create you're being returned to the file list rather than Office opening immediately. That's not the behavior I have nor would expect.
You didn't fill out the entire support template so unfortunately we can only speculate.
Thank you for your check.
Sorry, sir,
The filename display problem is my fault.
I did the following to fix the problems when upgrading from NC27 to NC28.0.10.
- sudo cp -pi /var/www/html/nextcloud/core/js/mimetypelist.js /var/backups/nextcloud/mimetypelist.js.$(date +%Y%m%d)
- sudo cp -pi /var/www/html/nextcloud/core/js/mimetypelist.js /var/www/html/nextcloud/mimetypelist.js.$(date +%Y%m%d)
- https://github.com/nextcloud/server/blob/stable28/core/js/mimetypelist.js
- nano /var/www/html/nextcloud/mimetypelist.js
- sudo -u www-data diff -u /var/www/html/nextcloud/core/js/mimetypelist.js /var/www/html/nextcloud/mimetypelist.js>
- mimetypelist.patch
- sudo -u www-data diff -u /var/www/html/nextcloud/core/js/mimetypelist.js /var/www/html/nextcloud/mimetypelist.js.fixed >
- mimetypelist-test.patch
- cat mimetypelist.patch
- sudo patch -d /var/www/html/nextcloud/core/js < /var/www/html/nextcloud/mimetypelist.patch
- sudo -u www-data diff -u /var/backups/nextcloud/mimetypelist.js.$(date +%Y%m%d)
- /var/www/html/nextcloud/core/js/mimetypelist.js
- ls -l /var/www/html/nextcloud/core/js/mimetypelist.js
- sudo -u www-data php /var/www/html/nextcloud/occ maintenance:repair --include-expensive
- rm -rf mimetypelist.js.date
- rm -rf mimetypelist.patch
- rm -rf core/img/filetypes/dwb.svg
- rm -rf core/img/filetypes/drawio.svg
- rm -rf mimetypelist.js.fixed
- sudo -u www-data php /var/www/html/nextcloud/occ maintenance:repair --include-expensive
- systemctl restart apache2
Without patching on NC28.0.10, the filename is always visible.
deleted file / appearing multiple times
Of course I created about this topic. https://github.com/nextcloud/server/issues/48657