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

Editing a note causes its attachments opened on separate splits/windows to be re-rendered on each keystroke #1309

Open
rom1dep opened this issue Feb 28, 2025 · 0 comments

Comments

@rom1dep
Copy link
Contributor

rom1dep commented Feb 28, 2025

Description

Repro steps:

  • create a new note
  • drag & drop a PDF in it
  • right-click on the just-appeared link then "Open note in a new split"
  • in the newly opened pane, scroll down in the PDF
  • start typing something in the original note

Observed behaviour:

  • each key press causes the PDF note to be re-rendered
  • this considerably impedes the ability to write text, since the refresh causes high typing latency
  • this causes the page being viewed in the PDF to fall out of sight in Chrome (but not in Firefox), since the refresh causes the PDF viewer to re-open on the first page

Desired behaviour:

  • typing on the hosting note should not affect the preview of its attachments (or at least, not until the reference to the attachment is being removed)

TriliumNext Version

0.92.2-beta

What operating system are you using?

Other Linux

What is your setup?

Local (no sync)

Operating System Version

Linux

Error logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant