From unknown Mon Aug 18 11:07:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2548 <2548@debbugs.gnu.org> To: bug#2548 <2548@debbugs.gnu.org> Subject: Status: 23.0.60; doc-view: unexpected reuse of previously scaled image Reply-To: bug#2548 <2548@debbugs.gnu.org> Date: Mon, 18 Aug 2025 18:07:10 +0000 retitle 2548 23.0.60; doc-view: unexpected reuse of previously scaled image reassign 2548 emacs submitter 2548 Markus Triska severity 2548 normal thanks From triska@gmx.at Mon Mar 2 17:31:58 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Mar 2009 01:31:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n231Vsnn022073 for ; Mon, 2 Mar 2009 17:31:55 -0800 Received: from mail.gnu.org ([199.232.76.166]:46113 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LeJRq-00045k-8p for emacs-pretest-bug@gnu.org; Mon, 02 Mar 2009 20:29:30 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LeJU8-0008WK-9J for emacs-pretest-bug@gnu.org; Mon, 02 Mar 2009 20:31:52 -0500 Received: from mail.gmx.net ([213.165.64.20]:55750) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LeJU7-0008W6-Gh for emacs-pretest-bug@gnu.org; Mon, 02 Mar 2009 20:31:52 -0500 Received: (qmail invoked by alias); 03 Mar 2009 01:31:49 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp025) with SMTP; 03 Mar 2009 02:31:49 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX18zq88+6Fkzm9nFhPMhRuu+jeNUzI8cIjv0FrPi7U GwyxRQNK9OSHuM Received: by mt-computer.local (Postfix, from userid 502) id A97F6C65FAA; Tue, 3 Mar 2009 02:31:41 +0100 (CET) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.60; doc-view: unexpected reuse of previously scaled image Message-Id: <20090303013141.A97F6C65FAA@mt-computer.local> Date: Tue, 3 Mar 2009 02:31:41 +0100 (CET) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. With p.ps from: http://www.logic.at/prolog/p.ps when I do: $ emacs -Q p.ps and press: C-c C-c - - - - - - - the image shrinks, as expected. Then, when I quit Emacs and again do: $ emacs -Q p.ps followed by C-c C-c, doc-view unexpectedly shows the small version from the previous run. When I then press "-", it "shrinks" the image so that the result is in fact larger than the just displayed image. In GNU Emacs 23.0.60.2 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2009-01-06 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t From tassilo@member.fsf.org Tue Mar 3 03:54:42 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Mar 2009 11:54:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n23Bsd5r021712 for ; Tue, 3 Mar 2009 03:54:40 -0800 Received: from mx10.gnu.org ([199.232.76.166]:42918) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LeTAU-0004RU-HG for emacs-pretest-bug@gnu.org; Tue, 03 Mar 2009 06:52:14 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LeTCm-0006mT-KN for emacs-pretest-bug@gnu.org; Tue, 03 Mar 2009 06:54:37 -0500 Received: from deliver.uni-koblenz.de ([141.26.64.15]:9430) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeTCm-0006mJ-Ab for emacs-pretest-bug@gnu.org; Tue, 03 Mar 2009 06:54:36 -0500 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 5D972789AD1A; Tue, 3 Mar 2009 12:54:35 +0100 (CET) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23073-06; Tue, 3 Mar 2009 12:54:34 +0100 (CET) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Received: from thinkpad.tsdh.de (dhcp121.uni-koblenz.de [141.26.71.121]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 5D602789ACE2; Tue, 3 Mar 2009 12:54:34 +0100 (CET) From: Tassilo Horn To: Markus Triska Cc: 2548-done@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#2548: 23.0.60; doc-view: unexpected reuse of previously scaled image References: Date: Tue, 03 Mar 2009 12:54:34 +0100 In-Reply-To: (Markus Triska's message of "Tue, 3 Mar 2009 02:31:41 +0100 (CET)") Message-ID: <87fxhult39.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Markus Triska writes: Hi Markus, > With p.ps from: > > http://www.logic.at/prolog/p.ps > > when I do: > > $ emacs -Q p.ps > > and press: > > C-c C-c - - - - - - - > > the image shrinks, as expected. Then, when I quit Emacs and again do: > > $ emacs -Q p.ps > > followed by C-c C-c, doc-view unexpectedly shows the small version > from the previous run. That's no bug. When you fire up emacs again doc-view uses the cached files, which are the small ones now. > When I then press "-", it "shrinks" the image so that the result is in > fact larger than the just displayed image. Yeah, cause the resulution factor is at the default value again and doc-view reconverts the doc using this default value x 0.95 or so. I'm closing that "bug". Bye, Tassilo From markus.triska@gmx.at Wed Mar 4 12:09:05 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Mar 2009 20:09:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24K91eb032369 for ; Wed, 4 Mar 2009 12:09:02 -0800 Received: from mail.gnu.org ([199.232.76.166]:57601 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LexOm-0003X6-U3 for emacs-pretest-bug@gnu.org; Wed, 04 Mar 2009 15:09:00 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LexOl-0006uw-TT for emacs-pretest-bug@gnu.org; Wed, 04 Mar 2009 15:09:00 -0500 Received: from mail.gmx.net ([213.165.64.20]:47804) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LexOl-0006uf-D1 for emacs-pretest-bug@gnu.org; Wed, 04 Mar 2009 15:08:59 -0500 Received: (qmail invoked by alias); 04 Mar 2009 20:08:57 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp057) with SMTP; 04 Mar 2009 21:08:57 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX18AQfInTMgA+dGI1F0VOQT/dzQcNFrYjnoQv2WqHI mUcK+8829aQ8vp Received: by mt-computer.local (Postfix, from userid 502) id 4F792C69A31; Wed, 4 Mar 2009 21:08:54 +0100 (CET) From: Markus Triska To: Tassilo Horn Cc: 2548-done@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#2548: 23.0.60; doc-view: unexpected reuse of previously scaled image References: <87fxhult39.fsf@thinkpad.tsdh.de> Date: Wed, 04 Mar 2009 21:08:53 +0100 In-Reply-To: <87fxhult39.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Tue, 03 Mar 2009 12:54:34 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Tassilo Horn writes: > the resulution factor is at the default value again and doc-view > reconverts the doc using this default value x 0.95 or so. If caching of the scaled picture is desired, the resolution factor should be cached along with the image in my opinion, so that shrinking and enlarging work consistently across different runs of Emacs. From tassilo@member.fsf.org Wed Mar 4 12:43:25 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Mar 2009 20:43:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24KhNb1008405 for ; Wed, 4 Mar 2009 12:43:24 -0800 Received: from mail.gnu.org ([199.232.76.166]:59447 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lexw1-0004l6-LC for emacs-pretest-bug@gnu.org; Wed, 04 Mar 2009 15:43:21 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lexw1-0002dQ-9C for emacs-pretest-bug@gnu.org; Wed, 04 Mar 2009 15:43:21 -0500 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:33797) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lexw1-0002dI-1n for emacs-pretest-bug@gnu.org; Wed, 04 Mar 2009 15:43:21 -0500 Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 799D82DBDEF; Wed, 4 Mar 2009 15:41:21 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 04 Mar 2009 15:41:21 -0500 X-Sasl-enc: ENc2xSNhmY+Q0FRujbZ4RdLvHG8nsudROD3LdLPYYUsj 1236199280 Received: from thinkpad.tsdh.de (p54AF2902.dip0.t-ipconnect.de [84.175.41.2]) by mail.messagingengine.com (Postfix) with ESMTPA id D274B2DD3F; Wed, 4 Mar 2009 15:41:19 -0500 (EST) From: Tassilo Horn To: Markus Triska Cc: 2548-done@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#2548: 23.0.60; doc-view: unexpected reuse of previously scaled image In-Reply-To: (Markus Triska's message of "Wed, 04 Mar 2009 21:08:53 +0100") References: <87fxhult39.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Date: Wed, 04 Mar 2009 21:41:17 +0100 Message-ID: <87iqmpnhqq.fsf@thinkpad.tsdh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Markus Triska writes: >> the resulution factor is at the default value again and doc-view >> reconverts the doc using this default value x 0.95 or so. > > If caching of the scaled picture is desired, the resolution factor > should be cached along with the image in my opinion, so that shrinking > and enlarging work consistently across different runs of Emacs. I agree. I hope I can implement that at the weekend. Bye, Tassilo From tassilo@member.fsf.org Thu Mar 5 00:26:20 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Mar 2009 08:26:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n258QHmS026699 for ; Thu, 5 Mar 2009 00:26:18 -0800 Received: from mail.gnu.org ([199.232.76.166]:43225 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lf8uG-0000tC-Ez for emacs-pretest-bug@gnu.org; Thu, 05 Mar 2009 03:26:16 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lf8uE-0007PF-Gf for emacs-pretest-bug@gnu.org; Thu, 05 Mar 2009 03:26:16 -0500 Received: from mx20.gnu.org ([199.232.41.8]:44274) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lf8uE-0007P1-3p for emacs-pretest-bug@gnu.org; Thu, 05 Mar 2009 03:26:14 -0500 Received: from deliver.uni-koblenz.de ([141.26.64.15]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf8uD-0003dK-9X for emacs-pretest-bug@gnu.org; Thu, 05 Mar 2009 03:26:13 -0500 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 2E4DA789B38C; Thu, 5 Mar 2009 09:26:12 +0100 (CET) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05309-01; Thu, 5 Mar 2009 09:26:10 +0100 (CET) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Received: from thinkpad.tsdh.de (dhcp107.uni-koblenz.de [141.26.71.107]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 7B4F7789A6C6; Thu, 5 Mar 2009 09:26:08 +0100 (CET) From: Tassilo Horn To: 2548@debbugs.gnu.org Cc: Markus Triska , emacs-pretest-bug@gnu.org, 2548-done@debbugs.gnu.org Subject: Re: bug#2548: 23.0.60; doc-view: unexpected reuse of previously scaled image References: <87fxhult39.fsf@thinkpad.tsdh.de> Date: Thu, 05 Mar 2009 09:26:08 +0100 In-Reply-To: (Tassilo Horn's message of "Wed, 04 Mar 2009 21:41:17 +0100") Message-ID: <87bpsg9xzz.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Tassilo Horn writes: Hi Markus, >>> the resulution factor is at the default value again and doc-view >>> reconverts the doc using this default value x 0.95 or so. >> >> If caching of the scaled picture is desired, the resolution factor >> should be cached along with the image in my opinion, so that >> shrinking and enlarging work consistently across different runs of >> Emacs. > > I agree. I hope I can implement that at the weekend. It's in CVS now. I tested it briefly and it works fine for me. Please give it a try. Bye, Tassilo From unknown Mon Aug 18 11:07:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 02 Apr 2009 14:24:07 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator