Skip to content

Activity_Diary: a saved activity note is lost after switching to another activity and back #321

Description

@fubai578
  • I can reproduce the bug with the latest version from the official source.
  • I searched open and closed issues for the same symptom.
  • I checked the FAQs inside the app and the problem is not listed.
  • I filled in all required details.
  • This report contains only one bug.

Steps to reproduce

  1. Start the app and select the built-in Cinema activity.
  2. Open the Note editor for Cinema, type some note text and tap OK.
  3. Open the Note editor again and confirm the note is still there (this step behaves correctly).
  4. Tap CANCEL to close the dialog, select Cleaning, then select Cinema again.
  5. Open the Note editor for Cinema once more.

Expected behavior

After switching back to Cinema, opening the Note editor should still show the note text that was
saved earlier. If the note was in fact not saved, the app should report the failure explicitly
when OK is tapped, instead of presenting it as saved.

Actual behavior

The note is saved - if I reopen the editor right after saving, it is there. But after looking at another activity and coming back, the note editor opens as normal (title, CANCEL and OK are all there) and the field is empty. The note is simply gone from the editor, with no error.

Screenshots / screen recordings

Environment

  • App version: 1.4.2 (version code 136)
  • Android: Android 14 (API 34)
  • Device: Android emulator, Pixel 6 profile (1080 x 2400)

Additional information

Package: de.rampro.activitydiary
Version: 1.4.2.

This is something I do all the time: write a note, glance at another activity, come back to add something - and the note is no longer shown, which makes it look as if it had been discarded.

Image Image
01_trigger_note_switch.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions