Bitcoin Forum

Bitcoin => Electrum => Topic started by: NotATether on March 13, 2024, 11:19:34 AM



Title: Does Electrum not save the notes you type?
Post by: NotATether on March 13, 2024, 11:19:34 AM
Version: 4.5.0 (Linux)

I typed in a note inside the Notes tab of my Electrum wallet, and I was shocked to discover that when I closed and opened Electrum wallet again, the note was gone.

As far as I know, there is no dedicated Save button for notes. So how is this data supposed to be saved? Clearly it is not on auto-save so is there some button or menu entry I'm unaware of?


Title: Re: Does Electrum not save the notes you type?
Post by: AB de Royse777 on March 13, 2024, 12:35:22 PM
I could not find any Note option at all :-D
Is it something to do with address label?


Title: Re: Does Electrum not save the notes you type?
Post by: satscraper on March 13, 2024, 01:32:08 PM
Version: 4.5.0 (Linux)

I typed in a note inside the Notes tab of my Electrum wallet, and I was shocked to discover that when I closed and opened Electrum wallet again, the note was gone.

As far as I know, there is no dedicated Save button for notes. So how is this data supposed to be saved? Clearly it is not on auto-save so is there some button or menu entry I'm unaware of?

Strange. Mine (with the latest 4.5.3)  is saved after closing. There is no any button. It is saved automatically (Ubuntu)

Quote from: satscraper's_Electrum_on_Ubuntu



I could not find any Note option at all :-D
Is it something to do with address label?

View --> Check "Notes"


Title: Re: Does Electrum not save the notes you type?
Post by: _act_ on March 13, 2024, 01:40:57 PM
I typed in a note inside the Notes tab of my Electrum wallet, and I was shocked to discover that when I closed and opened Electrum wallet again, the note was gone.
Do you have more than one wallet there? When you close the wallet, probably it opened another wallet for you after you open the wallet again. I am using Windows and I saved automatically and not deleted. I guess the error is from your end and not Electum. Not a bug.


Title: Re: Does Electrum not save the notes you type?
Post by: BitMaxz on March 13, 2024, 05:07:32 PM
It works fine for me.

How did you run Electrum? Did you run it without installing it? Or the Linux OS you use is Tails? Because if it's a tails then once you shut down your PC all things you do will be automatically deleted leaving no traces including the notes you save on the Electrum.


Title: Re: Does Electrum not save the notes you type?
Post by: alastantiger on March 13, 2024, 06:44:43 PM
Version: 4.5.0 (Linux)

I typed in a note inside the Notes tab of my Electrum wallet, and I was shocked to discover that when I closed and opened Electrum wallet again, the note was gone.

As far as I know, there is no dedicated Save button for notes. So how is this data supposed to be saved? Clearly it is not on auto-save so is there some button or menu entry I'm unaware of?
I am using version 4.5.2 on Windows

The notes works fine. I don't have to press any button for save. I have closed and opened it and what I have written in the note is there.

I think it is autosave.

I think you should update your software to version 4.5.3 the latest if it is available for Linux.


Title: Re: Does Electrum not save the notes you type?
Post by: NotATether on March 14, 2024, 07:15:08 AM
It works fine for me.

How did you run Electrum? Did you run it without installing it? Or the Linux OS you use is Tails? Because if it's a tails then once you shut down your PC all things you do will be automatically deleted leaving no traces including the notes you save on the Electrum.

I run Electrum from the python .tar.gz archive, which was installed by pip. On Ubuntu.

I should note, that the wallet was closed during a crash. So Electrum did not close normally. So maybe it only saves the notes when you close Electrum normally?

I only have one wallet inside Electrum.

I think you should update your software to version 4.5.3 the latest if it is available for Linux.

There is no point in updating if the changelog does not indicate that there is a bug of this sort that is fixed (and also for security vulnerabilities, but that is a different story and not relevant to this topic).


Title: Re: Does Electrum not save the notes you type?
Post by: nc50lc on March 15, 2024, 08:03:15 AM
I should note, that the wallet was closed during a crash. So Electrum did not close normally. So maybe it only saves the notes when you close Electrum normally?
That makes sense.

The note will be saved in the wallet file within the "notes_text": "my notes", array (visible if wallet file isn't encrypted)
But unlike transactions and invoices, the notes are only kept in RAM while the wallet is open, it'll only queue an update to the wallet file in disk after the wallet is closed.
It can be seen outside the whole wallet json object, below as: {"op": "replace", "path": "/notes_text", "value": ""}
The next time you open it, the update will be applied to "notes_text".


Title: Re: Does Electrum not save the notes you type?
Post by: NotATether on March 17, 2024, 09:28:37 AM
I have confirmed that this behavior is indeed a bug and have opened a Github issue about it: https://github.com/spesmilo/electrum/issues/8951


Title: Re: Does Electrum not save the notes you type?
Post by: NotATether on March 28, 2024, 07:42:18 AM
This issue has now been fixed and it should be available in the next Electrum release: https://github.com/spesmilo/electrum/commit/17599de611fcafbda1160ceb6524aa8e9e0c1ac5