nextcloud / nextcloud/notes-android

Importing note from other app duplicates the title

Open
#2,022 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

I was using OpenTasks (https://github.com/dmfs/opentasks/issues) and switched to the Nextcloud Notes app.

In open tasks, I opened each task and chose add note to share the note with NC Notes.

In each instance that I did this, the title would be duplicated once and sometimes twice.

So if the original title of the note in OpenTasks is "Movies to Watch" the NC app shows "Movies to WatchMovies to Watch"

To reproduce:

In open tasks, select a task. I created a test note with the title "Test" and the text "Test Note" as the note body.

Choose 3 dot menu and select Send To
Select New Note
NC Notes opens with the OpenTaskss note

The title of the note is:

"Test: Test"

The body of the note is:
Test: Test

Test note

Status: needs action

I attached a screenshot of the newly created note.

I expect that the title wouldn't be duplicated and also added to the body of the note.

I'm using Nextcloud Notes 4.1.0 downloaded from F-Droid on a Samsung S24 running Android 14.

My Nextcloud server is running 28.0.1.

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

Reproduce the issue by sending a note from OpenTasks through Send To → New Note, using the reported title and body. Start by tracing the Android import flow that receives this shared content and compare the title and body values shown in the new note. Done means the imported title appears once and is not also duplicated into the body unexpectedly.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.