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

[pdf] Improve performance with transient states #16606

Merged

Conversation

fnussbaum
Copy link
Contributor

Redisplaying pdf pages can be slow. Similar to how it is already disabled for minibuffer prompts (see the implementation of pdf-view-maybe-redisplay-resized-windows), do not redisplay when entering a transient state and while it is active. Note that after exiting a transient state redisplay will be done if necessary.

This makes a difference when pdf-view-display-size is fit-height, or when resizing windows using the window transient state.

Addresses #16517.

Redisplaying pdf pages can be slow. Similar to how it is already disabled for
minibuffer prompts (see the implementation of
`pdf-view-maybe-redisplay-resized-windows`), do not redisplay when entering a
transient state and while it is active. Note that after exiting a transient
state redisplay will be done if necessary.

This makes a difference when `pdf-view-display-size` is `fit-height`,
or when resizing windows using the window transient state.
@smile13241324 smile13241324 merged commit 6f5d52b into syl20bnr:develop Oct 5, 2024
9 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.

2 participants