masm11 / emacs

Mirror of GNU Emacs
http://www.gnu.org/software/emacs/
GNU General Public License v3.0
198 stars 14 forks source link

pdf-tools issue #34

Closed A6GibKm closed 4 years ago

A6GibKm commented 4 years ago

First of all, I can't thank you enough for this fork, Emacs not being a native wayland app causes some 'issues'.

Whenenevr I run pdf-view-auto-slice-minor-mode on pdf-tools I get a glitched pdf preview

image

Not only the right third of the image is ill scaled but the lower third is also weird (the text does not repeat Lemma 0.1 thrice).

This started happening when I switched from vanilla emacs 27.0.91 to the pgtk-nativecomp branch of https://github.com/fejfighter/emacs, so it is still possible that this is a native-comp bug.

A6GibKm commented 4 years ago

I'll add another preview

image

masm11 commented 4 years ago

repro

I can reproduce something similar. I'll debug that.

A6GibKm commented 4 years ago

A similar issue arises when showing images in elfeed-mode,

image

Here, instead of showing the image I see the contents of the previous buffer elfeed-search

masm11 commented 4 years ago

I fixed it in #37. Please try it. If really fixed, I'll merge it into pgtk.

fixed

A6GibKm commented 4 years ago

I tested it and it fixes both the issue on pdf-tools and elfeed on first inspection.

masm11 commented 4 years ago

thanks.