Skip to content

Text change not saved #1405

Open
Open
@ckoegler

Description

@ckoegler

I made an edit to one of my notes. After switching to another note and back, my edit was gone.

Steps to reproduce

  1. Open firefox. Open NC, Open Notes app, Open some note. Make an edit. -> A blue dot appears at the check mark symbol in upper right corner. Also an asterisk symbol appears next to the note name on the left side. That seems to be necessary for the bug to happen. Sometimes only one of these two things happen. In that case, the bug does not happen.
  2. Switch to another program (e.g. Word. Firefox is not visible anymore). Wait > 30 seconds
  3. Switch back to firefox. Astersik and blue dot disappeared.
  4. Make another edit. This time, only the asterisk symbol appears. Click the checkmark symbol "to be save" (but it does not help)
  5. Switch to another note and back. The edit to the first note is lost.

Switching to another windows program seems really necessary. Keeping focus on firefox prevents the bug.

Firefox itself realizes, that something is wrong. If I try to switch to another page completely, it gives a warning:
Image

It's browser independent. Could reproduct it in
Edge
Version 130.0.2849.56 (Offizielles Build) (64-Bit)
and Chrome
Version 130.0.6723.70 (Offizieller Build) (64-Bit)

I could reproduc it with the text app, outside 'notes'.
Maybe its already described here:
nextcloud/text#3899

Screenshots

don't have

Server

(hosted by Hetzner)

Nextcloud configuration:

## Server configuration detail

Operating system: Linux 5.15.0-112-generic #122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024 x86_64

Webserver: nginx/1.25.3 (fpm-fcgi)

Database: mysql 10.5.26

PHP version: 8.2.22

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, random, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, Phar, exif, ftp, gd, gmp, imagick, imap, intl, ldap, maxminddb, memcached, mysqli, pcntl, pdo_mysql, pdo_pgsql, redis, smbclient, soap, sodium, sysvsem, zip, libsmbclient, Zend OPcache

Nextcloud version: 29.0.5 - 29.0.5.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

[]

List of activated apps
Enabled:
 - activity: 2.21.1
 - admin_audit: 1.19.0
 - bruteforcesettings: 2.9.0
 - calendar: 4.7.16
 - circles: 29.0.0-dev
 - cloud_federation_api: 1.12.0
 - collectives: 2.14.4
 - comments: 1.19.0
 - contacts: 6.0.0
 - contactsinteraction: 1.10.0
 - dav: 1.30.1
 - federatedfilesharing: 1.19.0
 - federation: 1.19.0
 - files: 2.1.1
 - files_downloadlimit: 2.0.0
 - files_external: 1.21.0
 - files_markdown: 2.4.1
 - files_pdfviewer: 2.10.0
 - files_reminders: 1.2.0
 - files_sharing: 1.21.0
 - files_texteditor: 2.15.1
 - files_trashbin: 1.19.0
 - files_versions: 1.22.0
 - firstrunwizard: 2.18.0
 - lookup_server_connector: 1.17.0
 - nextcloud_announcements: 1.18.0
 - notes: 4.11.0
 - notifications: 2.17.0
 - notify_push: 0.7.0
 - oauth2: 1.17.0
 - password_policy: 1.19.0
 - photos: 2.5.0
 - privacy: 1.13.0
 - provisioning_api: 1.19.0
 - recognize: 7.1.0
 - recommendations: 2.1.0
 - related_resources: 1.4.0
 - settings: 1.12.0
 - sharebymail: 1.19.0
 - support: 1.12.0
 - survey_client: 1.17.0
 - suspicious_login: 7.0.0
 - systemtags: 1.19.0
 - text: 3.10.1
 - theming: 2.4.0
 - twofactor_backupcodes: 1.18.0
 - twofactor_totp: 11.0.0-dev
 - updatenotification: 1.19.1
 - user_status: 1.9.0
 - viewer: 2.3.0
 - weather_status: 1.9.0
 - workflowengine: 2.11.0
Disabled:
 - dashboard: 7.0.0
 - documentserver_community: 0.1.18
 - dokuwiki: 1.0.3
 - encryption
 - files_downloadactivity: 1.17.0
 - files_rightclick: 0.15.1
 - files_trackdownloads: 1.11.0
 - logreader: 2.13.0
 - richdocuments: 8.4.8
 - serverinfo: 1.18.0
 - user_ldap
 - user_usage_report: 1.13.1
 - xwiki: 0.1.2
Configuration (config/config.php)
{
    "skeletondirectory": "\/var\/www\/html\/themes\/hetzner\/skeleton",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "nx17688.your-storageshare.de"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "29.0.5.1",
    "overwrite.cli.url": "https:\/\/nx17688.your-storageshare.de",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "default_language": "de_DE",
    "default_locale": "de_DE",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": "6379",
        "timeout": "1.5",
        "dbindex": "0"
    },
    "filelocking.enabled": true,
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "log_type": "syslog",
    "syslog_tag": "nextcloud-nx17688",
    "simpleSignUpLink.shown": false,
    "upgrade.disable-web": true,
    "updatechecker": false,
    "theme": "hetzner",
    "mail_smtpauth": 1,
    "mail_sendmailmode": "smtp",
    "mail_smtpsecure": "tls",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "updater.release.channel": "stable",
    "maintenance": false,
    "appstoreurl": "https:\/\/apps.your-storageshare.de",
    "loglevel": 2,
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "files_external_allow_create_new_local": false,
    "updater.server.url": "***REMOVED SENSITIVE VALUE***",
    "app_install_overwrite": [
        "files_markdown",
        "files_rightclick",
        "files_texteditor"
    ],
    "allow_local_remote_servers": true,
    "maintenance_window_start": 3,
    "davstorage.request_timeout": 10800
}

Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1730123824
)

External storages: yes

External storage configuration
No mounts configured

Encryption: no

User-backends:

  • OC\User\Database

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Client

  • OS: Win11 Home / 23H2
  • Browser: Firefox 131.0.3

Log files

Pretty sure, I cannot access them, as my NC is hosted by Hetzner. If I ask them nicely via support ticket, I maybe could get a piece of it.

Edit

  1. I can reproduce the bug now. I changed the "Steps to reproduce" section above.
  2. Included configuration info. Included 3 of my later posts here and deleted the separate posts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature: Rich TextRelated to the Nextcloud Text editor integrationneed to reproduceIssue that has not been reproduced

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions