spesmilo / spesmilo/electrum

[Bug Report] [Android] Labels don't get saved unless app is closed with back button

Open
#8,979 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Current Behavior: If labels are added to certain transactions and app is closed by opening app drawer(swipe up) then labels don't get saved which be seen when you open the app again. It does get saved properly if exited by back button and clicking on yes in the app prompt to close electrum.

Expected behavior: Labels should get saved as and when created regardless of if/how the app is closed.

Steps to reproduce:

  1. Open electrum and label any transaction, exit the app by swipe up from app drawer.
    Open electrum again to see that it doesn't get saved.
  2. Do the same again but close the app by clicking back button and click yes when prompted by app. Now when electrum is opened again, it shows the newly created label.

OS: AOSP 14 (Latest)
Electrum version: 4.5.4.0

Contributor guide

No contributing guide indexed for this repository

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 label-saving behavior on AOSP 14 with Electrum 4.5.4.0, comparing swipe-up app dismissal with the back-button exit and confirmation flow. Trace the Android label persistence path and verify that a newly added transaction label remains after either way of closing the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.