Skip to content

Sharing an unsaved new note exports empty content on first attempt #3300

Description

@ErikMichelson

This issue respects the following points:

Describe the bug

When sharing a newly created, unsaved note for the first time, the outgoing Android share intent appears to contain no text content. The receiving app opens but displays no shared content.

After returning to Nextcloud Notes and sharing the same note a second time, the receiving app receives and displays the complete note content as expected.

Reproducibility:

  1. Create a new note and write some words
  2. Open the "three dots" menu and select "Share"
  3. In the Android share target picker, choose any app, for example a messenger
  4. See the messenger not showing any content
  5. Return back to the Nextcloud Notes app
  6. Open the "three dots" menu and select "Share" again for a second time
  7. Choose the same app in the Android share target picker
  8. See the messenger showing the note content

Expected behavior

The first share action should pass the current note content to the receiving app, including when the note has not yet been explicitly saved/synchronized.

Notes Android version

34.0.0

Notes server version

6.0.1

Nextcloud Android version

34.1.0

Nextcloud version

34.0.2

Device

Xiaomi Mi 11

Android Version

14

App Store

  • Google Play Store
  • F-Droid
  • Huawei App Gallery

Stacktrace

none

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