Describe the bug
Using windmove to swap a PDFView buffer into a different window in the frame causes
Steps to Reproduce the behaviour
Steps to reproduce the behaviour:
- Split the frame vertically.
- Open a PDF in the left buffer.
- windmove-swap-states-right
- Page forward and back
- windmove-swap-states-left
- Page forward and back.
What is the expected behaviour?
The buffer should behave normally after any windmove-swap.
Desktop
Please complete the following information:
- OS: macOS Tahoe
- Emacs Version: 30.2 (d12frosted)
- Poppler Version: 26.0.2
Your pdf-tools install
Please complete the following information:
Status: Installed in ‘pdf-tools-20260102.1101/’ (unsigned). Delete
Version: 20260102.1101
Commit: e4b7f1f37cf59ddf025d609ffcdabe732a6e99ba
Summary: Support library for PDF documents.
Requires: emacs-26.3, tablist-1.0, let-alist-1.0.4
Website: https://github.com/vedang/pdf-tools/
Keywords: files multimedia
Author: Andreas Politz <mail@andreas-politz.de>
Other versions: 20260102.1101 (melpa), 1.3.0 (nongnu).
pdf-tools customization / configuration that you use
(use-package pdf-tools
:ensure t
:defer t
:init
(add-to-list 'auto-mode-alist '("\\.[Pp][Dd][Ff]\\'" . pdf-view-mode))
:config
(pdf-loader-install))
Additional context
- Sometimes movement still works after a single swap operation, but not after a second.
- Moving a PDFView buffer back to a window where movement previously worked will "fix" the problem, so this is possibly something about window parameters.
Describe the bug
Using windmove to swap a PDFView buffer into a different window in the frame causes
Steps to Reproduce the behaviour
Steps to reproduce the behaviour:
What is the expected behaviour?
The buffer should behave normally after any windmove-swap.
Desktop
Please complete the following information:
Your pdf-tools install
Please complete the following information:
pdf-toolsVersion:pdf-toolscustomization / configuration that you useAdditional context