WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

In editor-only layout, mistakenly navigating to the top of a note after a global search without match #12034

@UlyssesZh

Description

@UlyssesZh

Operating system

Linux

Joplin version

3.1.24

Desktop version info

Joplin 3.1.24 (prod, linux)

Client ID: 5e57b8c85dbf4471b72bedc55115b483
Sync Version: 3
Profile Version: 47
Keychain Supported: No

Revision: d581264

ABC Sheet Music Plugin: 1.0.5
Backup: 1.4.2
CodeMirror 6 snippets: 0.0.8

Current behaviour

  1. Open a note and scroll to somewhere. Click the "Toggle editor layout" button to switch to editor-only layout (no preview, no WYSIWYG editing).
  2. Press F6 or click the search box.
  3. Type something that never appeared in any notes so that it shows "No notes in here."
  4. Press Esc to exit searching.
  5. Notice that the note is now scrolled to the top instead of the previous position.

Expected behaviour

It should come back to the previous position in the note after the search, just like the editor-and-preview layout.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt's a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions