nextcloud / nextcloud/notes

Images and tables under to-do lists interfere with typing

Open
#1,576 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug design need to reproduce
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Hello! When I create a To-Do list and add a table or an image under it, I cannot type
normally in the surroundings of it. I mean, if I click on any cell, the table settings menu
comes up and I cannot type anything. In order to type, I have to hold left mouse button
on the cell. When I click on the list item text, same thing happens. Same thing with images.
But in case of images, when I click anywhere near the image, its caption automatically
selects (video is attached). Everything is OK with ordered and unordered lists, though.
This isn't a new bug, it was the same with an old version of NextCloud and Notes app.
I updated both today, nothing changed.

Steps to reproduce

  1. Create a to-do list. Type something in the list item
  2. Press Shift + Enter
  3. Add any table or image
  4. Try clicking anywhere within this list item
Expected behaviour

It should let me type anything where I put the cursor

Actual behaviour

Table settings pop up / image caption selects and interferes with typing

Screenshots

https://github.com/user-attachments/assets/196d3337-3ffa-45c6-bdd7-8fdc9d5f1487

Server

  • Notes app version: 4.12.1
  • Nextcloud version: 31.0.6
  • OS: Devuan 5
  • Web server: Apache 2.4.62
  • PHP version: 8.2.28
  • Database: mariadb Ver 15.1 Distrib 10.11.11-MariaDB

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.1.108",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.6.2",
        "overwrite.cli.url": "http:\/\/192.168.1.108\/nextcloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "loglevel": 2
    }
}

Client

Firefox 139.0.4 on Arch Linux
Safari 18.0.1 on macOS 14.7

Log files

Nothing appears neither in JS console, nor in nextcloud.log when I reproduce the bug

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 Notes editor with a to-do list, Shift+Enter, and a table or image, using the listed Firefox or Safari environments. Inspect the editor behavior around list items, tables, and images; done means the cursor can be placed and text entered normally without opening table settings or selecting an image caption.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.