Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong note is shown up after deleting a note #1098

Open
jakobroehrl opened this issue Aug 18, 2023 · 4 comments
Open

wrong note is shown up after deleting a note #1098

jakobroehrl opened this issue Aug 18, 2023 · 4 comments
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced

Comments

@jakobroehrl
Copy link

Steps to reproduce

  1. click on a note to show the content
  2. delete another note with the ... menu > Delete not
  3. click on some notes, now the wrong notes are shown up
  4. solve this with a page reload
@jakobroehrl jakobroehrl added bug Something isn't working need to reproduce Issue that has not been reproduced labels Aug 18, 2023
@marxistvegan
Copy link

marxistvegan commented Sep 6, 2023

This has happened to me as well both on 27.0.1 and also on 27.0.2 both running notes 4.81
I rely on notes daily and needed to find a secondary approach to this until this gets resolved
This is also related to [new ones being immediately deleted] (#1107) as well and also related to [notes being locked] (#981).

@tuxick

This comment has been minimized.

@joshtrichards
Copy link
Member

solve this with a page reload

This may have been the same as #1298 and addressed in #1322. Can you confirm whether this behavior is gone for you in v4.10.1?

@joshtrichards joshtrichards added the needs info More details are needed in order to validate issue label Aug 8, 2024
@joshtrichards joshtrichards changed the title wrong note is shown up after deleging a note wrong note is shown up after deleting a note Aug 8, 2024
@MrRinkana
Copy link

MrRinkana commented Nov 8, 2024

I don't believe those are the same issue, either way I believe I'm having this issue on 4.11.0, nc 29.0.9.

For me after deleting a note the same note is shown independent of what note i select.

See behaviour here

Steps to reproduce:

  1. Browse around notes, things work as expected.
  2. Delete a note that you no longer need (start of video)
  3. Select another note (this works)
  4. Try selecting any other note, or category (does not work, previous note is shown)
  5. Reload
  6. The note you selected last appears (things work again)

If one stays at the note that was deleted, a message appears: "session for editing note has expired, please reload page", maybe that breaks the UI?

EDIT:
After some more testing, the above case seems to happen mostly when one is viewing the note that is deleted.
Deleting a note that is not currently selected is more robust, but can end up with no notes showing up with "File could not be found".
Reloading always fixes the issue, but resets your current position (category, scroll pos) which is noticable when one is cleaning out notes.

@joshtrichards joshtrichards removed the needs info More details are needed in order to validate issue label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced
Projects
None yet
Development

No branches or pull requests

5 participants