joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Content of last note is not showed on startup when "All notes" is used

Open iJorgen opened this issue 10 months ago • 4 comments

Operating system

Linux

Joplin version

3.0.6

Desktop version info

Joplin 3.0.6 (prod, linux)

Sync Version: 3 Profile Version: 47 Keychain Supported: No

Revision: 18b9f5c

Backup: 1.4.1

Current behaviour

Scenario 1: When a notebook and a notebook is marked, the content of the last edited note is shown on next startup. EDIT: Just noticed that the note in the top of the list is marked on startup and not the last edited on. Is this correct or should it remember what note was marked?!

Scenario 2: When "All notes" and a notebook is marked, the last edited note is not selected leading to the content is not shown on next startup.

I guess this is a new bug and not a "feature". Could it be related to the changes in this issue?! https://github.com/laurent22/joplin/issues/10194

Expected behaviour

Show the content of the last edited note on the right on startup. Don't work when "All notes" is used, since no note is marked.

Logs

No response

iJorgen avatar Apr 28 '24 13:04 iJorgen

Hi! I can take a look at this but would like to clarify a couple things:

A) For scenario 1 do you mean:

  1. click on some notebook in the left side bar under 'NOTEBOOKS'
  2. have some to-do and mark as completed(?) what do you mean by 'marking a notebook'?

note in the top of the list is marked on startup and not the last edited on Can you clarify what this means? Are you saying that you have some to-do marked, and on startup it switches places with the top note? Or does the top note become marked when previously it was not?

B) I cannot reproduce this:

  1. Be in 'All notes'
  2. have 2 to-dos 'todoA', 'todoB'
  3. edit 'todoB'
  4. restart
  5. see 'todoB'

This works whether either of them are marked or not

simonha9 avatar May 11 '24 14:05 simonha9

Hi Simon!

I'll try to clarify... :-) Scenario 1 is working correct showing the latest note edited, but Scenario 2 shows an empty screen with no note selected on startup.

  1. Be in "All notes"
  2. Select a note in the list and do some editing in the markdown editor.
  3. Exit Joplin
  4. Start Joplin again and now no note is selected and the markdown editor is empty.

Shouldn't the latest note be shown like it does if a specific notebook is selected?!

iJorgen avatar May 11 '24 15:05 iJorgen

Hi Jorgen,

Scenario 2 works on windows but not on linux, you are correct that the latest note (last edited) should be shown on startup, I will look into this.

Thanks for clarifying 😄

simonha9 avatar May 12 '24 13:05 simonha9

Great!! :smile: Hope you can find this sneaky bug. :bug:

iJorgen avatar May 12 '24 14:05 iJorgen