[Bug]: Admin screen glitches shortening the height of the box when checkbox in basic settings updated
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ 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
I installed a fresh copy of NextCloud server. When I check or uncheck settings in the admin screens (have not tried on other screens), the work area for displaying the content shortens to 1/2 the original size and does not restore. In order to restore, I have to reload the screen.
Steps to reproduce
- Install fresh NextCloud server v26
- Set your screen zoom to 160% (accessibility feature) in firefox.
- Set your screen size to 1920x1080p
- Set your fonts to 14pt (yes, I'm very blind)
- Use a 32" monitor
- Go to administration settings|basic settings
- Check or uncheck authentication checkbox in the mailer settings
- The rounded white rectangle will shorten to 1/4 the display height and will not restore
- Reload the page and the rectangle fills the screen.
I'm pretty sure I saw this elsewhere too but I don't remember the exact location. But this one happens every time.
Expected behavior
The size of the rectangle does not change based on user clicks.
Installation method
Community Manual installation with Archive
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Lighttpd
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.mimmc.com"
],
"user_backends": [
{
"class": "\\OCA\\UserExternal\\IMAP",
"arguments": [
"127.0.0.1",
143,
null,
"mimmc.com",
false,
true
]
}
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"skeletondirectory": "\/var\/www\/nextcloud\/core\/blank",
"dbtype": "mysql",
"version": "26.0.0.11",
"overwrite.cli.url": "https:\/\/cloud.mimmc.com",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"default_phone_region": "US",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"read_timeout": 0,
"user": "",
"password": "***REMOVED SENSITIVE VALUE***",
"dbindex": 0
},
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\APCu",
"loglevel": 0,
"app_install_overwrite": [
"user_external"
],
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "5025",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [
"mimmc.com"
],
"twofactor_enforced_excluded_groups": [
"admin"
]
}
}
List of activated Apps
Enabled:
- bruteforcesettings: 2.6.0
- cloud_federation_api: 1.9.0
- comments: 1.16.0
- dav: 1.25.0
- external: 5.1.0
- federatedfilesharing: 1.16.0
- files: 1.21.1
- files_lock: 26.0.0
- files_pdfviewer: 2.7.0
- files_rightclick: 1.5.0
- files_sharing: 1.18.0
- files_trashbin: 1.16.0
- files_versions: 1.19.1
- firstrunwizard: 2.15.0
- logreader: 2.11.0
- lookup_server_connector: 1.14.0
- mail: 3.1.1
- notes: 4.7.2
- notifications: 2.14.0
- oauth2: 1.14.0
- password_policy: 1.16.0
- provisioning_api: 1.16.0
- richdocuments: 8.0.1
- richdocumentscode: 22.5.1301
- secrets: 1.4.1
- serverinfo: 1.16.0
- settings: 1.8.0
- sharebymail: 1.16.0
- snappymail: 2.27.3
- suspicious_login: 4.4.0
- terms_of_service: 2.1.0
- text: 3.7.2
- theming: 2.1.1
- twofactor_admin: 4.1.9
- twofactor_backupcodes: 1.15.0
- twofactor_email: 2.7.2
- twofactor_nextcloud_notification: 3.6.0
- twofactor_totp: 8.0.0-alpha.0
- user_external: 3.1.0
- viewer: 1.10.0
- workflowengine: 2.8.0
Disabled:
- activity: 2.18.0 (installed 2.18.0)
- admin_audit: 1.16.0
- calendar: 4.3.3 (installed 4.3.3)
- circles: 26.0.0 (installed 26.0.0)
- contacts: 5.2.0 (installed 5.2.0)
- contactsinteraction: 1.7.0 (installed 1.7.0)
- dashboard: 7.6.0 (installed 7.6.0)
- encryption: 2.14.0
- federation: 1.16.0 (installed 1.16.0)
- files_external: 1.18.0
- nextcloud_announcements: 1.15.0 (installed 1.15.0)
- photos: 2.2.0 (installed 2.2.0)
- privacy: 1.10.0 (installed 1.10.0)
- recommendations: 1.5.0 (installed 1.5.0)
- related_resources: 1.1.0-alpha1 (installed 1.1.0-alpha1)
- spreed: 16.0.3 (installed 16.0.3)
- support: 1.9.0 (installed 1.9.0)
- survey_client: 1.14.0 (installed 1.14.0)
- systemtags: 1.16.0 (installed 1.16.0)
- twofactor_webauthn: 1.1.2 (installed 1.1.2)
- updatenotification: 1.16.0 (installed 1.16.0)
- user_ldap: 1.16.0
- user_status: 1.6.0 (installed 1.6.0)
- weather_status: 1.6.0 (installed 1.6.0)
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
{"reqId":"VgL1qCuSZERz29JiUFca","level":3,"time":"2023-04-25T06:54:02+00:00","remoteAddr":"68.49.4.45","user":"root","app":"PHP","method":"GET","url":"/index.php/settings/admin","message":"Undefined array key \"mail_smtpauthtype\" at /var/www/nextcloud/apps/settings/templates/settings/admin/additional-mail.php#132","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0","version":"26.0.0.11","data":{"app":"PHP"}
Additional info
I'm sorry I can't recall where else I saw this. But I know this one happens as I am able to replicate it right now.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the administration basic settings mailer section using the stated Firefox zoom and display settings. Start with apps/settings/templates/settings/admin/additional-mail.php around line 132 and inspect the checkbox interaction; done means the rounded white work area keeps its height after checking or unchecking the authentication option without requiring a reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100