### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no…t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on [Github](https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3Abug) OR [Nextcloud Community Forum](https://help.nextcloud.com/) _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
When you click on a favorite folder on the left pane, the readme.md displayed on the top of the file list is not updated.
If you leave a folder containing a readme.md, the readme.md stays on the top of the new favorite folder visited.
If the favorite folder you've just clicked have a readme.md, it is not displayed.
See other description of the bug here : https://help.nextcloud.com/t/nc-27-0-1-files-app-via-web-browser-rich-workspaces-bug/166685
The folder "Projet Next" has a readme.md :

When clicking on the favorite folder "DSI" which doesn't have readme.md, the display of old readme.md stays here :

In the other way, if I am on the folder "DSI", there is no visible readme.md (it's normal) :

But if I click on the favorite folder "Projet Next", the readme.md of the folder is not displayed (it should !) :

### Steps to reproduce
1. Go to a folder having a readme.md displayed on top of the file list
2. Click on a (different) favorite folder on the left pan
3. See the readme.md not updated
### Expected behavior
Readme.md displayed on the top of file list should be the one of the actual folder
### Installation method
Community Manual installation with Archive
### Nextcloud Server version
27
### Operating system
Debian/Ubuntu
### PHP engine version
PHP 8.1
### Web server
Apache (supported)
### Database engine version
MariaDB
### Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
### Are you using the Nextcloud Server Encryption module?
None
### What user-backends are you using?
- [X] Default user-backend _(database)_
- [X] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
```shell
{
"system": {
"simpleSignUpLink.shown": false,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.agglo-montbeliard.fr",
"192.168.50.106",
"192.168.50.106"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/cloud.agglo-montbeliard.fr\/",
"dbtype": "mysql",
"version": "27.0.1.2",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "Europe\/Paris",
"installed": true,
"theme": "",
"loglevel": 2,
"debug": false,
"maintenance": false,
"maintenance_window_start": 1,
"app.mail.background-sync-interval": 86400,
"app.mail.verify-tls-peer": false,
"activity_expire_days": 365,
"trashbin_retention_obligation": "auto, 15",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"app.mail.imap.timeout": 620,
"appstore.experimental.enabled": true,
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_smtpport": "25",
"mysql.utf8mb4": true,
"default_phone_region": "FR",
"has_rebuilt_cache": true,
"app_install_overwrite": [
"spreed",
"files_mindmap",
"pdfdraw",
"issuetemplate",
"files_linkeditor",
"files_texteditor",
"files_trackdownloads",
"emlviewer",
"files_archive",
"impersonate",
"extract",
"tables",
"cfg_share_links",
"workflow_script"
],
"allow_local_remote_servers": true,
"default_language": "fr",
"force_language": "fr",
"default_locale": "fr_FR",
"force_locale": "fr_FR",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"memcache.locking": "\\OC\\Memcache\\Redis",
"preview_max_memory": 512,
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"sharing.enable_share_mail": false,
"preview_libreoffice_path": "\/usr\/bin\/libreoffice"
}
}
```
### List of activated Apps
```shell
Enabled:
- activity: 2.19.0
- admin_audit: 1.17.0
- analytics: 4.9.4
- announcementcenter: 6.6.1
- calendar: 4.4.3
- cfg_share_links: 4.1.0
- circles: 27.0.1
- cloud_federation_api: 1.10.0
- comments: 1.17.0
- contacts: 5.3.2
- contactsinteraction: 1.8.0
- dashboard: 7.7.0
- dav: 1.27.0
- deck: 1.10.0
- drawio: 2.1.2
- emlviewer: 1.0.7
- external: 5.2.0
- extract: 1.3.6
- federatedfilesharing: 1.17.0
- federation: 1.17.0
- files: 1.22.0
- files_accesscontrol: 1.17.0
- files_automatedtagging: 1.17.0
- files_external: 1.19.0
- files_linkeditor: 1.1.16
- files_lock: 27.0.0
- files_mindmap: 0.0.28
- files_pdfviewer: 2.8.0
- files_rightclick: 1.6.0
- files_sharing: 1.19.0
- files_texteditor: 2.15.1
- files_trashbin: 1.17.0
- files_versions: 1.20.0
- files_zip: 1.4.0
- forms: 3.3.1
- groupfolders: 15.0.1
- impersonate: 1.14.0
- integration_giphy: 1.0.7
- integration_openai: 1.0.11
- integration_replicate: 1.0.7
- logreader: 2.12.0
- lookup_server_connector: 1.15.0
- mail: 3.2.4
- nextcloud_announcements: 1.16.0
- notifications: 2.15.0
- notify_push: 0.6.3
- oauth2: 1.15.1
- onlyoffice: 8.1.0
- password_policy: 1.17.0
- passwords: 2023.8.30
- photos: 2.3.0
- polls: 5.2.0
- provisioning_api: 1.17.0
- serverinfo: 1.17.0
- settings: 1.9.0
- sharebymail: 1.17.0
- snappymail: 2.28.4
- spreed: 17.0.3
- systemtags: 1.17.0
- tasks: 0.15.0
- text: 3.8.0
- text_templates: 1.0.4
- theming: 2.2.0
- theming_customcss: 1.14.0
- twofactor_backupcodes: 1.16.0
- twofactor_totp: 9.0.0
- updatenotification: 1.17.0
- user_ldap: 1.17.0
- user_status: 1.7.0
- user_usage_report: 1.11.0
- viewer: 2.1.0
- weather_status: 1.7.0
- workflow_pdf_converter: 1.12.0
- workflowengine: 2.9.0
Disabled:
- appointments: 1.15.2 (installed 1.15.2)
- approval: 1.0.12 (installed 1.0.12)
- auto_groups: 1.4.1 (installed 1.4.1)
- bruteforcesettings: 2.7.0 (installed 2.2.0)
- cadviewer: 8.75.4 (installed 8.75.4)
- calendar_resource_management: 0.1.0 (installed 0.1.0)
- customproperties: 2.0.4 (installed 2.0.4)
- encryption: 2.15.0
- event_update_notification: 2.0.0 (installed 2.0.0)
- files_archive: 1.1.2 (installed 1.1.2)
- files_downloadactivity: 1.16.0 (installed 1.16.0)
- files_markdown: 2.3.6 (installed 2.3.6)
- files_trackdownloads: 1.11.0 (installed 1.11.0)
- firstrunwizard: 2.16.0 (installed 2.12.0)
- group_everyone: 0.1.10 (installed 0.1.10)
- hibp: 0.1.0 (installed 0.1.0)
- integration_deepl: 1.0.0 (installed 1.0.0)
- issuetemplate: 0.7.0 (installed 0.7.0)
- mailnotifier: 0.0.3 (installed 0.0.3)
- pdfdraw: 0.1.2
- privacy: 1.11.0 (installed 1.7.0)
- ransomware_protection: 1.14.0 (installed 1.14.0)
- recommendations: 1.6.0 (installed 1.3.0)
- related_resources: 1.2.0 (installed 1.1.0-alpha1)
- smb_test: 0.3.5 (installed 0.3.5)
- support: 1.10.0 (installed 1.6.0)
- survey_client: 1.15.0 (installed 1.11.0)
- suspicious_login: 5.0.0
- tables: 0.3.1 (installed 0.3.1)
- workflow_script: 1.11.1 (installed 1.11.1)
```
### Nextcloud Signing status
```shell
No errors have been found.
```
### Nextcloud Logs
```shell
no relevant information in logs
```
### Additional info
Tested on Firefox and Chromium
Probably a regression of https://github.com/nextcloud/server/pull/39301 resolving https://github.com/nextcloud/server/issues/38503