nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.4k stars 4.07k forks source link

[Bug]: User lists overlapped two rows if the user is in many groups NC25 #36697

Closed lancos closed 3 months ago

lancos commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

If a user has a long list of groups in "Group admin for" field the user list get corrupted, two rows overlap like in the picture Screenshot_20230214_123132b

Steps to reproduce

1.add serveral group on a user 2.goto the user list from the "Users" menu 3.

Expected behavior

Show the user list without any overlaps of rows

Installation method

None

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MySQL

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

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.143.7",
            "localhost",
            "ekcloudserver"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.3.2",
        "overwrite.cli.url": "https:\/\/ekcloudserver\/",
        "htaccess.RewriteBase": "\/",
        "overwritehost": "ekcloudserver",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_smtpmode": "smtp",
        "mail_smtpauth": 1,
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "IT",
        "default_language": "it",
        "default_locale": "it_IT",
        "maintenance": false,
        "theme": "",
        "loglevel": 2
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.17.0",
            "types": "filesystem"
        },
        "analytics": {
            "enabled": "yes",
            "installed_version": "4.7.2",
            "types": ""
        },
        "announcementcenter": {
            "enabled": "yes",
            "installed_version": "6.4.0",
            "types": "logging"
        },
        "approval": {
            "enabled": "yes",
            "installed_version": "1.0.12",
            "types": "filesystem,dav"
        },
        "backgroundjob": {
            "lastjob": "28615"
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "2.5.0",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "4.2.3",
            "types": ""
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "25.0.0",
            "loopback_tmp_path": "\/",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"maximum\":3,\"3\":1676374502,\"2\":1676376902,\"1\":1676376902,\"4\":1673143202,\"5\":1673060402}",
            "migration_22": "1",
            "migration_22_1": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "filesystem"
        },
        "collectives": {
            "enabled": "yes",
            "installed_version": "2.2.1",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "5.1.0",
            "types": "dav"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1633702118.1749",
            "lastcron": "1676376902",
            "lastupdateResult": "[]",
            "lastupdatedat": "1676374516",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "[]",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "theming.variables": "b92d206521717ac032f8aa58d3c7ff2f",
            "updater.secret.created": "1674491819",
            "vendor": "nextcloud"
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.5.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.24.0",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "deck": {
            "enabled": "yes",
            "installed_version": "1.8.3",
            "types": "dav"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": "authentication"
        },
        "files": {
            "enabled": "yes",
            "installed_version": "1.20.1",
            "types": "filesystem"
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "filesystem"
        },
        "files_markdown": {
            "enabled": "no",
            "installed_version": "2.3.6",
            "types": ""
        },
        "files_mindmap": {
            "enabled": "no",
            "installed_version": "0.0.27",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.6.0",
            "types": ""
        },
        "files_readmemd": {
            "auto_refresh": "false",
            "disable_workspace": "true",
            "enabled": "no",
            "fileslist_footer": "[\"README\"]",
            "fileslist_header": "[\"HEADER\"]",
            "installed_version": "1.2.2",
            "show_asciidoc": "false",
            "show_html": "false",
            "show_title": "true",
            "types": "filesystem",
            "yellow_back": "true"
        },
        "files_rightclick": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.14.0",
            "types": "logging"
        },
        "groupfolders": {
            "enabled": "yes",
            "installed_version": "13.1.1",
            "types": "filesystem,dav"
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": ""
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": "authentication"
        },
        "mail": {
            "enabled": "yes",
            "installed_version": "2.2.3",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.14.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.13.1",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": "authentication"
        },
        "onlyoffice": {
            "DocumentServerInternalUrl": "",
            "DocumentServerUrl": "https:\/\/ekcloudserver:4431\/",
            "StorageUrl": "",
            "advanced": "false",
            "customizationChat": "true",
            "customizationCompactHeader": "true",
            "customizationFeedback": "true",
            "customizationForcesave": "false",
            "customizationHelp": "true",
            "customizationReviewDisplay": "original",
            "customizationTheme": "theme-classic-light",
            "customizationToolbarNoTabs": "true",
            "defFormats": "{\"csv\":\"false\",\"doc\":\"false\",\"docm\":\"false\",\"docx\":\"true\",\"docxf\":\"true\",\"oform\":\"true\",\"dotx\":\"false\",\"epub\":\"false\",\"html\":\"false\",\"odp\":\"false\",\"ods\":\"false\",\"odt\":\"false\",\"otp\":\"false\",\"ots\":\"false\",\"ott\":\"false\",\"pdf\":\"false\",\"potm\":\"false\",\"potx\":\"false\",\"ppsm\":\"false\",\"ppsx\":\"false\",\"ppt\":\"true\",\"pptm\":\"false\",\"pptx\":\"true\",\"rtf\":\"false\",\"txt\":\"false\",\"xls\":\"true\",\"xlsm\":\"false\",\"xlsx\":\"true\",\"xltm\":\"false\",\"xltx\":\"false\"}",
            "demo": "{\"available\":true,\"enabled\":false,\"start\":{\"date\":\"2023-01-27 10:48:59.173311\",\"timezone_type\":3,\"timezone\":\"UTC\"}}",
            "editFormats": "{\"csv\":\"true\",\"odp\":\"false\",\"ods\":\"false\",\"odt\":\"false\",\"rtf\":\"false\",\"txt\":\"true\"}",
            "enabled": "yes",
            "groups": "[]",
            "installed_version": "7.6.8",
            "jwt_secret": "************",
            "preview": "true",
            "sameTab": "true",
            "settings_error": "",
            "types": "prevent_group_restriction",
            "verify_peer_off": "true",
            "versionHistory": "true"
        },
        "password_policy": {
            "enabled": "yes",
            "enforceNumericCharacters": "1",
            "installed_version": "1.15.0",
            "maximumLoginAttempts": "5",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "2.0.1",
            "types": "dav,authentication"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": "prevent_group_restriction"
        },
        "recognize": {
            "enabled": "no",
            "faces.batchSize": "500",
            "faces.enabled": "false",
            "imagenet.batchSize": "100",
            "imagenet.enabled": "true",
            "imagenet.lastFile": "1676031317",
            "imagenet.status": "true",
            "installed_version": "3.5.0",
            "landmarks.batchSize": "100",
            "landmarks.enabled": "false",
            "movinet.batchSize": "20",
            "movinet.enabled": "false",
            "musicnn.batchSize": "100",
            "musicnn.enabled": "false",
            "node_binary": "\/var\/www\/nextcloud\/apps\/recognize\/bin\/node",
            "tensorflow.cores": "0",
            "tensorflow.gpu": "false",
            "tensorflow.purejs": "false",
            "types": "filesystem,dav"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.0.3",
            "types": ""
        },
        "richdocuments": {
            "disable_certificate_verification": "yes",
            "enabled": "no",
            "installed_version": "6.3.3",
            "types": "prevent_group_restriction",
            "wopi_url": "http:\/\/192.168.143.7\/apps\/richdocumentscode\/proxy.php?req="
        },
        "richdocumentscode": {
            "enabled": "no",
            "installed_version": "22.5.802",
            "types": ""
        },
        "serverinfo": {
            "cached_count_filecache": "55815",
            "cached_count_storages": "18",
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": "filesystem"
        },
        "spreed": {
            "enabled": "yes",
            "has_reference_id": "yes",
            "installed_version": "15.0.3",
            "project_access_invalidated": "1",
            "signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
            "signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***",
            "types": "dav,prevent_group_restriction"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "last_report": "{\"id\":\"ocbullp0wj37\",\"items\":[[\"server\",\"version\",\"24.0.8.2\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"none\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"7.4.3\"],[\"php\",\"memory_limit\",-1],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",2097152],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"10.3.37\"],[\"database\",\"size\",37224448],[\"apps\",\"accessibility\",\"1.10.0\"],[\"apps\",\"activity\",\"2.16.0\"],[\"apps\",\"bruteforcesettings\",\"2.4.0\"],[\"apps\",\"calendar\",\"3.5.4\"],[\"apps\",\"circles\",\"24.0.1\"],[\"apps\",\"cloud_federation_api\",\"1.7.0\"],[\"apps\",\"comments\",\"1.14.0\"],[\"apps\",\"contacts\",\"4.2.3\"],[\"apps\",\"contactsinteraction\",\"1.5.0\"],[\"apps\",\"dashboard\",\"7.4.0\"],[\"apps\",\"dav\",\"1.22.0\"],[\"apps\",\"deck\",\"1.7.3\"],[\"apps\",\"federatedfilesharing\",\"1.14.0\"],[\"apps\",\"federation\",\"1.14.0\"],[\"apps\",\"files\",\"1.19.0\"],[\"apps\",\"files_external\",\"1.16.1\"],[\"apps\",\"files_markdown\",\"2.3.6\"],[\"apps\",\"files_mindmap\",\"0.0.27\"],[\"apps\",\"files_pdfviewer\",\"2.5.0\"],[\"apps\",\"files_readmemd\",\"1.2.2\"],[\"apps\",\"files_rightclick\",\"1.3.0\"],[\"apps\",\"files_sharing\",\"1.16.2\"],[\"apps\",\"files_trashbin\",\"1.14.0\"],[\"apps\",\"files_versions\",\"1.17.0\"],[\"apps\",\"files_videoplayer\",\"1.13.0\"],[\"apps\",\"firstrunwizard\",\"2.13.0\"],[\"apps\",\"groupfolders\",\"12.0.2\"],[\"apps\",\"logreader\",\"2.9.0\"],[\"apps\",\"lookup_server_connector\",\"1.12.0\"],[\"apps\",\"mail\",\"1.15.1\"],[\"apps\",\"nextcloud_announcements\",\"1.13.0\"],[\"apps\",\"notifications\",\"2.12.1\"],[\"apps\",\"oauth2\",\"1.12.0\"],[\"apps\",\"onlyoffice\",\"disabled\"],[\"apps\",\"password_policy\",\"1.14.0\"],[\"apps\",\"photos\",\"1.6.0\"],[\"apps\",\"privacy\",\"1.8.0\"],[\"apps\",\"provisioning_api\",\"1.14.0\"],[\"apps\",\"recommendations\",\"1.3.0\"],[\"apps\",\"richdocuments\",\"6.3.3\"],[\"apps\",\"richdocumentscode\",\"22.5.802\"],[\"apps\",\"serverinfo\",\"1.14.0\"],[\"apps\",\"settings\",\"1.6.0\"],[\"apps\",\"sharebymail\",\"1.14.0\"],[\"apps\",\"spreed\",\"14.0.7\"],[\"apps\",\"support\",\"1.7.0\"],[\"apps\",\"survey_client\",\"1.12.0\"],[\"apps\",\"systemtags\",\"1.14.0\"],[\"apps\",\"text\",\"3.5.1\"],[\"apps\",\"theming\",\"1.15.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.13.0\"],[\"apps\",\"updatenotification\",\"1.14.0\"],[\"apps\",\"user_status\",\"1.4.0\"],[\"apps\",\"viewer\",\"1.8.0\"],[\"apps\",\"weather_status\",\"1.4.0\"],[\"apps\",\"workflowengine\",\"2.6.0\"],[\"stats\",\"num_files\",50311],[\"stats\",\"num_users\",5],[\"stats\",\"num_storages\",11],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",9],[\"stats\",\"num_storages_other\",1],[\"stats\",\"num_comments\",170],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",11],[\"files_sharing\",\"num_shares_user\",0],[\"files_sharing\",\"num_shares_groups\",1],[\"files_sharing\",\"num_shares_link\",5],[\"files_sharing\",\"num_shares_link_no_password\",5],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_17\",\"4\"],[\"files_sharing\",\"permissions_3_19\",\"1\"],[\"files_sharing\",\"permissions_1_31\",\"1\"],[\"files_sharing\",\"permissions_2_31\",\"5\"],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}",
            "last_sent": "1674037802",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.14.5",
            "types": ""
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.6.0",
            "types": "dav"
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "2.0.1",
            "types": "logging"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.14.0",
            "types": ""
        },
        "updatenotification": {
            "analytics": "4.7.2",
            "bruteforcesettings": "2.4.0",
            "calendar": "4.2.3",
            "contacts": "5.1.0",
            "core": "25.0.3.2",
            "deck": "1.5.8",
            "enabled": "yes",
            "files_mindmap": "0.0.27",
            "groupfolders": "13.1.1",
            "installed_version": "1.15.0",
            "mail": "1.15.1",
            "recognize": "3.5.0",
            "richdocuments": "6.3.3",
            "richdocumentscode": "22.5.802",
            "spreed": "14.0.8",
            "types": "",
            "update_check_errors": "0"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.7.0",
            "types": "filesystem"
        }
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - analytics: 4.7.2
  - announcementcenter: 6.4.0
  - approval: 1.0.12
  - bruteforcesettings: 2.5.0
  - calendar: 4.2.3
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - collectives: 2.2.1
  - comments: 1.15.0
  - contacts: 5.1.0
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.3
  - 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_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - groupfolders: 13.1.1
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.2.3
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - onlyoffice: 7.6.8
  - password_policy: 1.15.0
  - photos: 2.0.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - 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_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:
  - admin_audit
  - encryption
  - files_markdown: 2.3.6
  - files_mindmap: 0.0.27
  - recognize: 3.5.0
  - suspicious_login
  - twofactor_totp
  - user_ldap

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

