nextcloud / nextcloud/calendar

[Bug]: On calendar item with mult-line description, editing buttons disappear off bottom of screen

Open
#6,430 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug Feature: Editor
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

⚠️ This issue respects the following points: ⚠️
Bug description

If you create a calendar item, and add a multi-line description (with the number of lines depending on your screen size), all the action buttons on the editing pop-up disappear off the bottom of the screen. And there is no scroll bar to bring them back up.

This happens only on the editing pop-up, not on the Details pop-up on the right side, where the editing buttons remain visible no matter what the item contains or where you scroll to within it.

Steps to reproduce
  1. Create a calendar item
  2. Add a multi-line text description
  3. After some number of lines, depending on your screen size and font size, watch the Update buttons disappear off the bottom of the screen.

See attached pictures on my particular screen, with a description with 4 lines (fine), 6 lines (starting to lose the buttons), and 9 lines (buttons all gone).

Image
Image
Image

Expected behavior

Buttons to Update or see Details should always remain visible.

Nextcloud Server version

29

Operating system

Other

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?

Updated from a MINOR version (ex. 28.0.1 to 28.0.2)

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": [
"nc.electricembers.coop"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "29.0.8.1",
"overwrite.cli.url": "https://nc.electricembers.coop",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"mail_smtpmode": "sendmail",
"mail_sendmailmode": "pipe",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"maintenance": false,
"maintenance_window_start": 1,
"default_phone_region": "US",
"theme": "",
"loglevel": 2
}
}

List of activated Apps

Enabled:

  • activity: 2.21.1
  • calendar: 4.7.16
  • circles: 29.0.0-dev
  • cloud_federation_api: 1.12.0
  • comments: 1.19.0
  • contactsinteraction: 1.10.0
  • dashboard: 7.9.0
  • dav: 1.30.1
  • federatedfilesharing: 1.19.0
  • federation: 1.19.0
  • files: 2.1.1
  • files_downloadlimit: 2.0.0
  • files_pdfviewer: 2.10.0
  • files_reminders: 1.2.0
  • files_sharing: 1.21.0
  • files_trashbin: 1.19.0
  • files_versions: 1.22.0
  • firstrunwizard: 2.18.0
  • logreader: 2.14.0
  • lookup_server_connector: 1.17.0
  • nextcloud_announcements: 1.18.0
  • notifications: 2.17.0
  • oauth2: 1.17.1
  • onlyoffice: 9.4.0
  • password_policy: 1.19.0
  • passwords: 2024.9.10
  • photos: 2.5.0
  • privacy: 1.13.0
  • provisioning_api: 1.19.0
  • recommendations: 2.1.0
  • related_resources: 1.4.0
  • secrets: 2.1.1
  • serverinfo: 1.19.0
  • settings: 1.12.0
  • sharebymail: 1.19.0
  • spreed: 19.0.10
  • support: 1.12.0
  • survey_client: 1.17.0
  • systemtags: 1.19.0
  • text: 3.10.1
  • theming: 2.4.0
  • twofactor_backupcodes: 1.18.0
  • updatenotification: 1.19.1
  • user_status: 1.9.0
  • viewer: 2.3.0
  • workflowengine: 2.11.0
    Disabled:
  • admin_audit: 1.19.0
  • bruteforcesettings: 2.9.0
  • encryption: 2.17.0
  • files_external: 1.21.0
  • suspicious_login: 7.0.0
  • twofactor_totp: 11.0.0-dev
  • user_ldap: 1.20.0
  • weather_status: 1.9.0 (installed 1.9.0)
Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"zHsHViEFcgwBLnuiyBXe","level":3,"time":"2024-10-15T17:10:00+00:00","remoteAddr":"207.53.255.222","user":"adam","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"Call to undefined method OC\AppFramework\ScopedPsrLogger::logException() in file '/home/eenextcloud/public_html/apps/secrets/lib/Notification/Notifier.php' line 68","userAgent":"Mozilla/5.0 (Windows) mirall/3.14.13.14-Win64 (build 20240927) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.8.1","exception":{"Exception":"Exception","Message":"Call to undefined method OC\AppFramework\ScopedPsrLogger::logException() in file '/home/eenextcloud/public_html/apps/secrets/lib/Notification/Notifier.php' line 68","Code":0,"Trace":[{"file":"/home/eenextcloud/public_html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Notifications\Controller\EndpointController"],"listNotifications"]},{"file":"/home/eenextcloud/public_html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Notifications\Controller\EndpointController","listNotifications",["OC\AppFramework\DependencyInjection\DIContainer"],["v2","ocs.notifications.endpoint.listnotifications"]]},{"file":"/home/eenextcloud/public_html/ocs/v1.php","line":66,"function":"match","class":"OC\Route\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/notifications"]},{"file":"/home/eenextcloud/public_html/ocs/v2.php","line":23,"args":["/home/eenextcloud/public_html/ocs/v1.php"],"function":"require_once"}],"File":"/home/eenextcloud/public_html/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"Error","Message":"Call to undefined method OC\AppFramework\ScopedPsrLogger::logException()","Code":0,"Trace":[{"file":"/home/eenextcloud/public_html/lib/private/Notification/Manager.php","line":355,"function":"prepare","class":"OCA\Secrets\Notification\Notifier","type":"->","args":[["OC\Notification\Notification"],"en"]},{"file":"/home/eenextcloud/public_html/apps/notifications/lib/Controller/EndpointController.php","line":118,"function":"prepare","class":"OC\Notification\Manager","type":"->","args":[["OC\Notification\Notification"],"en"]},{"file":"/home/eenextcloud/public_html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"listNotifications","class":"OCA\Notifications\Controller\EndpointController","type":"->","args":["v2"]},{"file":"/home/eenextcloud/public_html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Notifications\Controller\EndpointController"],"listNotifications"]},{"file":"/home/eenextcloud/public_html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Notifications\Controller\EndpointController"],"listNotifications"]},{"file":"/home/eenextcloud/public_html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Notifications\Controller\EndpointController","listNotifications",["OC\AppFramework\DependencyInjection\DIContainer"],["v2","ocs.notifications.endpoint.listnotifications"]]},{"file":"/home/eenextcloud/public_html/ocs/v1.php","line":66,"function":"match","class":"OC\Route\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/notifications"]},{"file":"/home/eenextcloud/public_html/ocs/v2.php","line":23,"args":["/home/eenextcloud/public_html/ocs/v1.php"],"function":"require_once"}],"File":"/home/eenextcloud/public_html/apps/secrets/lib/Notification/Notifier.php","Line":68},"message":"Call to undefined method OC\AppFramework\ScopedPsrLogger::logException() in file '/home/eenextcloud/public_html/apps/secrets/lib/Notification/Notifier.php' line 68","exception":{},"CustomMessage":"Call to undefined method OC\AppFramework\ScopedPsrLogger::logException() in file '/home/eenextcloud/public_html/apps/secrets/lib/Notification/Notifier.php' line 68"}}

Additional info

Running on FreeBSD 13.3

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 issue in the calendar event editing pop-up with descriptions of increasing length, and compare it with the Details pop-up. The work is done when the Update and Details buttons remain visible and usable for multi-line descriptions across the reported screen sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.