From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38176: 27.0.50; pdf-tools images do not display Date: Sun, 17 Nov 2019 21:00:08 +0200 Message-ID: <83mucu49c7.fsf@gnu.org> References: <87h83939d1.fsf@telefonica.net> <87lfsjqa8k.fsf@gnus.org> <87ftir0zdx.fsf@telefonica.net> <87v9rnnf8i.fsf@gnus.org> <87tv727qxs.fsf@gnus.org> <87ftimzal8.fsf@telefonica.net> <87tv724axt.fsf@gnus.org> <83r22649w7.fsf@gnu.org> <87r226uydn.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="147630"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ofv@wanadoo.es, 38176@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 17 20:01:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iWPnK-000cGS-MO for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 20:01:10 +0100 Original-Received: from localhost ([::1]:55716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWPnJ-0001Rn-CK for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 14:01:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50558) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWPnD-0001Q5-Ee for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 14:01:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWPnC-0002Bi-C0 for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 14:01:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWPnC-0002BZ-8e for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 14:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWPnC-0005HH-5T for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 14:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2019 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38176 X-GNU-PR-Package: emacs Original-Received: via spool by 38176-submit@debbugs.gnu.org id=B38176.157401721720224 (code B ref 38176); Sun, 17 Nov 2019 19:01:02 +0000 Original-Received: (at 38176) by debbugs.gnu.org; 17 Nov 2019 19:00:17 +0000 Original-Received: from localhost ([127.0.0.1]:42649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWPmS-0005G7-NG for submit@debbugs.gnu.org; Sun, 17 Nov 2019 14:00:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWPmR-0005Fr-9Z for 38176@debbugs.gnu.org; Sun, 17 Nov 2019 14:00:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iWPmL-0001nR-LN; Sun, 17 Nov 2019 14:00:09 -0500 Original-Received: from [176.228.60.248] (port=2599 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iWPmJ-00048v-Ca; Sun, 17 Nov 2019 14:00:08 -0500 In-reply-to: <87r226uydn.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 17 Nov 2019 19:54:44 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171845 Archived-At: > From: Lars Ingebrigtsen > Cc: ofv@wanadoo.es, 38176@debbugs.gnu.org > Date: Sun, 17 Nov 2019 19:54:44 +0100 > > >> It's comparing the output of window-vscroll (which returns the position > >> in number-of-lines, not pixels) with the return value of > >> image-scroll-up, which returns a value in pixels. It's not documented > >> at all what the latter function is supposed to return, so it looks like > >> a bug to me that pdf-tools relies on it. > > > > This was supposed to be fixed already, see bug#37578. > > Hm... That and the related bug#37874 fixes the problem in doc-view that > the change in image-mode caused, if I read this correctly. But the > problem here was with the out-of-tree pdf-tools package, which > apparently needs the same fixes that doc-view got. No, 37874 is about pdf-tools. The author says there the fix is on a branch, so maybe that's why Óscar doesn't have it yet.