Reproduced with both Firefox 109 and Chromium 109.0.5414.119

isAAAc commented 10 months ago

same trouble with version 27.1.5 looks like https://github.com/nextcloud/server/issues/40222 and https://github.com/nextcloud/server/issues/18920

MaximeMaW commented 9 months ago

I confirm that I have the same issue.

InteractAgencyDev commented 9 months ago

To temporarily solve the problem on my side, I used the following method:

  1. Installing "Custom CSS" in the MarketPlace
  2. Administration settings > Customise appearance
  3. Fill in the "Custom CSS" field with :
#body-settings #app-content.user-list-grid .row {
grid-auto-rows: 60px;
}

#body-settings #app-content.user-list-grid .row .subAdminsGroups {
overflow: scroll;
height: 60px;
}

Save + Reload

susnux commented 3 months ago

Do you still encounter this issue with any of the supported versions? (28 or 29)

MaximeMaW commented 3 months ago

I version 28, the problem is gone: the list of groups appear on a single line and doesn't overlap on other lines. The problem is solved for us. Many thanks.

susnux commented 3 months ago

I version 28, the problem is gone: the list of groups appear on a single line and doesn't overlap on other lines. The problem is solved for us. Many thanks.

Good, glad to hear :)

lancos commented 3 months ago

I use NC 27.1.11, and the text don't overlap anymore but is truncated on the third row (if the user has several groups that don't fit on two rows).