Open arnowelzel opened 3 days ago
We are affected by that same bug. Latest NC and Deck
thanks a lot for your report. I could not yet reproduce the issue. How often does the focus issue occur relatively, does it happen every time the description is saved or just some times?
It happens some times. I edit 10 cards, at least 3-5 times this focus changes happens. My strategy to find the cause of this problem would be to check the code for the use of focus()
- because without either removing the focus or setting it, this would not happen.
How to use GitHub
Describe the bug When I open a card to add a description, the card will be saved automatically as soon as I stop typing. However in this moment the focus of the text editor gets lost and instead the title is focused. This is very confusing since you do not expect that the cursor suddenly jumps from the text editor to the title.
To Reproduce Steps to reproduce the behavior:
Expected behavior The focus should always stay where it is and must not be changed without user interaction to change it intentionally.
Screenshots
Client details:
Server details
**Operating system**: **Web server:** **Database:** **PHP version:** **Nextcloud version:** (see Nextcloud admin page) **Where did you install Nextcloud from:** **Signing status:** ``` No errors have been found. ``` **List of activated apps:** ``` Enabled: - activity: 3.0.0 - admin_audit: 1.20.0 - app_api: 4.0.0 - bruteforcesettings: 3.0.0 - calendar: 5.0.5 - circles: 30.0.0 - cloud_federation_api: 1.13.0 - collectives: 2.15.1 - comments: 1.20.1 - contacts: 6.1.1 - contactsinteraction: 1.11.0 - dav: 1.31.1 - deck: 1.14.2 - dicomviewer: 2.2.1 - drawio: 3.0.3 - external: 5.5.2 - federatedfilesharing: 1.20.0 - federation: 1.20.0 - files: 2.2.0 - files_downloadlimit: 3.0.0 - files_pdfviewer: 3.0.0 - files_reminders: 1.3.0 - files_sharing: 1.22.0 - files_trashbin: 1.20.1 - files_versions: 1.23.0 - firstrunwizard: 3.0.0 - impersonate: 1.17.0 - logreader: 3.0.0 - lookup_server_connector: 1.18.0 - nextcloud_announcements: 2.0.0 - notes: 4.11.0 - notifications: 3.0.0 - notify_push: 0.7.0 - oauth2: 1.18.1 - onlyoffice: 9.5.0 - password_policy: 2.0.0 - photos: 3.0.2 - previewgenerator: 5.7.0 - privacy: 2.0.0 - provisioning_api: 1.20.0 - serverinfo: 2.0.0 - settings: 1.13.0 - sharebymail: 1.20.0 - support: 2.0.0 - survey_client: 2.0.0 - systemtags: 1.20.0 - text: 4.1.0 - theming: 2.5.0 - theming_customcss: 1.17.0 - twofactor_backupcodes: 1.19.0 - twofactor_webauthn: 2.0.0 - updatenotification: 1.20.0 - viewer: 3.0.0 - webhook_listeners: 1.1.0-dev - whiteboard: 1.0.4 - workflowengine: 2.12.0 Disabled: - appointments: 2.2.0 (installed 2.2.0) - bookmarks: 15.0.2 (installed 15.0.2) - dashboard: 7.10.0 (installed 7.8.0) - encryption: 2.18.0 (installed 2.13.0) - files_external: 1.22.0 (installed 1.19.0) - files_fulltextsearch: 30.0.0 (installed 30.0.0) - fulltextsearch: 30.0.0 (installed 30.0.0) - fulltextsearch_elasticsearch: 30.0.0 (installed 30.0.0) - recommendations: 3.0.0 (installed 0.4.0) - related_resources: 1.5.0 (installed 1.1.0-alpha1) - richdocuments: 8.5.2 (installed 8.5.2) - suspicious_login: 8.0.0 - twofactor_nextcloud_notification: 4.0.0 - twofactor_totp: 12.0.0-dev - user_ldap: 1.21.0 - user_migration: 7.0.1 (installed 7.0.1) - user_status: 1.10.0 (installed 1.5.0) - weather_status: 1.10.0 (installed 1.3.0) ``` **Nextcloud configuration:** ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "nextcloud.0x0c.de" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "skeletondirectory": "", "overwrite.cli.url": "https:\/\/nextcloud.0x0c.de", "dbtype": "mysql", "version": "30.0.2.2", "installed": true, "htaccess.RewriteBase": "\/", "maintenance": false, "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbpersistent": true, "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "dbindex": 0 }, "knowledgebaseenabled": false, "theme": "", "simpleSignUpLink.shown": false, "loglevel": 2, "log_authfailip": true, "mysql.utf8mb4": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "sendmail", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "updater.release.channel": "stable", "trashbin_retention_obligation": "auto, 30", "versions_retention_obligation": "auto, 180", "has_rebuilt_cache": true, "default_language": "de", "default_phone_region": "DE", "check_data_directory_permissions": false, "log_rotate_size": 52428800, "profile.enabled": false, "preview_max_x": 1920, "preview_max_y": 1920, "mail_sendmailmode": "smtp", "mail_smtpauth": 1, "mail_smtpport": "465", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "auth.bruteforce.protection.enabled": true, "ratelimit.protection.enabled": true, "reference_opengraph": true, "integrity.check.disabled": false, "defaultapp": "files", "maintenance_window_start": 2, "apps_paths": [ { "path": "\/var\/www\/nextcloud.0x0c.de\/apps", "url": "\/apps", "writable": true } ], "app_install_overwrite": [ "deck" ] } } ``` **Are you using an external user-backend, if yes which one:** noLogs
#### Nextcloud log (data/nextcloud.log) ``` (too large) ``` #### Browser log ``` Error with Permissions-Policy header: Unrecognized feature: 'browsing-topics'. logger-Ba6Q6YnM.chunk.mjs:951 [WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config {app: 'viewer', uid: 'awelzel', level: 2, ignoredMimes: Array(4)} log @ logger-Ba6Q6YnM.chunk.mjs:951 warn @ logger-Ba6Q6YnM.chunk.mjs:951 (anonymous) @ viewer-init.mjs?v=7b18253f-81:4788 listener.js:184 [Deprecation] Listener added for a 'DOMNodeRemoved' mutation event. Support for this event type has been removed, and this event will no longer be fired. See https://chromestatus.com/feature/5083947249172480 for more information. (anonymous) @ listener.js:184 (anonymous) @ listener.js:34 session-heartbeat.js:83 session heartbeat polling started style-BNtK61kD.chunk.mjs:2 InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state. at IB (NotificationsApp-CX_2Ib0T.chunk.mjs:34:21826) at s.mounted (NotificationsApp-CX_2Ib0T.chunk.mjs:34:67268) at lt (style-BNtK61kD.chunk.mjs:2:23489) at tt (style-BNtK61kD.chunk.mjs:2:31208) at Object.insert (style-BNtK61kD.chunk.mjs:2:34641) at Ht (style-BNtK61kD.chunk.mjs:2:55281) at M.__patch__ (style-BNtK61kD.chunk.mjs:2:56635) at Gi.t._update (style-BNtK61kD.chunk.mjs:2:28791) at M.r (style-BNtK61kD.chunk.mjs:2:29561) at t.get (style-BNtK61kD.chunk.mjs:2:25766) Ze @ style-BNtK61kD.chunk.mjs:2 qe @ style-BNtK61kD.chunk.mjs:2 St @ style-BNtK61kD.chunk.mjs:2 lt @ style-BNtK61kD.chunk.mjs:2 tt @ style-BNtK61kD.chunk.mjs:2 insert @ style-BNtK61kD.chunk.mjs:2 Ht @ style-BNtK61kD.chunk.mjs:2 (anonymous) @ style-BNtK61kD.chunk.mjs:2 Gi.t._update @ style-BNtK61kD.chunk.mjs:2 r @ style-BNtK61kD.chunk.mjs:2 t.get @ style-BNtK61kD.chunk.mjs:2 t.run @ style-BNtK61kD.chunk.mjs:2 Yi @ style-BNtK61kD.chunk.mjs:2 (anonymous) @ style-BNtK61kD.chunk.mjs:2 fn @ style-BNtK61kD.chunk.mjs:2 Promise.then Gt @ style-BNtK61kD.chunk.mjs:2 ge @ style-BNtK61kD.chunk.mjs:2 oe @ style-BNtK61kD.chunk.mjs:2 t.update @ style-BNtK61kD.chunk.mjs:2 Gi.t.$forceUpdate @ style-BNtK61kD.chunk.mjs:2 s @ style-BNtK61kD.chunk.mjs:2 (anonymous) @ style-BNtK61kD.chunk.mjs:2 (anonymous) @ style-BNtK61kD.chunk.mjs:2 Promise.then Pi @ style-BNtK61kD.chunk.mjs:2 nr @ style-BNtK61kD.chunk.mjs:2 Ti @ style-BNtK61kD.chunk.mjs:2 Sn @ style-BNtK61kD.chunk.mjs:2 t.$createElement @ style-BNtK61kD.chunk.mjs:2 render @ notifications-main.mjs?v=7b18253f-81:3 Ai.t._render @ style-BNtK61kD.chunk.mjs:2 r @ style-BNtK61kD.chunk.mjs:2 t.get @ style-BNtK61kD.chunk.mjs:2 t @ style-BNtK61kD.chunk.mjs:2 qi @ style-BNtK61kD.chunk.mjs:2 M.$mount @ style-BNtK61kD.chunk.mjs:2 t._init @ style-BNtK61kD.chunk.mjs:2 M @ style-BNtK61kD.chunk.mjs:2 (anonymous) @ notifications-main.mjs?v=7b18253f-81:3 ```