Skip to content

Can't check/uncheck a checkbox in preview mode when line starts with more than one number #2002

Open
@ciconi

Description

@ciconi

Describe the bug
The notes app (or the android text view?) autolinks numbers > 1 to the contact app. This affects also the checkbox before the number. Even when exactly the checkbox is clicked, the underscored number link next to it catches the click and opens the number in the contacts app without changing the state of the checkbox. This happens for all numeric values that even can't be considered as a number.

To Reproduce

  1. Enter "12 Test" to a note
  2. Switch to "rich edit mode" view and format the line as "todo list"
  3. Go back to "plain edit mode"
  4. Enter preview
  5. Try to check/uncheck the item

Expected behavior
Checkbox should change state even when line starts with two or more numbers. Phone linking to the contacts app may be set as an option even if this disables the checkbox funktionality.

Screenshots
Screenshot_20240202-145514
Imagepipe_1

Workaround
Clicking on the text following the number ("test") or the empty space next to it is not linking the contacts app and is checking/unchecking the checkbox.

Smartphone (please complete the following information):

  • Nextcloud Notes-Version (android app): 4.1.0
  • F-Droid or Play Store: F-Droid
  • Android-Version: 14
  • Device: Pixel 8 Pro

Server

  • Nextcloud version: 28.0.1
  • Nextcloud Notes version (server app): 4.9.2

Bug is related to feature request #1460

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions