Closed
Description
Steps to reproduce
- Enable Richtext Editor
- Create a note with content and several images
- Change note back and furth or do a reload without cache (Ctrl+Shift+R in Firefox)
Expected behaviour
- when opening a note it should start at top
- or maybe at last edited position
Actual behaviour
- on opening note the app scrolls to random image caption and sets cursor into caption.
- image may change on different reloads
- it does not matter whether there is content of a caption or not
I created a note to reproduce it, but I do not want to share my nextcloud.
Bug Reproduction on Random Scroll.md
Server
Please complete the following information.
- Notes app version: 4.12
- Nextcloud version: 31.0.5
- OS:
Linux xxx 6.14.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 09 May 2025 17:36:18 +0000 x86_64 GNU/Linux
- Web server:
- Docker:
Server version: Apache/2.4.62 (Debian) Server built: 2024-10-04T15:21:08
- Reverse Proxy:
nginx version: nginx/1.27.5
- Docker:
- PHP version:
PHP 8.3.21 (cli) (built: May 9 2025 17:24:31) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.21, Copyright (c) Zend Technologies
with Zend OPcache v8.3.21, Copyright (c), by Zend Technologies
- Database:
mariadb from 11.7.2-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
Nextcloud configuration:
```
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"1": "owncloud.riotcat.org",
"2": "cloud.riotcat.org",
"3": "onlyoffice.riotcat.org",
"4": "cloud"
},
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.5.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "Europe\/Berlin",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"theme": "",
"loglevel": 3,
"maintenance": false,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"tasks",
"documents",
"ownnote",
"richdocuments",
"spreed"
],
"mysql.utf8mb4": true,
"simpleSignUpLink.shown": false,
"lost_password_link": "disabled",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"updater.release.channel": "stable",
"encryption.legacy_format_support": false,
"encryption.key_storage_migrated": false,
"encryption_skip_signature_check": true,
"default_phone_region": "DE",
"overwrite.cli.url": "https:\/\/cloud.riotcat.org",
"overwriteprotocol": "https",
"maintenance_window_start": 4,
"log_rotate_size": 104857600,
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"mail_smtpauth": 1,
"mail_sendmailmode": "smtp",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"enabledPreviewProviders": [
"OC\\Preview\\Image"
],
"memories.gis_type": 1
}
}
```
Client
- Browser (incl. version): Firefox 139.0 (64bit)
- OS:
Linux xxx 6.14.7-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 22 May 2025 05:37:49 +0000 x86_64 GNU/Linux
Log files
None except nextcloud/text#7144