nextcloud / nextcloud/notify_push

When the app is active, it affects "Deck" and "Nextcloud Office" in the frontend

Open
#580 11 comments 20 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
344
Forks
64
Avg merge
2d 10h
Merged PRs (30d)
5

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Install "Deck"
  2. Install "Nextcloud Office" with a Docker backend
  3. Install "Client Push" (https://apps.nextcloud.com/apps/notify_push, setup as described in https://arnowelzel.de/en/client-push-for-nextcloud) and enable it
  4. Open a Deck board
  5. Create a new Deck card
  6. Open the Deck card and edit the description and notice, that cursor may jump to the "title" field unintentationally (also see https://github.com/nextcloud/deck/issues/6528)
  7. Leave the Deck card open and stop the "Client Push" service on the server
  8. In the Deck card set the cursor back to the description field, so you can edit it
  9. On the server start the "Client Push" service again
  10. Watch the open Deck card and notice, that the cursor may jumped to the title field without any user input at all
  11. Leave Deck again
  12. Create a new spreadsheet in Nextcloud Office
  13. Open the spreedsheet and enter some content using Safari on macOS
  14. Start using the "Search" function and type something into the search field
  15. See what happens
Expected behaviour

The Client Push does not change the behaviour of the frontend in the browser.

Actual behaviour

The Client Push affects the behaviour of "Deck" and "Nextcloud Office" - maybe other apps as well, but I did not test other apps with Client Push enabled or disabled.

Server configuration

Web server: Apache

Database: MariaDB 10.11

PHP version: 8.3

Nextcloud version: 30.0.7

List of activated apps
Enabled:
  - activity: 3.0.0
  - admin_audit: 1.20.0
  - app_api: 4.0.6
  - bruteforcesettings: 3.0.0
  - calendar: 5.1.3
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - collectives: 2.16.1
  - comments: 1.20.1
  - contacts: 7.0.4
  - contactsinteraction: 1.11.0
  - dav: 1.31.1
  - deck: 1.14.4
  - dicomviewer: 2.3.0
  - 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.1
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - nextcloud_announcements: 2.0.0
  - notes: 4.11.0
  - notifications: 3.0.0
  - oauth2: 1.18.1
  - password_policy: 2.0.0
  - photos: 3.0.2
  - previewgenerator: 5.8.0
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - richdocuments: 8.5.4
  - 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.6.0
  - theming_customcss: 1.18.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_webauthn: 2.1.0
  - updatenotification: 1.20.0
  - viewer: 3.0.0
  - webhook_listeners: 1.1.0-dev
  - whiteboard: 1.0.5
  - workflowengine: 2.12.0
Disabled:
  - appointments: 2.3.6 (installed 2.3.6)
  - bookmarks: 15.1.0 (installed 15.1.0)
  - 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: 31.0.0 (installed 31.0.0)
  - fulltextsearch: 30.0.1 (installed 30.0.1)
  - fulltextsearch_elasticsearch: 30.0.1 (installed 30.0.1)
  - notify_push: 1.0.0 (installed 1.0.0)
  - onlyoffice: 9.7.0 (installed 9.7.0)
  - recommendations: 3.0.0 (installed 0.4.0)
  - related_resources: 1.5.0 (installed 1.1.0-alpha1)
  - 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.7.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"
        ]
    }
}
Browser

Browser name: Deck issues can be reproduced with all browsers, Nextcloud Office seems only affected in Safari

Browser version: -

Operating system: Windows 10/11, Ubuntu 24, Mac

Browser log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Deck and Nextcloud Office behaviors with Client Push stopped and restarted, following the listed steps and comparing browser results. Trace the notify_push behavior involved in those updates; done means Client Push no longer moves the Deck cursor or interferes with the Office search field, while the existing reproduction cases remain covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, docker, mariadb, php, rust
Domain
backend, frontend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.