nextcloud / nextcloud/deck

Pressing tab to indent an item in an unordered list within the description of a card moves focues out of the description

Open
#5,939 7 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: description
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

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.

Describe the bug
When trying to indent an item in an unordered list by pressing tab, the item is not shifted but the focus is moved out of the description editor. This makes creating indented subitems impossible.

To Reproduce
Steps to reproduce the behavior:

  1. Create an unordered list in the description of a card
  2. Try to indent an item

Expected behavior
Item is indented.

Screenshots
Not really applicable.

Client details:

  • OS: Fedora Linux 40
  • Browser: Firefox 125.0.3, Chromium 124
  • Device: Desktop
Server details

Operating system: Fedora Linux 39

Web server: Apache/2.4.59 (Fedora Linux)

Database: mariadb Ver 15.1 Distrib 10.5.23-MariaDB, for Linux (x86_64) using EditLine wrapper

PHP version: 8.3

Nextcloud version: 29.0.1

Where did you install Nextcloud from: Archive

Signing status: No errors have been found.

List of activated apps:

Enabled:             
  - activity: 2.21.1
  - announcementcenter: 6.8.1
  - calendar: 4.7.4
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0             
  - contacts: 6.0.0           
  - contactsinteraction: 1.10.0
  - cospend: 1.6.1            
  - dashboard: 7.9.0  
  - dav: 1.30.1  
  - deck: 1.13.0         
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0       
  - files_downloadlimit: 2.0.0                 
  - files_external: 1.21.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         
  - forms: 4.2.3                                 
  - guests: 3.1.0                              
  - logreader: 2.14.0                          
  - lookup_server_connector: 1.17.0                  
  - mail: 3.6.1                  
  - memories: 7.3.1                    
  - music: 1.11.0                  
  - nextcloud_announcements: 1.18.0    
  - notes: 4.10.0                     
  - notifications: 2.17.0                       
  - notify_push: 0.6.11    
  - oauth2: 1.17.0   
  - password_policy: 1.19.0                
  - phonetrack: 0.8.1                         
  - photos: 2.5.0
  - polls: 7.0.3                                                                                                                                                                                                                              
  - previewgenerator: 5.5.0    
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - qownnotesapi: 24.4.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - spreed: 19.0.1
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - tables: 0.7.2
  - tasks: 0.16.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_admin: 4.5.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_totp: 11.0.0-dev
  - twofactor_webauthn: 1.4.0
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - admin_audit: 1.19.0
  - bruteforcesettings: 2.9.0 (installed 2.4.0)
  - checksum: 1.2.4 (installed 1.2.4)
  - collectives: 2.11.0 (installed 2.11.0)
  - encryption: 2.17.0
  - extract: 1.3.6 (installed 1.3.6)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - gpxpod: 5.0.18 (installed 5.0.18)
  - health: 2.2.2 (installed 2.2.2)
  - integration_gitlab: 1.0.19 (installed 1.0.19)
  - integration_google: 2.2.0 (installed 2.2.0)
  - integration_moodle: 1.0.2 (installed 1.0.2)
  - integration_whiteboard: 0.0.14 (installed 0.0.14)
  - maps: 1.4.0 (installed 1.4.0)
  - metadata: 0.19.0 (installed 0.19.0)
  - news: 24.0.0 (installed 24.0.0)
  - onlyoffice: 9.2.0 (installed 9.2.0)
  - recognize: 6.1.1 (installed 6.1.1)
  - socialsharing_email: 3.1.0 (installed 3.1.0)
  - suspicious_login: 7.0.0
  - user_ldap: 1.20.0
  - user_migration: 5.0.0 (installed 5.0.0)
  - workflow_script: 1.13.1 (installed 1.13.1)

Nextcloud configuration:

{                               
    "system": {                     
        "instanceid": "***REMOVED SENSITIVE VALUE***", 
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",                        
            "***REMOVED SENSITIVE VALUE***",
            "127.0.0.1"                                  
        ],                                                                                                             
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.1.1",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",                       
        "dbtableprefix": "oc_",                   
        "default_language": "en_GB", 
        "mysql.utf8mb4": true,          
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "enabledPreviewProviders": [
            "OC\\Preview\\BMP",
            "OC\\Preview\\GIF",                                                                                        
            "OC\\Preview\\JPEG",           
            "OC\\Preview\\MarkDown",                                                                                   
            "OC\\Preview\\MP3",                     
            "OC\\Preview\\PNG",                       
            "OC\\Preview\\TXT",
            "OC\\Preview\\XBitmap",     
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita",       
            "OC\\Preview\\HEIC",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie",
            "OC\\Preview\\MKV",                                                                                                                                                                                                               
            "OC\\Preview\\MP4",                                           
            "OC\\Preview\\AVI",        
            "OC\\Preview\\Image"      
        ],                                      
        "default_phone_region": "DE",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",       
        "redis": {                                                                                                                                                                                                                            
            "host": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                          
            "port": "0"                                                                                                
        },                                                 
        "htaccess.RewriteBase": "\/",                                                                                                                                                                                                         
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                 
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",                       
        "mail_smtpauthtype": "LOGIN",             
        "mail_smtpauth": 1, 
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",     
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",                                                          
        "maintenance": false,                            
        "theme": "",      
        "loglevel": 1,        
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",                                                             
        "logfilemode": 384,                       
        "lost_password_link": "disabled",         
        "updater.release.channel": "stable",
        "trashbin_retention_obligation": "60, 61",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [   
            "guest_app",                              
            "Testing"               
        ],                     
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",                                                            
        "memories.exiftool_no_local": true,
        "memories.vod.path": "\/var\/www\/nextcloud-subvolume\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",      
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "defaultapp": "",      
        "maintenance_window_start": "1",
        "memories.gis_type": 1,         
        "memories.db.triggers.fcu": true
    }                           
}

Are you using an external user-backend, if yes which one: No

Logs
Nextcloud log (data/nextcloud.log)
{
  "reqId": "bUyFbbNp24BYYhVcZMBK",
  "level": 3,
  "time": "2024-05-24T08:30:52+00:00",
  "remoteAddr": "",
  "user": "--",
  "app": "PHP",
  "method": "",
  "url": "--",
  "message": "Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/nextcloud-subvolume/nextcloud/apps/deck/lib/Service/ConfigService.php#234",
  "userAgent": "--",
  "version": "29.0.1.1",
  "data": {
    "app": "PHP"
  },
  "id": "665050469c34b"
}

No other logs with level info or higher related to deck.

Browser log

console-export-2024-5-27_18-14-52.txt

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 Deck card description editor using an unordered list and the Tab key, then trace the frontend entry point handling keyboard focus. Done means Tab indents the list item and keeps focus in the description; the payload does not identify a source file or test to run.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.