Skip to content

When using RTE, switching to a note from go to anything search results with keyboard immediately updates note last modified date #12367

@bwat47

Description

@bwat47

Operating system

Windows

Joplin version

3.3.12

Desktop version info

Joplin 3.3.12 (prod, win32)

Device: win32, Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Client ID: acf44d67875e4c478d29d7d4c738fc72
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes
Alternative instance ID: -

Revision: 4d790b6

Backup: 1.4.3
Copy Code Blocks: 2.0.0
Journal: 2.0.0
Note Tabs: 1.4.0
Rich Markdown: 0.16.0

Current behaviour

  1. Switch to the rich text editor
  2. Hit ctrl + p to launch go to anything search
  3. search for a note
  4. switch to the note from the results using mouse left click
  5. observe that the note's last modified date does not update (as expected since you haven't made any changes)
  6. Hit ctrl + p to launch go to anything search
  7. search for the same note from step 3/4
  8. Use your keyboard to switch to the note (arrow keys and then enter key to switch to the note)
  9. Observe that the note's last modified date is immediately updated

NOTE: I can re-create this consistently- It only happens when the rich text editor is active, and only when switching to the note using the keyboard.

NOTE: Navigating through the note list with the keyboard does not update the modified date, so probably a different issue than #11810. I can only re-create this when switching to the note via the gotoanything search.

NOTE: Looking at a diff before and after, it doesn't appear that anything changed with the note's content

Expected behaviour

Note last modified date should not be updated, since no modifications were made to the note

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt's a bugdesktopAll desktop platformseditorhighHigh priority issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions