nextcloud/notifications

[Bug]: Web Interface, NC 25.0.x with x <= 3: Dismissing Individual Notifications in Web Interface Notification Popup Menu Collapses Whole Menu / Popup

gohrner opened this issue · 4 comments

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

If multiple notifications are shown in the web interface, and you dismiss one of them by clicking its specific "x" icon in the notifications popup menu, the whole notifications popup menu will close.

That's a regression and worked fine in older Nextcloud releases, if my memory does not deceive me.

Steps to reproduce

  1. Wait until you have more than one unread notification.
  2. Open the notification popup menu in the top right corner of the web interface.
  3. Dismiss a single notification from the popup by clicking its "x" icon.

=> The whole notification popup will close.

Expected behavior

The notification popup should not close, as I only dismissed a specific notification and will probably also want to dismiss or deal with additional ones.

The way it currently behaves, I always have to re-open the popup menu.

That's a regression and worked fine in older Nextcloud releases, if my memory does not deceive me.

Installation method

Community Manual installation with Archive

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.example.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/nextcloud.example.com",
        "htaccess.RewriteBase": "\/",
        "dbtype": "mysql",
        "version": "25.0.3.2",
        "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***",
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "auth.bruteforce.protection.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "updater.release.channel": "stable",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "enable_previews": true,
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": false,
        "default_phone_region": "DE",
        "simpleSignUpLink.shown": false,
        "app_install_overwrite": [
            "socialsharing_email"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - appointments: 1.14.10
  - calendar: 4.2.3
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.3
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.3
  - external: 5.0.0
  - facerecognition: 0.9.11
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_external: 1.17.0
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_texteditor: 2.15.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - flow_notifications: 1.5.0
  - forms: 3.0.4
  - integration_openproject: 2.2.1
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.2.3
  - nextcloud_announcements: 1.14.0
  - notes: 4.6.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - oidc: 0.4.2
  - password_policy: 1.15.0
  - passwords: 2023.2.10
  - photos: 2.0.1
  - polls: 4.1.2
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - richdocuments: 7.1.0
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - spreed: 15.0.3
  - support: 1.8.0
  - survey_client: 1.13.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - updatenotification: 1.15.0
  - user_ldap: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - webhooks: 0.4.2
  - workflow_script: 1.10.0
  - workflowengine: 2.7.0
Disabled:
  - admin_audit
  - bruteforcesettings
  - circles: 0.16.2
  - encryption: 2.8.1
  - suspicious_login
  - twofactor_totp

Nextcloud Signing status

Only modified is Broker.php, which is patched intentionally due to buggy Nextcloud event modification information mails iTIP.

Should be totally unrelated to collapsing notification in the web frontend.


Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
	- INVALID_HASH
		- 3rdparty/sabre/vobject/lib/ITip/Broker.php

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [3rdparty/sabre/vobject/lib/ITip/Broker.php] => Array
                        (
                            [expected] => cefad0bc573f97316835535ea3a5e1b821de054f313df79c857f118fe72213c2e2828944edfb5f35f55b25b98b91913cf340bf7037d932f292fece6c5a8d479c
                            [current] => 7486cfcf58b6a15778d6416e1c860b31640bfa1e950cd7d03b7d396e374d1541c307f7894ba57ac938ebe2057b1ce0ef13656c5089d9e25afccbf2adc2a82f0d
                        )

                )

        )

)

Nextcloud Logs

No response

Additional info

No response

Hi @gohrner, mind to give the issue a proper title?

Does not happen locally, so I assume it was fixed already for the upcoming 25.0.4

Hi @gohrner, mind to give the issue a proper title?

Whoops...

Does not happen locally, so I assume it was fixed already for the upcoming 25.0.4

Ok, let's see... I'll update once the final release is available.