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

Desktop: Resolves #9890: Fix hiding the note preview pane is very slow for large notes #10006

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented Feb 26, 2024

Summary

Previously, the note preview pane was hidden by setting its width to 1pixel, to work around an Electron WebView bug. We no longer show the note preview pane in a WebView, however, and thus don't need to work around this bug.

Fixes #9890.

Testing

  1. Download the Project Gutenberg Ebook of Frankenstein and paste it ten times into a note
  2. Enable the beta Markdown editor
  3. Cycle through editor layouts
  4. Verify that hiding the preview pane isn't noticeably slower than showing it.
  5. Repeat steps 3-4 for the legacy Markdown editor.

This has been tested successfully on Ubuntu 23.10.

Screencast.from.2024-02-26.09-50-30.webm

@laurent22 laurent22 merged commit f6c7213 into laurent22:dev Mar 2, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

Desktop: Hiding the note preview pane is much slower than showing it for large notes
2 participants