nextcloud / nextcloud/notes-android
Can't check/uncheck a checkbox in preview mode when line starts with more than one number
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 31
Description
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
- Enter "12 Test" to a note
- Switch to "rich edit mode" view and format the line as "todo list"
- Go back to "plain edit mode"
- Enter preview
- 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
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
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
Start by reproducing the numbered todo-list steps in preview mode on the Android app, then trace how checkbox clicks and automatic phone-number links are handled. Done means a checkbox toggles for lines beginning with multiple numbers, while the expected phone-link behavior or its option remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100