vedang / pdf-tools

Emacs support library for PDF files.
https://pdftools.wiki
GNU General Public License v3.0
641 stars 90 forks source link

Arrow tooltip does not show on macOS #175

Open apc opened 1 year ago

apc commented 1 year ago

Describe the bug Arrow tooltip does not show on macOS.

Steps to Reproduce the behaviour Open .tex file and call pdf-sync-forward-search, note that there is a small, yellowish square on PDF where arrow should appear.

What is the expected behaviour? I expect to see an arrow or some other indicator.

Desktop Please complete the following information:

Your pdf-tools install Please complete the following information:

(use-package pdf-tools
  :mode  ("\\.pdf\\'" . pdf-view-mode)
  :init
  (defun my/hide-fringes ()
    (setq left-fringe-width 0)
    (setq right-fringe-width 0))
  :custom
  (pdf-view-use-scaling t)
  (pdf-view-display-size 'fit-width) ;; I may need to switch this to =setq-default= and move to :config.
  :config
  (pdf-tools-install :no-query)
  (pdf-sync-minor-mode)
  (add-hook 'pdf-view-mode-hook 'my/hide-fringes 'my/toggle-pdf-flag)
  (define-key pdf-view-mode-map (kbd "C-s") 'isearch-forward)
  (define-key pdf-view-mode-map (kbd "s-f") 'isearch-forward))

Additional context

image
stewmehr commented 1 year ago

Just commenting to confirm that I am experiencing the same problem. I originally reported this as an issue in another package I am using (namely org-noter), but have finally been able to trace back the origins of the disappearing arrows to here.